diff --git a/ci4/app/Controllers/Tarifas/Tarifaencuadernacionlineashoras.php b/ci4/app/Controllers/Tarifas/Tarifaencuadernacionlineashoras.php old mode 100755 new mode 100644 diff --git a/ci4/app/Entities/Tarifas/TarifaEncuadernacionLineaHoras.php b/ci4/app/Entities/Tarifas/TarifaEncuadernacionLineaHoras.php old mode 100755 new mode 100644 diff --git a/ci4/app/Models/Tarifas/TarifaEncuadernacionLineaHorasModel.php b/ci4/app/Models/Tarifas/TarifaEncuadernacionLineaHorasModel.php old mode 100755 new mode 100644 diff --git a/ci4/app/Views/themes/backend/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php b/ci4/app/Views/themes/backend/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php index 12d225b4..6ceaa662 100755 --- a/ci4/app/Views/themes/backend/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php +++ b/ci4/app/Views/themes/backend/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php @@ -221,8 +221,7 @@ method: 'POST', headers: {'X-Requested-With': 'XMLHttpRequest'}, success:function(response){ - - token=JSON.parse(response).; + token = response.; yeniden(token); theTable3.clearPipeline(); @@ -249,7 +248,7 @@ headers: {'X-Requested-With': 'XMLHttpRequest'}, success:function(response){ - token=JSON.parse(response).; + token=response.; yeniden(token); theTable3.clearPipeline(); diff --git a/httpdocs/themes/vuexy/img/illustrations/add-new-roles.png b/httpdocs/themes/vuexy/img/illustrations/add-new-roles.png new file mode 100755 index 00000000..27a2b922 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/add-new-roles.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-forgot-password-illustration-dark.png b/httpdocs/themes/vuexy/img/illustrations/auth-forgot-password-illustration-dark.png new file mode 100755 index 00000000..a2575d4e Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-forgot-password-illustration-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-forgot-password-illustration-light.png b/httpdocs/themes/vuexy/img/illustrations/auth-forgot-password-illustration-light.png new file mode 100755 index 00000000..eec75940 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-forgot-password-illustration-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-login-illustration-dark.png b/httpdocs/themes/vuexy/img/illustrations/auth-login-illustration-dark.png new file mode 100755 index 00000000..edde615d Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-login-illustration-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-login-illustration-light.png b/httpdocs/themes/vuexy/img/illustrations/auth-login-illustration-light.png new file mode 100755 index 00000000..3a071d9f Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-login-illustration-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-register-illustration-dark.png b/httpdocs/themes/vuexy/img/illustrations/auth-register-illustration-dark.png new file mode 100755 index 00000000..50c6584f Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-register-illustration-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-register-illustration-light.png b/httpdocs/themes/vuexy/img/illustrations/auth-register-illustration-light.png new file mode 100755 index 00000000..7582ed25 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-register-illustration-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-register-multisteps-illustration.png b/httpdocs/themes/vuexy/img/illustrations/auth-register-multisteps-illustration.png new file mode 100755 index 00000000..4865d1db Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-register-multisteps-illustration.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-reset-password-illustration-dark.png b/httpdocs/themes/vuexy/img/illustrations/auth-reset-password-illustration-dark.png new file mode 100755 index 00000000..5032f94e Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-reset-password-illustration-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-reset-password-illustration-light.png b/httpdocs/themes/vuexy/img/illustrations/auth-reset-password-illustration-light.png new file mode 100755 index 00000000..56528fff Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-reset-password-illustration-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-two-step-illustration-dark.png b/httpdocs/themes/vuexy/img/illustrations/auth-two-step-illustration-dark.png new file mode 100755 index 00000000..59bc7457 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-two-step-illustration-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-two-step-illustration-light.png b/httpdocs/themes/vuexy/img/illustrations/auth-two-step-illustration-light.png new file mode 100755 index 00000000..10e4a57c Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-two-step-illustration-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-verify-email-illustration-dark.png b/httpdocs/themes/vuexy/img/illustrations/auth-verify-email-illustration-dark.png new file mode 100755 index 00000000..8e93590b Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-verify-email-illustration-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/auth-verify-email-illustration-light.png b/httpdocs/themes/vuexy/img/illustrations/auth-verify-email-illustration-light.png new file mode 100755 index 00000000..e428b984 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/auth-verify-email-illustration-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/bg-shape-image-dark.png b/httpdocs/themes/vuexy/img/illustrations/bg-shape-image-dark.png new file mode 100755 index 00000000..ad3a0500 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/bg-shape-image-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/bg-shape-image-light.png b/httpdocs/themes/vuexy/img/illustrations/bg-shape-image-light.png new file mode 100755 index 00000000..c18d34e7 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/bg-shape-image-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/boy-verify-email-dark.png b/httpdocs/themes/vuexy/img/illustrations/boy-verify-email-dark.png new file mode 100755 index 00000000..a468bcda Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/boy-verify-email-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/boy-verify-email-light.png b/httpdocs/themes/vuexy/img/illustrations/boy-verify-email-light.png new file mode 100755 index 00000000..6090dee9 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/boy-verify-email-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/boy-with-laptop-dark.png b/httpdocs/themes/vuexy/img/illustrations/boy-with-laptop-dark.png new file mode 100755 index 00000000..799bb36c Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/boy-with-laptop-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/boy-with-laptop-light.png b/httpdocs/themes/vuexy/img/illustrations/boy-with-laptop-light.png new file mode 100755 index 00000000..df99e9ea Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/boy-with-laptop-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/boy-with-rocket-dark.png b/httpdocs/themes/vuexy/img/illustrations/boy-with-rocket-dark.png new file mode 100755 index 00000000..2d22fe36 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/boy-with-rocket-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/boy-with-rocket-light.png b/httpdocs/themes/vuexy/img/illustrations/boy-with-rocket-light.png new file mode 100755 index 00000000..734b424e Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/boy-with-rocket-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/card-advance-sale.png b/httpdocs/themes/vuexy/img/illustrations/card-advance-sale.png new file mode 100755 index 00000000..be81dc69 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/card-advance-sale.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-1.png b/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-1.png new file mode 100755 index 00000000..778f20bf Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-1.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-2.png b/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-2.png new file mode 100755 index 00000000..0e3be496 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-2.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-3.png b/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-3.png new file mode 100755 index 00000000..ec8d98a4 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/card-website-analytics-3.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-doing-yoga-dark.png b/httpdocs/themes/vuexy/img/illustrations/girl-doing-yoga-dark.png new file mode 100755 index 00000000..3ba779ca Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-doing-yoga-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-doing-yoga-light.png b/httpdocs/themes/vuexy/img/illustrations/girl-doing-yoga-light.png new file mode 100755 index 00000000..32efea28 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-doing-yoga-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-sitting-with-laptop.png b/httpdocs/themes/vuexy/img/illustrations/girl-sitting-with-laptop.png new file mode 100755 index 00000000..5123417e Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-sitting-with-laptop.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-unlock-password-dark.png b/httpdocs/themes/vuexy/img/illustrations/girl-unlock-password-dark.png new file mode 100755 index 00000000..24bd7143 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-unlock-password-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-unlock-password-light.png b/httpdocs/themes/vuexy/img/illustrations/girl-unlock-password-light.png new file mode 100755 index 00000000..18f4b274 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-unlock-password-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-verify-password-dark.png b/httpdocs/themes/vuexy/img/illustrations/girl-verify-password-dark.png new file mode 100755 index 00000000..467410c2 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-verify-password-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-verify-password-light.png b/httpdocs/themes/vuexy/img/illustrations/girl-verify-password-light.png new file mode 100755 index 00000000..001d1496 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-verify-password-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop-dark.png b/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop-dark.png new file mode 100755 index 00000000..b29682e2 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop-light.png b/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop-light.png new file mode 100755 index 00000000..836bd4b4 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop-light.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop.png b/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop.png new file mode 100755 index 00000000..bd339778 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/girl-with-laptop.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/page-misc-error.png b/httpdocs/themes/vuexy/img/illustrations/page-misc-error.png new file mode 100755 index 00000000..a8d2c4fd Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/page-misc-error.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/page-misc-launching-soon.png b/httpdocs/themes/vuexy/img/illustrations/page-misc-launching-soon.png new file mode 100755 index 00000000..29da9eb5 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/page-misc-launching-soon.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/page-misc-under-maintenance.png b/httpdocs/themes/vuexy/img/illustrations/page-misc-under-maintenance.png new file mode 100755 index 00000000..02547d82 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/page-misc-under-maintenance.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/page-misc-you-are-not-authorized.png b/httpdocs/themes/vuexy/img/illustrations/page-misc-you-are-not-authorized.png new file mode 100755 index 00000000..d1ea59d2 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/page-misc-you-are-not-authorized.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/page-pricing-basic.png b/httpdocs/themes/vuexy/img/illustrations/page-pricing-basic.png new file mode 100755 index 00000000..6e83817f Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/page-pricing-basic.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/page-pricing-enterprise.png b/httpdocs/themes/vuexy/img/illustrations/page-pricing-enterprise.png new file mode 100755 index 00000000..7295012e Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/page-pricing-enterprise.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/page-pricing-standard.png b/httpdocs/themes/vuexy/img/illustrations/page-pricing-standard.png new file mode 100755 index 00000000..9e8c0ac9 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/page-pricing-standard.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-confirm.png b/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-confirm.png new file mode 100755 index 00000000..8d7100fd Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-confirm.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-girl-with-laptop-dark.png b/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-girl-with-laptop-dark.png new file mode 100755 index 00000000..79fa2664 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-girl-with-laptop-dark.png differ diff --git a/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-girl-with-laptop-light.png b/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-girl-with-laptop-light.png new file mode 100755 index 00000000..79fa2664 Binary files /dev/null and b/httpdocs/themes/vuexy/img/illustrations/wizard-create-deal-girl-with-laptop-light.png differ diff --git a/httpdocs/themes/vuexy/js/app-access-permission.js b/httpdocs/themes/vuexy/js/app-access-permission.js new file mode 100755 index 00000000..f1735e15 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-access-permission.js @@ -0,0 +1,195 @@ +/** + * App user list (jquery) + */ + +'use strict'; + +$(function () { + var dataTablePermissions = $('.datatables-permissions'), + dt_permission, + userList = 'app-user-list.html'; + + // Users List datatable + if (dataTablePermissions.length) { + dt_permission = dataTablePermissions.DataTable({ + ajax: assetsPath + 'json/permissions-list.json', // JSON file to add data + columns: [ + // columns according to JSON + { data: '' }, + { data: 'id' }, + { data: 'name' }, + { data: 'assigned_to' }, + { data: 'created_date' }, + { data: '' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + orderable: false, + searchable: false, + responsivePriority: 2, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + targets: 1, + searchable: false, + visible: false + }, + { + // Name + targets: 2, + render: function (data, type, full, meta) { + var $name = full['name']; + return '' + $name + ''; + } + }, + { + // User Role + targets: 3, + orderable: false, + render: function (data, type, full, meta) { + var $assignedTo = full['assigned_to'], + $output = ''; + var roleBadgeObj = { + Admin: 'Administrator', + Manager: 'Manager', + Users: 'Users', + Support: 'Support', + Restricted: + 'Restricted User' + }; + for (var i = 0; i < $assignedTo.length; i++) { + var val = $assignedTo[i]; + $output += roleBadgeObj[val]; + } + return '' + $output + ''; + } + }, + { + // remove ordering from Name + targets: 4, + orderable: false, + render: function (data, type, full, meta) { + var $date = full['created_date']; + return '' + $date + ''; + } + }, + { + // Actions + targets: -1, + searchable: false, + title: 'Actions', + orderable: false, + render: function (data, type, full, meta) { + return ( + '' + + '' + ); + } + } + ], + order: [[1, 'asc']], + dom: + '<"row mx-1"' + + '<"col-sm-12 col-md-3" l>' + + '<"col-sm-12 col-md-9"<"dt-action-buttons text-xl-end text-lg-start text-md-end text-start d-flex align-items-center justify-content-md-end justify-content-center flex-wrap me-1"<"me-3"f>B>>' + + '>t' + + '<"row mx-2"' + + '<"col-sm-12 col-md-6"i>' + + '<"col-sm-12 col-md-6"p>' + + '>', + language: { + sLengthMenu: 'Show _MENU_', + search: 'Search', + searchPlaceholder: 'Search..' + }, + // Buttons with Dropdown + buttons: [ + { + text: 'Add Permission', + className: 'add-new btn btn-primary mb-3 mb-md-0', + attr: { + 'data-bs-toggle': 'modal', + 'data-bs-target': '#addPermissionModal' + }, + init: function (api, node, config) { + $(node).removeClass('btn-secondary'); + } + } + ], + // For responsive popup + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + '' + + col.title + + ':' + + ' ' + + '' + + col.data + + '' + + '' + : ''; + }).join(''); + + return data ? $('').append(data) : false; + } + } + }, + initComplete: function () { + // Adding role filter once table initialized + this.api() + .columns(3) + .every(function () { + var column = this; + var select = $( + '' + ) + .appendTo('.user_role') + .on('change', function () { + var val = $.fn.dataTable.util.escapeRegex($(this).val()); + column.search(val ? '^' + val + '$' : '', true, false).draw(); + }); + + column + .data() + .unique() + .sort() + .each(function (d, j) { + select.append(''); + }); + }); + } + }); + } + + // Delete Record + $('.datatables-permissions tbody').on('click', '.delete-record', function () { + dt_permission.row($(this).parents('tr')).remove().draw(); + }); + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +}); diff --git a/httpdocs/themes/vuexy/js/app-access-roles.js b/httpdocs/themes/vuexy/js/app-access-roles.js new file mode 100755 index 00000000..d55a6734 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-access-roles.js @@ -0,0 +1,258 @@ +/** + * App user list + */ + +'use strict'; + +// Datatable (jquery) +$(function () { + var dtUserTable = $('.datatables-users'), + statusObj = { + 1: { title: 'Pending', class: 'bg-label-warning' }, + 2: { title: 'Active', class: 'bg-label-success' }, + 3: { title: 'Inactive', class: 'bg-label-secondary' } + }; + + var userView = 'app-user-view-account.html'; + + // Users List datatable + if (dtUserTable.length) { + var dtUser = dtUserTable.DataTable({ + ajax: assetsPath + 'json/user-list.json', // JSON file to add data + columns: [ + // columns according to JSON + { data: '' }, + { data: 'full_name' }, + { data: 'role' }, + { data: 'current_plan' }, + { data: 'billing' }, + { data: 'status' }, + { data: '' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + orderable: false, + searchable: false, + responsivePriority: 2, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // User full name and email + targets: 1, + responsivePriority: 4, + render: function (data, type, full, meta) { + var $name = full['full_name'], + $email = full['email'], + $image = full['avatar']; + if ($image) { + // For Avatar image + var $output = + 'Avatar'; + } else { + // For Avatar badge + var stateNum = Math.floor(Math.random() * 6); + var states = ['success', 'danger', 'warning', 'info', 'primary', 'secondary']; + var $state = states[stateNum], + $name = full['full_name'], + $initials = $name.match(/\b\w/g) || []; + $initials = (($initials.shift() || '') + ($initials.pop() || '')).toUpperCase(); + $output = '' + $initials + ''; + } + // Creates full output for row + var $row_output = + '
' + + '
' + + '
' + + $output + + '
' + + '
' + + '
' + + '' + + $name + + '' + + '@' + + $email + + '' + + '
' + + '
'; + return $row_output; + } + }, + { + // User Role + targets: 2, + render: function (data, type, full, meta) { + var $role = full['role']; + var roleBadgeObj = { + Subscriber: + '', + Author: + '', + Maintainer: + '', + Editor: + '', + Admin: + '' + }; + return "" + roleBadgeObj[$role] + $role + ''; + } + }, + { + // Plans + targets: 3, + render: function (data, type, full, meta) { + var $plan = full['current_plan']; + + return '' + $plan + ''; + } + }, + { + // User Status + targets: 5, + render: function (data, type, full, meta) { + var $status = full['status']; + + return ( + '' + + statusObj[$status].title + + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + searchable: false, + orderable: false, + render: function (data, type, full, meta) { + return ( + '
' + + '' + + '' + + '' + + '' + + '
' + ); + } + } + ], + order: [[1, 'desc']], + dom: + '<"row mx-2"' + + '<"col-sm-12 col-md-4 col-lg-6" l>' + + '<"col-sm-12 col-md-8 col-lg-6"<"dt-action-buttons text-xl-end text-lg-start text-md-end text-start d-flex align-items-center justify-content-md-end justify-content-center align-items-center flex-sm-nowrap flex-wrap me-1"<"me-3"f><"user_role w-px-200 pb-3 pb-sm-0">>>' + + '>t' + + '<"row mx-2"' + + '<"col-sm-12 col-md-6"i>' + + '<"col-sm-12 col-md-6"p>' + + '>', + language: { + sLengthMenu: 'Show _MENU_', + search: 'Search', + searchPlaceholder: 'Search..' + }, + // For responsive popup + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
' + + col.title + + ':' + + '' + + col.data + + '
').append(data) : false; + } + } + }, + initComplete: function () { + // Adding role filter once table initialized + this.api() + .columns(2) + .every(function () { + var column = this; + var select = $( + '' + ) + .appendTo('.user_role') + .on('change', function () { + var val = $.fn.dataTable.util.escapeRegex($(this).val()); + column.search(val ? '^' + val + '$' : '', true, false).draw(); + }); + + column + .data() + .unique() + .sort() + .each(function (d, j) { + select.append(''); + }); + }); + } + }); + } + // Delete Record + $('.datatables-users tbody').on('click', '.delete-record', function () { + dtUser.row($(this).parents('tr')).remove().draw(); + }); + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +}); + +(function () { + // On edit role click, update text + var roleEditList = document.querySelectorAll('.role-edit-modal'), + roleAdd = document.querySelector('.add-new-role'), + roleTitle = document.querySelector('.role-title'); + + roleAdd.onclick = function () { + roleTitle.innerHTML = 'Add New Role'; // reset text + }; + if (roleEditList) { + roleEditList.forEach(function (roleEditEl) { + roleEditEl.onclick = function () { + roleTitle.innerHTML = 'Edit Role'; // reset text + }; + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/app-calendar-events.js b/httpdocs/themes/vuexy/js/app-calendar-events.js new file mode 100755 index 00000000..83781e7a --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-calendar-events.js @@ -0,0 +1,123 @@ +/** + * App Calendar Events + */ + +'use strict'; + +let date = new Date(); +let nextDay = new Date(new Date().getTime() + 24 * 60 * 60 * 1000); +// prettier-ignore +let nextMonth = date.getMonth() === 11 ? new Date(date.getFullYear() + 1, 0, 1) : new Date(date.getFullYear(), date.getMonth() + 1, 1); +// prettier-ignore +let prevMonth = date.getMonth() === 11 ? new Date(date.getFullYear() - 1, 0, 1) : new Date(date.getFullYear(), date.getMonth() - 1, 1); + +let events = [ + { + id: 1, + url: '', + title: 'Design Review', + start: date, + end: nextDay, + allDay: false, + extendedProps: { + calendar: 'Business' + } + }, + { + id: 2, + url: '', + title: 'Meeting With Client', + start: new Date(date.getFullYear(), date.getMonth() + 1, -11), + end: new Date(date.getFullYear(), date.getMonth() + 1, -10), + allDay: true, + extendedProps: { + calendar: 'Business' + } + }, + { + id: 3, + url: '', + title: 'Family Trip', + allDay: true, + start: new Date(date.getFullYear(), date.getMonth() + 1, -9), + end: new Date(date.getFullYear(), date.getMonth() + 1, -7), + extendedProps: { + calendar: 'Holiday' + } + }, + { + id: 4, + url: '', + title: "Doctor's Appointment", + start: new Date(date.getFullYear(), date.getMonth() + 1, -11), + end: new Date(date.getFullYear(), date.getMonth() + 1, -10), + extendedProps: { + calendar: 'Personal' + } + }, + { + id: 5, + url: '', + title: 'Dart Game?', + start: new Date(date.getFullYear(), date.getMonth() + 1, -13), + end: new Date(date.getFullYear(), date.getMonth() + 1, -12), + allDay: true, + extendedProps: { + calendar: 'ETC' + } + }, + { + id: 6, + url: '', + title: 'Meditation', + start: new Date(date.getFullYear(), date.getMonth() + 1, -13), + end: new Date(date.getFullYear(), date.getMonth() + 1, -12), + allDay: true, + extendedProps: { + calendar: 'Personal' + } + }, + { + id: 7, + url: '', + title: 'Dinner', + start: new Date(date.getFullYear(), date.getMonth() + 1, -13), + end: new Date(date.getFullYear(), date.getMonth() + 1, -12), + extendedProps: { + calendar: 'Family' + } + }, + { + id: 8, + url: '', + title: 'Product Review', + start: new Date(date.getFullYear(), date.getMonth() + 1, -13), + end: new Date(date.getFullYear(), date.getMonth() + 1, -12), + allDay: true, + extendedProps: { + calendar: 'Business' + } + }, + { + id: 9, + url: '', + title: 'Monthly Meeting', + start: nextMonth, + end: nextMonth, + allDay: true, + extendedProps: { + calendar: 'Business' + } + }, + { + id: 10, + url: '', + title: 'Monthly Checkup', + start: prevMonth, + end: prevMonth, + allDay: true, + extendedProps: { + calendar: 'Personal' + } + } +]; diff --git a/httpdocs/themes/vuexy/js/app-calendar.js b/httpdocs/themes/vuexy/js/app-calendar.js new file mode 100755 index 00000000..f98c7034 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-calendar.js @@ -0,0 +1,571 @@ +/** + * App Calendar + */ + +/** + * ! If both start and end dates are same Full calendar will nullify the end date value. + * ! Full calendar will end the event on a day before at 12:00:00AM thus, event won't extend to the end date. + * ! We are getting events from a separate file named app-calendar-events.js. You can add or remove events from there. + * + **/ + +'use strict'; + +let direction = 'ltr'; + +if (isRtl) { + direction = 'rtl'; +} + +document.addEventListener('DOMContentLoaded', function () { + (function () { + const calendarEl = document.getElementById('calendar'), + appCalendarSidebar = document.querySelector('.app-calendar-sidebar'), + addEventSidebar = document.getElementById('addEventSidebar'), + appOverlay = document.querySelector('.app-overlay'), + calendarsColor = { + Business: 'primary', + Holiday: 'success', + Personal: 'danger', + Family: 'warning', + ETC: 'info' + }, + offcanvasTitle = document.querySelector('.offcanvas-title'), + btnToggleSidebar = document.querySelector('.btn-toggle-sidebar'), + btnSubmit = document.querySelector('button[type="submit"]'), + btnDeleteEvent = document.querySelector('.btn-delete-event'), + btnCancel = document.querySelector('.btn-cancel'), + eventTitle = document.querySelector('#eventTitle'), + eventStartDate = document.querySelector('#eventStartDate'), + eventEndDate = document.querySelector('#eventEndDate'), + eventUrl = document.querySelector('#eventURL'), + eventLabel = $('#eventLabel'), // ! Using jquery vars due to select2 jQuery dependency + eventGuests = $('#eventGuests'), // ! Using jquery vars due to select2 jQuery dependency + eventLocation = document.querySelector('#eventLocation'), + eventDescription = document.querySelector('#eventDescription'), + allDaySwitch = document.querySelector('.allDay-switch'), + selectAll = document.querySelector('.select-all'), + filterInput = [].slice.call(document.querySelectorAll('.input-filter')), + inlineCalendar = document.querySelector('.inline-calendar'); + + let eventToUpdate, + currentEvents = events, // Assign app-calendar-events.js file events (assume events from API) to currentEvents (browser store/object) to manage and update calender events + isFormValid = false, + inlineCalInstance; + + // Init event Offcanvas + const bsAddEventSidebar = new bootstrap.Offcanvas(addEventSidebar); + + //! TODO: Update Event label and guest code to JS once select removes jQuery dependency + // Event Label (select2) + if (eventLabel.length) { + function renderBadges(option) { + if (!option.id) { + return option.text; + } + var $badge = + " " + '' + option.text; + + return $badge; + } + eventLabel.wrap('
').select2({ + placeholder: 'Select value', + dropdownParent: eventLabel.parent(), + templateResult: renderBadges, + templateSelection: renderBadges, + minimumResultsForSearch: -1, + escapeMarkup: function (es) { + return es; + } + }); + } + + // Event Guests (select2) + if (eventGuests.length) { + function renderGuestAvatar(option) { + if (!option.id) { + return option.text; + } + var $avatar = + "
" + + "
" + + "avatar" + + '
' + + option.text + + '
'; + + return $avatar; + } + eventGuests.wrap('
').select2({ + placeholder: 'Select value', + dropdownParent: eventGuests.parent(), + closeOnSelect: false, + templateResult: renderGuestAvatar, + templateSelection: renderGuestAvatar, + escapeMarkup: function (es) { + return es; + } + }); + } + + // Event start (flatpicker) + if (eventStartDate) { + var start = eventStartDate.flatpickr({ + enableTime: true, + altFormat: 'Y-m-dTH:i:S', + onReady: function (selectedDates, dateStr, instance) { + if (instance.isMobile) { + instance.mobileInput.setAttribute('step', null); + } + } + }); + } + + // Event end (flatpicker) + if (eventEndDate) { + var end = eventEndDate.flatpickr({ + enableTime: true, + altFormat: 'Y-m-dTH:i:S', + onReady: function (selectedDates, dateStr, instance) { + if (instance.isMobile) { + instance.mobileInput.setAttribute('step', null); + } + } + }); + } + + // Inline sidebar calendar (flatpicker) + if (inlineCalendar) { + inlineCalInstance = inlineCalendar.flatpickr({ + monthSelectorType: 'static', + inline: true + }); + } + + // Event click function + function eventClick(info) { + eventToUpdate = info.event; + if (eventToUpdate.url) { + info.jsEvent.preventDefault(); + window.open(eventToUpdate.url, '_blank'); + } + bsAddEventSidebar.show(); + // For update event set offcanvas title text: Update Event + if (offcanvasTitle) { + offcanvasTitle.innerHTML = 'Update Event'; + } + btnSubmit.innerHTML = 'Update'; + btnSubmit.classList.add('btn-update-event'); + btnSubmit.classList.remove('btn-add-event'); + btnDeleteEvent.classList.remove('d-none'); + + eventTitle.value = eventToUpdate.title; + start.setDate(eventToUpdate.start, true, 'Y-m-d'); + eventToUpdate.allDay === true ? (allDaySwitch.checked = true) : (allDaySwitch.checked = false); + eventToUpdate.end !== null + ? end.setDate(eventToUpdate.end, true, 'Y-m-d') + : end.setDate(eventToUpdate.start, true, 'Y-m-d'); + eventLabel.val(eventToUpdate.extendedProps.calendar).trigger('change'); + eventToUpdate.extendedProps.location !== undefined + ? (eventLocation.value = eventToUpdate.extendedProps.location) + : null; + eventToUpdate.extendedProps.guests !== undefined + ? eventGuests.val(eventToUpdate.extendedProps.guests).trigger('change') + : null; + eventToUpdate.extendedProps.description !== undefined + ? (eventDescription.value = eventToUpdate.extendedProps.description) + : null; + + // // Call removeEvent function + // btnDeleteEvent.addEventListener('click', e => { + // removeEvent(parseInt(eventToUpdate.id)); + // // eventToUpdate.remove(); + // bsAddEventSidebar.hide(); + // }); + } + + // Modify sidebar toggler + function modifyToggler() { + const fcSidebarToggleButton = document.querySelector('.fc-sidebarToggle-button'); + fcSidebarToggleButton.classList.remove('fc-button-primary'); + fcSidebarToggleButton.classList.add('d-lg-none', 'd-inline-block', 'ps-0'); + while (fcSidebarToggleButton.firstChild) { + fcSidebarToggleButton.firstChild.remove(); + } + fcSidebarToggleButton.setAttribute('data-bs-toggle', 'sidebar'); + fcSidebarToggleButton.setAttribute('data-overlay', ''); + fcSidebarToggleButton.setAttribute('data-target', '#app-calendar-sidebar'); + fcSidebarToggleButton.insertAdjacentHTML('beforeend', ''); + } + + // Filter events by calender + function selectedCalendars() { + let selected = [], + filterInputChecked = [].slice.call(document.querySelectorAll('.input-filter:checked')); + + filterInputChecked.forEach(item => { + selected.push(item.getAttribute('data-value')); + }); + + return selected; + } + + // -------------------------------------------------------------------------------------------------- + // AXIOS: fetchEvents + // * This will be called by fullCalendar to fetch events. Also this can be used to refetch events. + // -------------------------------------------------------------------------------------------------- + function fetchEvents(info, successCallback) { + // Fetch Events from API endpoint reference + /* $.ajax( + { + url: '../../../app-assets/data/app-calendar-events.js', + type: 'GET', + success: function (result) { + // Get requested calendars as Array + var calendars = selectedCalendars(); + + return [result.events.filter(event => calendars.includes(event.extendedProps.calendar))]; + }, + error: function (error) { + console.log(error); + } + } + ); */ + + let calendars = selectedCalendars(); + // We are reading event object from app-calendar-events.js file directly by including that file above app-calendar file. + // You should make an API call, look into above commented API call for reference + let selectedEvents = currentEvents.filter(function (event) { + // console.log(event.extendedProps.calendar.toLowerCase()); + return calendars.includes(event.extendedProps.calendar.toLowerCase()); + }); + // if (selectedEvents.length > 0) { + successCallback(selectedEvents); + // } + } + + // Init FullCalendar + // ------------------------------------------------ + let calendar = new Calendar(calendarEl, { + initialView: 'dayGridMonth', + events: fetchEvents, + plugins: [dayGridPlugin, interactionPlugin, listPlugin, timegridPlugin], + editable: true, + dragScroll: true, + dayMaxEvents: 2, + eventResizableFromStart: true, + customButtons: { + sidebarToggle: { + text: 'Sidebar' + } + }, + headerToolbar: { + start: 'sidebarToggle, prev,next, title', + end: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth' + }, + direction: direction, + initialDate: new Date(), + navLinks: true, // can click day/week names to navigate views + eventClassNames: function ({ event: calendarEvent }) { + const colorName = calendarsColor[calendarEvent._def.extendedProps.calendar]; + // Background Color + return ['fc-event-' + colorName]; + }, + dateClick: function (info) { + let date = moment(info.date).format('YYYY-MM-DD'); + resetValues(); + bsAddEventSidebar.show(); + + // For new event set offcanvas title text: Add Event + if (offcanvasTitle) { + offcanvasTitle.innerHTML = 'Add Event'; + } + btnSubmit.innerHTML = 'Add'; + btnSubmit.classList.remove('btn-update-event'); + btnSubmit.classList.add('btn-add-event'); + btnDeleteEvent.classList.add('d-none'); + eventStartDate.value = date; + eventEndDate.value = date; + }, + eventClick: function (info) { + eventClick(info); + }, + datesSet: function () { + modifyToggler(); + }, + viewDidMount: function () { + modifyToggler(); + } + }); + + // Render calendar + calendar.render(); + // Modify sidebar toggler + modifyToggler(); + + const eventForm = document.getElementById('eventForm'); + const fv = FormValidation.formValidation(eventForm, { + fields: { + eventTitle: { + validators: { + notEmpty: { + message: 'Please enter event title ' + } + } + }, + eventStartDate: { + validators: { + notEmpty: { + message: 'Please enter start date ' + } + } + }, + eventEndDate: { + validators: { + notEmpty: { + message: 'Please enter end date ' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + eleValidClass: '', + rowSelector: function (field, ele) { + // field is the field name & ele is the field element + return '.mb-3'; + } + }), + submitButton: new FormValidation.plugins.SubmitButton(), + // Submit the form when all fields are valid + // defaultSubmit: new FormValidation.plugins.DefaultSubmit(), + autoFocus: new FormValidation.plugins.AutoFocus() + } + }) + .on('core.form.valid', function () { + // Jump to the next step when all fields in the current step are valid + isFormValid = true; + }) + .on('core.form.invalid', function () { + // if fields are invalid + isFormValid = false; + }); + + // Sidebar Toggle Btn + if (btnToggleSidebar) { + btnToggleSidebar.addEventListener('click', e => { + btnCancel.classList.remove('d-none'); + }); + } + + // Add Event + // ------------------------------------------------ + function addEvent(eventData) { + // ? Add new event data to current events object and refetch it to display on calender + // ? You can write below code to AJAX call success response + + currentEvents.push(eventData); + calendar.refetchEvents(); + + // ? To add event directly to calender (won't update currentEvents object) + // calendar.addEvent(eventData); + } + + // Update Event + // ------------------------------------------------ + function updateEvent(eventData) { + // ? Update existing event data to current events object and refetch it to display on calender + // ? You can write below code to AJAX call success response + eventData.id = parseInt(eventData.id); + currentEvents[currentEvents.findIndex(el => el.id === eventData.id)] = eventData; // Update event by id + calendar.refetchEvents(); + + // ? To update event directly to calender (won't update currentEvents object) + // let propsToUpdate = ['id', 'title', 'url']; + // let extendedPropsToUpdate = ['calendar', 'guests', 'location', 'description']; + + // updateEventInCalendar(eventData, propsToUpdate, extendedPropsToUpdate); + } + + // Remove Event + // ------------------------------------------------ + + function removeEvent(eventId) { + // ? Delete existing event data to current events object and refetch it to display on calender + // ? You can write below code to AJAX call success response + currentEvents = currentEvents.filter(function (event) { + return event.id != eventId; + }); + calendar.refetchEvents(); + + // ? To delete event directly to calender (won't update currentEvents object) + // removeEventInCalendar(eventId); + } + + // (Update Event In Calendar (UI Only) + // ------------------------------------------------ + const updateEventInCalendar = (updatedEventData, propsToUpdate, extendedPropsToUpdate) => { + const existingEvent = calendar.getEventById(updatedEventData.id); + + // --- Set event properties except date related ----- // + // ? Docs: https://fullcalendar.io/docs/Event-setProp + // dateRelatedProps => ['start', 'end', 'allDay'] + // eslint-disable-next-line no-plusplus + for (var index = 0; index < propsToUpdate.length; index++) { + var propName = propsToUpdate[index]; + existingEvent.setProp(propName, updatedEventData[propName]); + } + + // --- Set date related props ----- // + // ? Docs: https://fullcalendar.io/docs/Event-setDates + existingEvent.setDates(updatedEventData.start, updatedEventData.end, { + allDay: updatedEventData.allDay + }); + + // --- Set event's extendedProps ----- // + // ? Docs: https://fullcalendar.io/docs/Event-setExtendedProp + // eslint-disable-next-line no-plusplus + for (var index = 0; index < extendedPropsToUpdate.length; index++) { + var propName = extendedPropsToUpdate[index]; + existingEvent.setExtendedProp(propName, updatedEventData.extendedProps[propName]); + } + }; + + // Remove Event In Calendar (UI Only) + // ------------------------------------------------ + function removeEventInCalendar(eventId) { + calendar.getEventById(eventId).remove(); + } + + // Add new event + // ------------------------------------------------ + btnSubmit.addEventListener('click', e => { + if (btnSubmit.classList.contains('btn-add-event')) { + if (isFormValid) { + let newEvent = { + id: calendar.getEvents().length + 1, + title: eventTitle.value, + start: eventStartDate.value, + end: eventEndDate.value, + startStr: eventStartDate.value, + endStr: eventEndDate.value, + display: 'block', + extendedProps: { + location: eventLocation.value, + guests: eventGuests.val(), + calendar: eventLabel.val(), + description: eventDescription.value + } + }; + if (eventUrl.value) { + newEvent.url = eventUrl.value; + } + if (allDaySwitch.checked) { + newEvent.allDay = true; + } + addEvent(newEvent); + bsAddEventSidebar.hide(); + } + } else { + // Update event + // ------------------------------------------------ + if (isFormValid) { + let eventData = { + id: eventToUpdate.id, + title: eventTitle.value, + start: eventStartDate.value, + end: eventEndDate.value, + url: eventUrl.value, + extendedProps: { + location: eventLocation.value, + guests: eventGuests.val(), + calendar: eventLabel.val(), + description: eventDescription.value + }, + display: 'block', + allDay: allDaySwitch.checked ? true : false + }; + + updateEvent(eventData); + bsAddEventSidebar.hide(); + } + } + }); + + // Call removeEvent function + btnDeleteEvent.addEventListener('click', e => { + removeEvent(parseInt(eventToUpdate.id)); + // eventToUpdate.remove(); + bsAddEventSidebar.hide(); + }); + + // Reset event form inputs values + // ------------------------------------------------ + function resetValues() { + eventEndDate.value = ''; + eventUrl.value = ''; + eventStartDate.value = ''; + eventTitle.value = ''; + eventLocation.value = ''; + allDaySwitch.checked = false; + eventGuests.val('').trigger('change'); + eventDescription.value = ''; + } + + // When modal hides reset input values + addEventSidebar.addEventListener('hidden.bs.offcanvas', function () { + resetValues(); + }); + + // Hide left sidebar if the right sidebar is open + btnToggleSidebar.addEventListener('click', e => { + if (offcanvasTitle) { + offcanvasTitle.innerHTML = 'Add Event'; + } + btnSubmit.innerHTML = 'Add'; + btnSubmit.classList.remove('btn-update-event'); + btnSubmit.classList.add('btn-add-event'); + btnDeleteEvent.classList.add('d-none'); + appCalendarSidebar.classList.remove('show'); + appOverlay.classList.remove('show'); + }); + + // Calender filter functionality + // ------------------------------------------------ + if (selectAll) { + selectAll.addEventListener('click', e => { + if (e.currentTarget.checked) { + document.querySelectorAll('.input-filter').forEach(c => (c.checked = 1)); + } else { + document.querySelectorAll('.input-filter').forEach(c => (c.checked = 0)); + } + calendar.refetchEvents(); + }); + } + + if (filterInput) { + filterInput.forEach(item => { + item.addEventListener('click', () => { + document.querySelectorAll('.input-filter:checked').length < document.querySelectorAll('.input-filter').length + ? (selectAll.checked = false) + : (selectAll.checked = true); + calendar.refetchEvents(); + }); + }); + } + + // Jump to date on sidebar(inline) calendar change + inlineCalInstance.config.onChange.push(function (date) { + calendar.changeView(calendar.view.type, moment(date[0]).format('YYYY-MM-DD')); + modifyToggler(); + appCalendarSidebar.classList.remove('show'); + appOverlay.classList.remove('show'); + }); + })(); +}); diff --git a/httpdocs/themes/vuexy/js/app-chat.js b/httpdocs/themes/vuexy/js/app-chat.js new file mode 100755 index 00000000..2249cbc6 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-chat.js @@ -0,0 +1,208 @@ +/** + * App Chat + */ + +'use strict'; + +document.addEventListener('DOMContentLoaded', function () { + (function () { + const chatContactsBody = document.querySelector('.app-chat-contacts .sidebar-body'), + chatContactListItems = [].slice.call( + document.querySelectorAll('.chat-contact-list-item:not(.chat-contact-list-item-title)') + ), + chatHistoryBody = document.querySelector('.chat-history-body'), + chatSidebarLeftBody = document.querySelector('.app-chat-sidebar-left .sidebar-body'), + chatSidebarRightBody = document.querySelector('.app-chat-sidebar-right .sidebar-body'), + chatUserStatus = [].slice.call(document.querySelectorAll(".form-check-input[name='chat-user-status']")), + chatSidebarLeftUserAbout = $('.chat-sidebar-left-user-about'), + formSendMessage = document.querySelector('.form-send-message'), + messageInput = document.querySelector('.message-input'), + searchInput = document.querySelector('.chat-search-input'), + speechToText = $('.speech-to-text'), // ! jQuery dependency for speech to text + userStatusObj = { + active: 'avatar-online', + offline: 'avatar-offline', + away: 'avatar-away', + busy: 'avatar-busy' + }; + + // Initialize PerfectScrollbar + // ------------------------------ + + // Chat contacts scrollbar + if (chatContactsBody) { + new PerfectScrollbar(chatContactsBody, { + wheelPropagation: false, + suppressScrollX: true + }); + } + + // Chat history scrollbar + if (chatHistoryBody) { + new PerfectScrollbar(chatHistoryBody, { + wheelPropagation: false, + suppressScrollX: true + }); + } + + // Sidebar left scrollbar + if (chatSidebarLeftBody) { + new PerfectScrollbar(chatSidebarLeftBody, { + wheelPropagation: false, + suppressScrollX: true + }); + } + + // Sidebar right scrollbar + if (chatSidebarRightBody) { + new PerfectScrollbar(chatSidebarRightBody, { + wheelPropagation: false, + suppressScrollX: true + }); + } + + // Scroll to bottom function + function scrollToBottom() { + chatHistoryBody.scrollTo(0, chatHistoryBody.scrollHeight); + } + scrollToBottom(); + + // User About Maxlength Init + if (chatSidebarLeftUserAbout.length) { + chatSidebarLeftUserAbout.maxlength({ + alwaysShow: true, + warningClass: 'label label-success bg-success text-white', + limitReachedClass: 'label label-danger', + separator: '/', + validate: true, + threshold: 120 + }); + } + + // Update user status + chatUserStatus.forEach(el => { + el.addEventListener('click', e => { + let chatLeftSidebarUserAvatar = document.querySelector('.chat-sidebar-left-user .avatar'), + value = e.currentTarget.value; + //Update status in left sidebar user avatar + chatLeftSidebarUserAvatar.removeAttribute('class'); + Helpers._addClass('avatar avatar-xl ' + userStatusObj[value] + '', chatLeftSidebarUserAvatar); + //Update status in contacts sidebar user avatar + let chatContactsUserAvatar = document.querySelector('.app-chat-contacts .avatar'); + chatContactsUserAvatar.removeAttribute('class'); + Helpers._addClass('flex-shrink-0 avatar ' + userStatusObj[value] + ' me-3', chatContactsUserAvatar); + }); + }); + + // Select chat or contact + chatContactListItems.forEach(chatContactListItem => { + // Bind click event to each chat contact list item + chatContactListItem.addEventListener('click', e => { + // Remove active class from chat contact list item + chatContactListItems.forEach(chatContactListItem => { + chatContactListItem.classList.remove('active'); + }); + // Add active class to current chat contact list item + e.currentTarget.classList.add('active'); + }); + }); + + // Filter Chats + if (searchInput) { + searchInput.addEventListener('keyup', e => { + let searchValue = e.currentTarget.value.toLowerCase(), + searchChatListItemsCount = 0, + searchContactListItemsCount = 0, + chatListItem0 = document.querySelector('.chat-list-item-0'), + contactListItem0 = document.querySelector('.contact-list-item-0'), + searchChatListItems = [].slice.call( + document.querySelectorAll('#chat-list li:not(.chat-contact-list-item-title)') + ), + searchContactListItems = [].slice.call( + document.querySelectorAll('#contact-list li:not(.chat-contact-list-item-title)') + ); + + // Search in chats + searchChatContacts(searchChatListItems, searchChatListItemsCount, searchValue, chatListItem0); + // Search in contacts + searchChatContacts(searchContactListItems, searchContactListItemsCount, searchValue, contactListItem0); + }); + } + + // Search chat and contacts function + function searchChatContacts(searchListItems, searchListItemsCount, searchValue, listItem0) { + searchListItems.forEach(searchListItem => { + let searchListItemText = searchListItem.textContent.toLowerCase(); + if (searchValue) { + if (-1 < searchListItemText.indexOf(searchValue)) { + searchListItem.classList.add('d-flex'); + searchListItem.classList.remove('d-none'); + searchListItemsCount++; + } else { + searchListItem.classList.add('d-none'); + } + } else { + searchListItem.classList.add('d-flex'); + searchListItem.classList.remove('d-none'); + searchListItemsCount++; + } + }); + // Display no search fount if searchListItemsCount == 0 + if (searchListItemsCount == 0) { + listItem0.classList.remove('d-none'); + } else { + listItem0.classList.add('d-none'); + } + } + + // Send Message + formSendMessage.addEventListener('submit', e => { + e.preventDefault(); + if (messageInput.value) { + // Create a div and add a class + let renderMsg = document.createElement('div'); + renderMsg.className = 'chat-message-text mt-2'; + renderMsg.innerHTML = '

' + messageInput.value + '

'; + document.querySelector('li:last-child .chat-message-wrapper').appendChild(renderMsg); + messageInput.value = ''; + scrollToBottom(); + } + }); + + // on click of chatHistoryHeaderMenu, Remove data-overlay attribute from chatSidebarLeftClose to resolve overlay overlapping issue for two sidebar + let chatHistoryHeaderMenu = document.querySelector(".chat-history-header [data-target='#app-chat-contacts']"), + chatSidebarLeftClose = document.querySelector('.app-chat-sidebar-left .close-sidebar'); + chatHistoryHeaderMenu.addEventListener('click', e => { + chatSidebarLeftClose.removeAttribute('data-overlay'); + }); + // } + + // Speech To Text + if (speechToText.length) { + var SpeechRecognition = SpeechRecognition || webkitSpeechRecognition; + if (SpeechRecognition !== undefined && SpeechRecognition !== null) { + var recognition = new SpeechRecognition(), + listening = false; + speechToText.on('click', function () { + const $this = $(this); + recognition.onspeechstart = function () { + listening = true; + }; + if (listening === false) { + recognition.start(); + } + recognition.onerror = function (event) { + listening = false; + }; + recognition.onresult = function (event) { + $this.closest('.form-send-message').find('.message-input').val(event.results[0][0].transcript); + }; + recognition.onspeechend = function (event) { + listening = false; + recognition.stop(); + }; + }); + } + } + })(); +}); diff --git a/httpdocs/themes/vuexy/js/app-email.js b/httpdocs/themes/vuexy/js/app-email.js new file mode 100755 index 00000000..e040439e --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-email.js @@ -0,0 +1,380 @@ +/** + * App Email + */ + +'use strict'; + +document.addEventListener('DOMContentLoaded', function () { + (function () { + const emailList = document.querySelector('.email-list'), + emailListItems = [].slice.call(document.querySelectorAll('.email-list-item')), + emailListItemInputs = [].slice.call(document.querySelectorAll('.email-list-item-input')), + emailView = document.querySelector('.app-email-view-content'), + emailFilters = document.querySelector('.email-filters'), + emailFilterByFolders = [].slice.call(document.querySelectorAll('.email-filter-folders li')), + emailEditor = document.querySelector('.email-editor'), + appEmailSidebar = document.querySelector('.app-email-sidebar'), + appOverlay = document.querySelector('.app-overlay'), + emailReplyEditor = document.querySelector('.email-reply-editor'), + bookmarkEmail = [].slice.call(document.querySelectorAll('.email-list-item-bookmark')), + selectAllEmails = document.getElementById('email-select-all'), + emailSearch = document.querySelector('.email-search-input'), + toggleCC = document.querySelector('.email-compose-toggle-cc'), + toggleBCC = document.querySelector('.email-compose-toggle-bcc'), + emailCompose = document.querySelector('.app-email-compose'), + emailListDelete = document.querySelector('.email-list-delete'), + emailListRead = document.querySelector('.email-list-read'), + refreshEmails = document.querySelector('.email-refresh'), + emailViewContainer = document.getElementById('app-email-view'), + emailFilterFolderLists = [].slice.call(document.querySelectorAll('.email-filter-folders li')), + emailListItemActions = [].slice.call(document.querySelectorAll('.email-list-item-actions li')); + + // Initialize PerfectScrollbar + // ------------------------------ + // Email list scrollbar + if (emailList) { + let emailListInstance = new PerfectScrollbar(emailList, { + wheelPropagation: false, + suppressScrollX: true + }); + } + + // Sidebar tags scrollbar + if (emailFilters) { + new PerfectScrollbar(emailFilters, { + wheelPropagation: false, + suppressScrollX: true + }); + } + + // Email view scrollbar + if (emailView) { + new PerfectScrollbar(emailView, { + wheelPropagation: false, + suppressScrollX: true + }); + } + + // Initialize Quill Editor + // ------------------------------ + if (emailEditor) { + new Quill('.email-editor', { + modules: { + toolbar: '.email-editor-toolbar' + }, + placeholder: 'Write your message... ', + theme: 'snow' + }); + } + + if (emailReplyEditor) { + new Quill('.email-reply-editor', { + modules: { + toolbar: '.email-reply-toolbar' + }, + placeholder: 'Write your message... ', + theme: 'snow' + }); + } + + // Bookmark email + if (bookmarkEmail) { + bookmarkEmail.forEach(emailItem => { + emailItem.addEventListener('click', e => { + let emailItem = e.currentTarget.parentNode.parentNode; + let starredAttr = emailItem.getAttribute('data-starred'); + e.stopPropagation(); + if (!starredAttr) { + emailItem.setAttribute('data-starred', 'true'); + } else { + emailItem.removeAttribute('data-starred'); + } + }); + }); + } + + // Select all + if (selectAllEmails) { + selectAllEmails.addEventListener('click', e => { + if (e.currentTarget.checked) { + emailListItemInputs.forEach(c => (c.checked = 1)); + } else { + emailListItemInputs.forEach(c => (c.checked = 0)); + } + }); + } + + // Select single email + if (emailListItemInputs) { + emailListItemInputs.forEach(emailListItemInput => { + emailListItemInput.addEventListener('click', e => { + e.stopPropagation(); + // Check input count to reset the indeterminate state + let emailListItemInputCount = 0; + emailListItemInputs.forEach(emailListItemInput => { + if (emailListItemInput.checked) { + emailListItemInputCount++; + } + }); + + if (emailListItemInputCount < emailListItemInputs.length) { + if (emailListItemInputCount == 0) { + selectAllEmails.indeterminate = false; + } else { + selectAllEmails.indeterminate = true; + } + } else { + if (emailListItemInputCount == emailListItemInputs.length) { + selectAllEmails.indeterminate = false; + selectAllEmails.checked = true; + } else { + selectAllEmails.indeterminate = false; + } + } + }); + }); + } + + // Search email based on searched text + if (emailSearch) { + emailSearch.addEventListener('keyup', e => { + let searchValue = e.currentTarget.value.toLowerCase(), + searchEmailListItems = {}, + selectedFolderFilter = document.querySelector('.email-filter-folders .active').getAttribute('data-target'); + + // Filter emails based on selected folders + if (selectedFolderFilter != 'inbox') { + searchEmailListItems = [].slice.call( + document.querySelectorAll('.email-list-item[data-' + selectedFolderFilter + '="true"]') + ); + } else { + searchEmailListItems = [].slice.call(document.querySelectorAll('.email-list-item')); + } + + // console.log(searchValue); + searchEmailListItems.forEach(searchEmailListItem => { + let searchEmailListItemText = searchEmailListItem.textContent.toLowerCase(); + if (searchValue) { + if (-1 < searchEmailListItemText.indexOf(searchValue)) { + searchEmailListItem.classList.add('d-block'); + } else { + searchEmailListItem.classList.add('d-none'); + } + } else { + searchEmailListItem.classList.remove('d-none'); + } + }); + }); + } + + // Filter based on folder type (Inbox, Sent, Draft etc...) + emailFilterByFolders.forEach(emailFilterByFolder => { + emailFilterByFolder.addEventListener('click', e => { + let currentTarget = e.currentTarget, + currentTargetData = currentTarget.getAttribute('data-target'); + + appEmailSidebar.classList.remove('show'); + appOverlay.classList.remove('show'); + + // Remove active class from each folder filters + Helpers._removeClass('active', emailFilterByFolders); + // Add active class to selected folder filters + currentTarget.classList.add('active'); + emailListItems.forEach(emailListItem => { + // If folder filter is Inbox + if (currentTargetData == 'inbox') { + emailListItem.classList.add('d-block'); + emailListItem.classList.remove('d-none'); + } else if (emailListItem.hasAttribute('data-' + currentTargetData)) { + emailListItem.classList.add('d-block'); + emailListItem.classList.remove('d-none'); + } else { + emailListItem.classList.add('d-none'); + emailListItem.classList.remove('d-block'); + } + }); + }); + }); + + // Toggle CC/BCC input + if (toggleBCC) { + toggleBCC.addEventListener('click', e => { + Helpers._toggleClass(document.querySelector('.email-compose-bcc'), 'd-block', 'd-none'); + }); + } + + if (toggleCC) { + toggleCC.addEventListener('click', e => { + Helpers._toggleClass(document.querySelector('.email-compose-cc'), 'd-block', 'd-none'); + }); + } + + // Empty compose email message inputs when modal is hidden + emailCompose.addEventListener('hidden.bs.modal', event => { + document.querySelector('.email-editor .ql-editor').innerHTML = ''; + $('#emailContacts').val(''); + initSelect2(); + }); + + // Delete multiple email + if (emailListDelete) { + emailListDelete.addEventListener('click', e => { + emailListItemInputs.forEach(emailListItemInput => { + if (emailListItemInput.checked) { + emailListItemInput.parentNode.closest('li.email-list-item').remove(); + } + }); + selectAllEmails.indeterminate = false; + selectAllEmails.checked = false; + }); + } + + // Mark as read + if (emailListRead) { + emailListRead.addEventListener('click', e => { + emailListItemInputs.forEach(emailListItemInput => { + if (emailListItemInput.checked) { + emailListItemInput.checked = false; + emailListItemInput.parentNode.closest('li.email-list-item').classList.add('email-marked-read'); + let emailItemEnvelop = emailListItemInput.parentNode + .closest('li.email-list-item') + .querySelector('.email-list-item-actions li'); + + if (Helpers._hasClass('email-read', emailItemEnvelop)) { + emailItemEnvelop.classList.remove('email-read'); + emailItemEnvelop.classList.add('email-unread'); + emailItemEnvelop.querySelector('i').classList.remove('ti-mail-opened'); + emailItemEnvelop.querySelector('i').classList.add('ti-mail'); + } + } + }); + selectAllEmails.indeterminate = false; + selectAllEmails.checked = false; + }); + } + + // Refresh Mails + + if (refreshEmails && emailList) { + let emailListJq = $('.email-list'), + emailListInstance = new PerfectScrollbar(emailList, { + wheelPropagation: false, + suppressScrollX: true + }); + // ? Using jquery vars due to BlockUI jQuery dependency + refreshEmails.addEventListener('click', e => { + emailListJq.block({ + message: '
', + timeout: 1000, + css: { + backgroundColor: 'transparent', + border: '0' + }, + overlayCSS: { + backgroundColor: '#000', + opacity: 0.1 + }, + onBlock: function () { + emailListInstance.settings.suppressScrollY = true; + }, + onUnblock: function () { + emailListInstance.settings.suppressScrollY = false; + } + }); + }); + } + + // Earlier msgs + // ? Using jquery vars due to jQuery animation (slideToggle) dependency + let earlierMsg = $('.email-earlier-msgs'); + if (earlierMsg.length) { + earlierMsg.on('click', function () { + let $this = $(this); + $this.parents().find('.email-card-last').addClass('hide-pseudo'); + $this.next('.email-card-prev').slideToggle(); + $this.remove(); + }); + } + + // Email contacts (select2) + // ? Using jquery vars due to select2 jQuery dependency + let emailContacts = $('#emailContacts'); + function initSelect2() { + if (emailContacts.length) { + function renderContactsAvatar(option) { + if (!option.id) { + return option.text; + } + let $avatar = + "
" + + "
" + + "avatar" + + '
' + + option.text + + '
'; + + return $avatar; + } + emailContacts.wrap('
').select2({ + placeholder: 'Select value', + dropdownParent: emailContacts.parent(), + closeOnSelect: false, + templateResult: renderContactsAvatar, + templateSelection: renderContactsAvatar, + escapeMarkup: function (es) { + return es; + } + }); + } + } + initSelect2(); + + // Scroll to bottom on reply click + // ? Using jquery vars due to jQuery animation dependency + let emailViewContent = $('.app-email-view-content'); + emailViewContent.find('.scroll-to-reply').on('click', function () { + if (emailViewContent[0].scrollTop === 0) { + emailViewContent.animate( + { + scrollTop: emailViewContent[0].scrollHeight + }, + 1500 + ); + } + }); + + // Close view on email filter folder list click + if (emailFilterFolderLists) { + emailFilterFolderLists.forEach(emailFilterFolderList => { + emailFilterFolderList.addEventListener('click', e => { + emailViewContainer.classList.remove('show'); + }); + }); + } + + // Email List Items Actions + if (emailListItemActions) { + emailListItemActions.forEach(emailListItemAction => { + emailListItemAction.addEventListener('click', e => { + e.stopPropagation(); + let currentTarget = e.currentTarget; + if (Helpers._hasClass('email-delete', currentTarget)) { + currentTarget.parentNode.closest('li.email-list-item').remove(); + } else if (Helpers._hasClass('email-read', currentTarget)) { + currentTarget.parentNode.closest('li.email-list-item').classList.add('email-marked-read'); + Helpers._toggleClass(currentTarget, 'email-read', 'email-unread'); + Helpers._toggleClass(currentTarget.querySelector('i'), 'ti-mail-opened', 'ti-mail'); + } else if (Helpers._hasClass('email-unread', currentTarget)) { + currentTarget.parentNode.closest('li.email-list-item').classList.remove('email-marked-read'); + Helpers._toggleClass(currentTarget, 'email-read', 'email-unread'); + Helpers._toggleClass(currentTarget.querySelector('i'), 'ti-mail-opened', 'ti-mail'); + } + }); + }); + } + })(); +}); diff --git a/httpdocs/themes/vuexy/js/app-invoice-add.js b/httpdocs/themes/vuexy/js/app-invoice-add.js new file mode 100755 index 00000000..bd6af0aa --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-invoice-add.js @@ -0,0 +1,127 @@ +/** + * App Invoice - Add + */ + +'use strict'; + +(function () { + const invoiceItemPriceList = document.querySelectorAll('.invoice-item-price'), + invoiceItemQtyList = document.querySelectorAll('.invoice-item-qty'), + invoiceDateList = document.querySelectorAll('.date-picker'); + + // Price + if (invoiceItemPriceList) { + invoiceItemPriceList.forEach(function (invoiceItemPrice) { + new Cleave(invoiceItemPrice, { + delimiter: '', + numeral: true + }); + }); + } + + // Qty + if (invoiceItemQtyList) { + invoiceItemQtyList.forEach(function (invoiceItemQty) { + new Cleave(invoiceItemQty, { + delimiter: '', + numeral: true + }); + }); + } + + // Datepicker + if (invoiceDateList) { + invoiceDateList.forEach(function (invoiceDateEl) { + invoiceDateEl.flatpickr({ + monthSelectorType: 'static' + }); + }); + } +})(); + +// repeater (jquery) +$(function () { + var applyChangesBtn = $('.btn-apply-changes'), + discount, + tax1, + tax2, + discountInput, + tax1Input, + tax2Input, + sourceItem = $('.source-item'), + adminDetails = { + 'App Design': 'Designed UI kit & app pages.', + 'App Customization': 'Customization & Bug Fixes.', + 'ABC Template': 'Bootstrap 4 admin template.', + 'App Development': 'Native App Development.' + }; + + // Prevent dropdown from closing on tax change + $(document).on('click', '.tax-select', function (e) { + e.stopPropagation(); + }); + + // On tax change update it's value value + function updateValue(listener, el) { + listener.closest('.repeater-wrapper').find(el).text(listener.val()); + } + + // Apply item changes btn + if (applyChangesBtn.length) { + $(document).on('click', '.btn-apply-changes', function (e) { + var $this = $(this); + tax1Input = $this.closest('.dropdown-menu').find('#taxInput1'); + tax2Input = $this.closest('.dropdown-menu').find('#taxInput2'); + discountInput = $this.closest('.dropdown-menu').find('#discountInput'); + tax1 = $this.closest('.repeater-wrapper').find('.tax-1'); + tax2 = $this.closest('.repeater-wrapper').find('.tax-2'); + discount = $('.discount'); + + if (tax1Input.val() !== null) { + updateValue(tax1Input, tax1); + } + + if (tax2Input.val() !== null) { + updateValue(tax2Input, tax2); + } + + if (discountInput.val().length) { + $this + .closest('.repeater-wrapper') + .find(discount) + .text(discountInput.val() + '%'); + } + }); + } + + // Repeater init + if (sourceItem.length) { + sourceItem.on('submit', function (e) { + e.preventDefault(); + }); + sourceItem.repeater({ + show: function () { + $(this).slideDown(); + // Initialize tooltip on load of each item + const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); + }); + }, + hide: function (e) { + $(this).slideUp(); + } + }); + } + + // Item details select onchange + $(document).on('change', '.item-details', function () { + var $this = $(this), + value = adminDetails[$this.val()]; + if ($this.next('textarea').length) { + $this.next('textarea').val(value); + } else { + $this.after(''); + } + }); +}); diff --git a/httpdocs/themes/vuexy/js/app-invoice-edit.js b/httpdocs/themes/vuexy/js/app-invoice-edit.js new file mode 100755 index 00000000..32bfdff0 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-invoice-edit.js @@ -0,0 +1,134 @@ +/** + * App Invoice - Edit + */ + +'use strict'; + +(function () { + const invoiceItemPriceList = document.querySelectorAll('.invoice-item-price'), + invoiceItemQtyList = document.querySelectorAll('.invoice-item-qty'), + date = new Date(), + invoiceDate = document.querySelector('.invoice-date'), + dueDate = document.querySelector('.due-date'); + + // Price + if (invoiceItemPriceList) { + invoiceItemPriceList.forEach(function (invoiceItemPrice) { + new Cleave(invoiceItemPrice, { + delimiter: '', + numeral: true + }); + }); + } + + // Qty + if (invoiceItemQtyList) { + invoiceItemQtyList.forEach(function (invoiceItemQty) { + new Cleave(invoiceItemQty, { + delimiter: '', + numeral: true + }); + }); + } + + // Datepicker + if (invoiceDate) { + invoiceDate.flatpickr({ + monthSelectorType: 'static', + defaultDate: date + }); + } + if (dueDate) { + dueDate.flatpickr({ + monthSelectorType: 'static', + defaultDate: new Date(date.getFullYear(), date.getMonth(), date.getDate() + 5) + }); + } +})(); + +// repeater (jquery) +$(function () { + var applyChangesBtn = $('.btn-apply-changes'), + discount, + tax1, + tax2, + discountInput, + taxInput1, + taxInput2, + sourceItem = $('.source-item'), + adminDetails = { + 'App Design': 'Designed UI kit & app pages.', + 'App Customization': 'Customization & Bug Fixes.', + 'ABC Template': 'Bootstrap 4 admin template.', + 'App Development': 'Native App Development.' + }; + + // Prevent dropdown from closing on tax change + $(document).on('click', '.tax-select', function (e) { + e.stopPropagation(); + }); + + // On tax change update it's value value + function updateValue(listener, el) { + listener.closest('.repeater-wrapper').find(el).text(listener.val()); + } + + // Apply item changes btn + if (applyChangesBtn.length) { + $(document).on('click', '.btn-apply-changes', function (e) { + var $this = $(this); + taxInput1 = $this.closest('.dropdown-menu').find('#taxInput1'); + taxInput2 = $this.closest('.dropdown-menu').find('#taxInput2'); + discountInput = $this.closest('.dropdown-menu').find('#discountInput'); + tax1 = $this.closest('.repeater-wrapper').find('.tax-1'); + tax2 = $this.closest('.repeater-wrapper').find('.tax-2'); + discount = $('.discount'); + + if (taxInput1.val() !== null) { + updateValue(taxInput1, tax1); + } + + if (taxInput2.val() !== null) { + updateValue(taxInput2, tax2); + } + + if (discountInput.val().length) { + $this + .closest('.repeater-wrapper') + .find(discount) + .text(discountInput.val() + '%'); + } + }); + } + + // Repeater init + if (sourceItem.length) { + sourceItem.on('submit', function (e) { + e.preventDefault(); + }); + sourceItem.repeater({ + show: function () { + $(this).slideDown(); + // Initialize tooltip on load of each item + const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); + }); + }, + hide: function (e) { + $(this).slideUp(); + } + }); + } + + // Item details select onchange + $(document).on('change', '.item-details', function () { + var $this = $(this), + value = adminDetails[$this.val()]; + if ($this.next('textarea').length) { + $this.next('textarea').val(value); + } else { + $this.after(''); + } + }); +}); diff --git a/httpdocs/themes/vuexy/js/app-invoice-list.js b/httpdocs/themes/vuexy/js/app-invoice-list.js new file mode 100755 index 00000000..7473b6cc --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-invoice-list.js @@ -0,0 +1,297 @@ +/** + * App Invoice List (jquery) + */ + +'use strict'; + +$(function () { + // Variable declaration for table + var dt_invoice_table = $('.invoice-list-table'); + + // Invoice datatable + if (dt_invoice_table.length) { + var dt_invoice = dt_invoice_table.DataTable({ + ajax: assetsPath + 'json/invoice-list.json', // JSON file to add data + columns: [ + // columns according to JSON + { data: '' }, + { data: 'invoice_id' }, + { data: 'invoice_status' }, + { data: 'issued_date' }, + { data: 'client_name' }, + { data: 'total' }, + { data: 'balance' }, + { data: 'invoice_status' }, + { data: 'action' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + responsivePriority: 2, + searchable: false, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // Invoice ID + targets: 1, + render: function (data, type, full, meta) { + var $invoice_id = full['invoice_id']; + // Creates full output for row + var $row_output = '#' + $invoice_id + ''; + return $row_output; + } + }, + { + // Invoice status + targets: 2, + render: function (data, type, full, meta) { + var $invoice_status = full['invoice_status'], + $due_date = full['due_date'], + $balance = full['balance']; + var roleBadgeObj = { + Sent: '', + Draft: + '', + 'Past Due': + '', + 'Partial Payment': + '', + Paid: '', + Downloaded: + '' + }; + return ( + " Balance: ' + + $balance + + '
Due Date: ' + + $due_date + + "
'>" + + roleBadgeObj[$invoice_status] + + '' + ); + } + }, + { + // Client name and Service + targets: 3, + responsivePriority: 4, + render: function (data, type, full, meta) { + var $name = full['client_name'], + $service = full['service'], + $image = full['avatar_image'], + $rand_num = Math.floor(Math.random() * 11) + 1, + $user_img = $rand_num + '.png'; + if ($image === true) { + // For Avatar image + var $output = + 'Avatar'; + } else { + // For Avatar badge + var stateNum = Math.floor(Math.random() * 6), + states = ['success', 'danger', 'warning', 'info', 'primary', 'secondary'], + $state = states[stateNum], + $name = full['client_name'], + $initials = $name.match(/\b\w/g) || []; + $initials = (($initials.shift() || '') + ($initials.pop() || '')).toUpperCase(); + $output = '' + $initials + ''; + } + // Creates full output for row + var $row_output = + '
' + + '
' + + '
' + + $output + + '
' + + '
' + + '
' + + '' + + $name + + '' + + '' + + $service + + '' + + '
' + + '
'; + return $row_output; + } + }, + { + // Total Invoice Amount + targets: 4, + render: function (data, type, full, meta) { + var $total = full['total']; + return '' + $total + '$' + $total; + } + }, + { + // Due Date + targets: 5, + render: function (data, type, full, meta) { + var $due_date = new Date(full['due_date']); + // Creates full output for row + var $row_output = + '' + + moment($due_date).format('YYYYMMDD') + + '' + + moment($due_date).format('DD MMM YYYY'); + $due_date; + return $row_output; + } + }, + { + // Client Balance/Status + targets: 6, + orderable: false, + render: function (data, type, full, meta) { + var $balance = full['balance']; + if ($balance === 0) { + var $badge_class = 'bg-label-success'; + return ' Paid '; + } else { + return '' + $balance + '' + $balance; + } + } + }, + { + targets: 7, + visible: false + }, + { + // Actions + targets: -1, + title: 'Actions', + searchable: false, + orderable: false, + render: function (data, type, full, meta) { + return ( + '
' + + '' + + '' + + '' + + '
' + ); + } + } + ], + order: [[1, 'desc']], + dom: + '<"row ms-2 me-3"' + + '<"col-12 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start gap-2"l<"dt-action-buttons text-xl-end text-lg-start text-md-end text-start mt-md-0 mt-3"B>>' + + '<"col-12 col-md-6 d-flex align-items-center justify-content-end flex-column flex-md-row pe-3 gap-md-2"f<"invoice_status mb-3 mb-md-0">>' + + '>t' + + '<"row mx-2"' + + '<"col-sm-12 col-md-6"i>' + + '<"col-sm-12 col-md-6"p>' + + '>', + language: { + sLengthMenu: 'Show _MENU_', + search: '', + searchPlaceholder: 'Search Invoice' + }, + // Buttons with Dropdown + buttons: [ + { + text: 'Create Invoice', + className: 'btn btn-primary', + action: function (e, dt, button, config) { + window.location = 'app-invoice-add.html'; + } + } + ], + // For responsive popup + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
' + + col.title + + ':' + + '' + + col.data + + '
').append(data) : false; + } + } + }, + initComplete: function () { + // Adding role filter once table initialized + this.api() + .columns(7) + .every(function () { + var column = this; + var select = $( + '' + ) + .appendTo('.invoice_status') + .on('change', function () { + var val = $.fn.dataTable.util.escapeRegex($(this).val()); + column.search(val ? '^' + val + '$' : '', true, false).draw(); + }); + + column + .data() + .unique() + .sort() + .each(function (d, j) { + select.append(''); + }); + }); + } + }); + } + + // On each datatable draw, initialize tooltip + dt_invoice_table.on('draw.dt', function () { + var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl, { + boundary: document.body + }); + }); + }); + + // Delete Record + $('.invoice-list-table tbody').on('click', '.delete-record', function () { + dt_invoice.row($(this).parents('tr')).remove().draw(); + }); + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +}); diff --git a/httpdocs/themes/vuexy/js/app-invoice-print.js b/httpdocs/themes/vuexy/js/app-invoice-print.js new file mode 100755 index 00000000..f93f5760 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-invoice-print.js @@ -0,0 +1,9 @@ +/** + * Invoice Print + */ + +'use strict'; + +(function () { + window.print(); +})(); diff --git a/httpdocs/themes/vuexy/js/app-kanban.js b/httpdocs/themes/vuexy/js/app-kanban.js new file mode 100755 index 00000000..bd1fca08 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-kanban.js @@ -0,0 +1,471 @@ +/** + * App Kanban + */ + +'use strict'; + +(async function () { + let boards; + const kanbanSidebar = document.querySelector('.kanban-update-item-sidebar'), + kanbanWrapper = document.querySelector('.kanban-wrapper'), + commentEditor = document.querySelector('.comment-editor'), + kanbanAddNewBoard = document.querySelector('.kanban-add-new-board'), + kanbanAddNewInput = [].slice.call(document.querySelectorAll('.kanban-add-board-input')), + kanbanAddBoardBtn = document.querySelector('.kanban-add-board-btn'), + datePicker = document.querySelector('#due-date'), + select2 = $('.select2'), // ! Using jquery vars due to select2 jQuery dependency + assetsPath = document.querySelector('html').getAttribute('data-assets-path'); + + // Init kanban Offcanvas + const kanbanOffcanvas = new bootstrap.Offcanvas(kanbanSidebar); + + // Get kanban data + const kanbanResponse = await fetch(assetsPath + 'json/kanban.json'); + if (!kanbanResponse.ok) { + console.error('error', kanbanResponse); + } + boards = await kanbanResponse.json(); + + // datepicker init + if (datePicker) { + datePicker.flatpickr({ + monthSelectorType: 'static', + altInput: true, + altFormat: 'j F, Y', + dateFormat: 'Y-m-d' + }); + } + + //! TODO: Update Event label and guest code to JS once select removes jQuery dependency + // select2 + if (select2.length) { + function renderLabels(option) { + if (!option.id) { + return option.text; + } + var $badge = "
" + option.text + '
'; + return $badge; + } + + select2.each(function () { + var $this = $(this); + $this.wrap("
").select2({ + placeholder: 'Select Label', + dropdownParent: $this.parent(), + templateResult: renderLabels, + templateSelection: renderLabels, + escapeMarkup: function (es) { + return es; + } + }); + }); + } + + // Comment editor + if (commentEditor) { + new Quill(commentEditor, { + modules: { + toolbar: '.comment-toolbar' + }, + placeholder: 'Write a Comment... ', + theme: 'snow' + }); + } + + // Render board dropdown + function renderBoardDropdown() { + return ( + "' + ); + } + // Render item dropdown + function renderDropdown() { + return ( + "' + ); + } + // Render header + function renderHeader(color, text) { + return ( + "
" + + "
" + + "
" + + text + + '
' + + '
' + + renderDropdown() + + '
' + ); + } + + // Render avatar + function renderAvatar(images, pullUp, size, margin, members) { + var $transition = pullUp ? ' pull-up' : '', + $size = size ? 'avatar-' + size + '' : '', + member = members == undefined ? ' ' : members.split(','); + + return images == undefined + ? ' ' + : images + .split(',') + .map(function (img, index, arr) { + var $margin = margin && index !== arr.length - 1 ? ' me-' + margin + '' : ''; + + return ( + "
' + + "Avatar" + + '
' + ); + }) + .join(' '); + } + + // Render footer + function renderFooter(attachments, comments, assigned, members) { + return ( + "
" + + "
" + + "" + + attachments + + '' + + " " + + ' ' + + comments + + ' ' + + '
' + + "
" + + renderAvatar(assigned, true, 'xs', null, members) + + '
' + + '
' + ); + } + // Init kanban + const kanban = new jKanban({ + element: '.kanban-wrapper', + gutter: '15px', + widthBoard: '250px', + dragItems: true, + boards: boards, + dragBoards: true, + addItemButton: true, + buttonContent: '+ Add Item', + itemAddOptions: { + enabled: true, // add a button to board for easy item creation + content: '+ Add New Item', // text or html content of the board button + class: 'kanban-title-button btn', // default class of the button + footer: false // position the button on footer + }, + click: function (el) { + let element = el; + let title = element.getAttribute('data-eid') + ? element.querySelector('.kanban-text').textContent + : element.textContent, + date = element.getAttribute('data-due-date'), + dateObj = new Date(), + year = dateObj.getFullYear(), + dateToUse = date + ? date + ', ' + year + : dateObj.getDate() + ' ' + dateObj.toLocaleString('en', { month: 'long' }) + ', ' + year, + label = element.getAttribute('data-badge-text'), + avatars = element.getAttribute('data-assigned'); + + // Show kanban offcanvas + kanbanOffcanvas.show(); + + // To get data on sidebar + kanbanSidebar.querySelector('#title').value = title; + kanbanSidebar.querySelector('#due-date').nextSibling.value = dateToUse; + + // ! Using jQuery method to get sidebar due to select2 dependency + $('.kanban-update-item-sidebar').find(select2).val(label).trigger('change'); + + // Remove & Update assigned + kanbanSidebar.querySelector('.assigned').innerHTML = ''; + kanbanSidebar + .querySelector('.assigned') + .insertAdjacentHTML( + 'afterbegin', + renderAvatar(avatars, false, 'xs', '1', el.getAttribute('data-members')) + + "
" + + "" + + '
' + ); + }, + + buttonClick: function (el, boardId) { + const addNew = document.createElement('form'); + addNew.setAttribute('class', 'new-item-form'); + addNew.innerHTML = + '
' + + '' + + '
' + + '
' + + '' + + '' + + '
'; + kanban.addForm(boardId, addNew); + + addNew.addEventListener('submit', function (e) { + e.preventDefault(); + const currentBoard = [].slice.call( + document.querySelectorAll('.kanban-board[data-id=' + boardId + '] .kanban-item') + ); + kanban.addElement(boardId, { + title: "" + e.target[0].value + '', + id: boardId + '-' + currentBoard.length + 1 + }); + + // add dropdown in new boards + const kanbanText = [].slice.call( + document.querySelectorAll('.kanban-board[data-id=' + boardId + '] .kanban-text') + ); + kanbanText.forEach(function (e) { + e.insertAdjacentHTML('beforebegin', renderDropdown()); + }); + + // prevent sidebar to open onclick dropdown buttons of new tasks + const newTaskDropdown = [].slice.call(document.querySelectorAll('.kanban-item .kanban-tasks-item-dropdown')); + if (newTaskDropdown) { + newTaskDropdown.forEach(function (e) { + e.addEventListener('click', function (el) { + el.stopPropagation(); + }); + }); + } + + // delete tasks for new boards + const deleteTask = [].slice.call( + document.querySelectorAll('.kanban-board[data-id=' + boardId + '] .delete-task') + ); + deleteTask.forEach(function (e) { + e.addEventListener('click', function () { + const id = this.closest('.kanban-item').getAttribute('data-eid'); + kanban.removeElement(id); + }); + }); + addNew.remove(); + }); + + // Remove form on clicking cancel button + addNew.querySelector('.cancel-add-item').addEventListener('click', function (e) { + addNew.remove(); + }); + } + }); + + // Kanban Wrapper scrollbar + if (kanbanWrapper) { + new PerfectScrollbar(kanbanWrapper); + } + + const kanbanContainer = document.querySelector('.kanban-container'), + kanbanTitleBoard = [].slice.call(document.querySelectorAll('.kanban-title-board')), + kanbanItem = [].slice.call(document.querySelectorAll('.kanban-item')); + + // Render custom items + if (kanbanItem) { + kanbanItem.forEach(function (el) { + const element = "" + el.textContent + ''; + let img = ''; + if (el.getAttribute('data-image') !== null) { + img = + ""; + } + el.textContent = ''; + if (el.getAttribute('data-badge') !== undefined && el.getAttribute('data-badge-text') !== undefined) { + el.insertAdjacentHTML( + 'afterbegin', + renderHeader(el.getAttribute('data-badge'), el.getAttribute('data-badge-text')) + img + element + ); + } + if ( + el.getAttribute('data-comments') !== undefined || + el.getAttribute('data-due-date') !== undefined || + el.getAttribute('data-assigned') !== undefined + ) { + el.insertAdjacentHTML( + 'beforeend', + renderFooter( + el.getAttribute('data-attachments'), + el.getAttribute('data-comments'), + el.getAttribute('data-assigned'), + el.getAttribute('data-members') + ) + ); + } + }); + } + + // To initialize tooltips for rendered items + const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); + }); + + // prevent sidebar to open onclick dropdown buttons of tasks + const tasksItemDropdown = [].slice.call(document.querySelectorAll('.kanban-tasks-item-dropdown')); + if (tasksItemDropdown) { + tasksItemDropdown.forEach(function (e) { + e.addEventListener('click', function (el) { + el.stopPropagation(); + }); + }); + } + + // Toggle add new input and actions add-new-btn + if (kanbanAddBoardBtn) { + kanbanAddBoardBtn.addEventListener('click', () => { + kanbanAddNewInput.forEach(el => { + el.value = ''; + el.classList.toggle('d-none'); + }); + }); + } + + // Render add new inline with boards + if (kanbanContainer) { + kanbanContainer.appendChild(kanbanAddNewBoard); + } + + // Makes kanban title editable for rendered boards + if (kanbanTitleBoard) { + kanbanTitleBoard.forEach(function (elem) { + elem.addEventListener('mouseenter', function () { + this.contentEditable = 'true'; + }); + + // Appends delete icon with title + elem.insertAdjacentHTML('afterend', renderBoardDropdown()); + }); + } + + // To delete Board for rendered boards + const deleteBoards = [].slice.call(document.querySelectorAll('.delete-board')); + if (deleteBoards) { + deleteBoards.forEach(function (elem) { + elem.addEventListener('click', function () { + const id = this.closest('.kanban-board').getAttribute('data-id'); + kanban.removeBoard(id); + }); + }); + } + + // Delete task for rendered boards + const deleteTask = [].slice.call(document.querySelectorAll('.delete-task')); + if (deleteTask) { + deleteTask.forEach(function (e) { + e.addEventListener('click', function () { + const id = this.closest('.kanban-item').getAttribute('data-eid'); + kanban.removeElement(id); + }); + }); + } + + // Cancel btn add new input + const cancelAddNew = document.querySelector('.kanban-add-board-cancel-btn'); + if (cancelAddNew) { + cancelAddNew.addEventListener('click', function () { + kanbanAddNewInput.forEach(el => { + el.classList.toggle('d-none'); + }); + }); + } + + // Add new board + if (kanbanAddNewBoard) { + kanbanAddNewBoard.addEventListener('submit', function (e) { + e.preventDefault(); + const thisEle = this, + value = thisEle.querySelector('.form-control').value, + id = value.replace(/\s+/g, '-').toLowerCase(); + kanban.addBoards([ + { + id: id, + title: value + } + ]); + + // Adds delete board option to new board, delete new boards & updates data-order + const kanbanBoardLastChild = document.querySelectorAll('.kanban-board:last-child')[0]; + if (kanbanBoardLastChild) { + const header = kanbanBoardLastChild.querySelector('.kanban-title-board'); + header.insertAdjacentHTML('afterend', renderBoardDropdown()); + + // To make newly added boards title editable + kanbanBoardLastChild.querySelector('.kanban-title-board').addEventListener('mouseenter', function () { + this.contentEditable = 'true'; + }); + } + + // Add delete event to delete newly added boards + const deleteNewBoards = kanbanBoardLastChild.querySelector('.delete-board'); + if (deleteNewBoards) { + deleteNewBoards.addEventListener('click', function () { + const id = this.closest('.kanban-board').getAttribute('data-id'); + kanban.removeBoard(id); + }); + } + + // Remove current append new add new form + if (kanbanAddNewInput) { + kanbanAddNewInput.forEach(el => { + el.classList.add('d-none'); + }); + } + + // To place inline add new btn after clicking add btn + if (kanbanContainer) { + kanbanContainer.appendChild(kanbanAddNewBoard); + } + }); + } + + // Clear comment editor on close + kanbanSidebar.addEventListener('hidden.bs.offcanvas', function () { + kanbanSidebar.querySelector('.ql-editor').firstElementChild.innerHTML = ''; + }); + + // Re-init tooltip when offcanvas opens(Bootstrap bug) + if (kanbanSidebar) { + kanbanSidebar.addEventListener('shown.bs.offcanvas', function () { + const tooltipTriggerList = [].slice.call(kanbanSidebar.querySelectorAll('[data-bs-toggle="tooltip"]')); + tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); + }); + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/app-user-list.js b/httpdocs/themes/vuexy/js/app-user-list.js new file mode 100755 index 00000000..738073fc --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-user-list.js @@ -0,0 +1,516 @@ +/** + * Page User List + */ + +'use strict'; + +// Datatable (jquery) +$(function () { + let borderColor, bodyBg, headingColor; + + if (isDarkStyle) { + borderColor = config.colors_dark.borderColor; + bodyBg = config.colors_dark.bodyBg; + headingColor = config.colors_dark.headingColor; + } else { + borderColor = config.colors.borderColor; + bodyBg = config.colors.bodyBg; + headingColor = config.colors.headingColor; + } + + // Variable declaration for table + var dt_user_table = $('.datatables-users'), + select2 = $('.select2'), + userView = 'app-user-view-account.html', + statusObj = { + 1: { title: 'Pending', class: 'bg-label-warning' }, + 2: { title: 'Active', class: 'bg-label-success' }, + 3: { title: 'Inactive', class: 'bg-label-secondary' } + }; + + if (select2.length) { + var $this = select2; + $this.wrap('
').select2({ + placeholder: 'Select Country', + dropdownParent: $this.parent() + }); + } + + // Users datatable + if (dt_user_table.length) { + var dt_user = dt_user_table.DataTable({ + ajax: assetsPath + 'json/user-list.json', // JSON file to add data + columns: [ + // columns according to JSON + { data: '' }, + { data: 'full_name' }, + { data: 'role' }, + { data: 'current_plan' }, + { data: 'billing' }, + { data: 'status' }, + { data: 'action' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + searchable: false, + orderable: false, + responsivePriority: 2, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // User full name and email + targets: 1, + responsivePriority: 4, + render: function (data, type, full, meta) { + var $name = full['full_name'], + $email = full['email'], + $image = full['avatar']; + if ($image) { + // For Avatar image + var $output = + 'Avatar'; + } else { + // For Avatar badge + var stateNum = Math.floor(Math.random() * 6); + var states = ['success', 'danger', 'warning', 'info', 'primary', 'secondary']; + var $state = states[stateNum], + $name = full['full_name'], + $initials = $name.match(/\b\w/g) || []; + $initials = (($initials.shift() || '') + ($initials.pop() || '')).toUpperCase(); + $output = '' + $initials + ''; + } + // Creates full output for row + var $row_output = + '
' + + '
' + + '
' + + $output + + '
' + + '
' + + '
' + + '' + + $name + + '' + + '' + + $email + + '' + + '
' + + '
'; + return $row_output; + } + }, + { + // User Role + targets: 2, + render: function (data, type, full, meta) { + var $role = full['role']; + var roleBadgeObj = { + Subscriber: + '', + Author: + '', + Maintainer: + '', + Editor: + '', + Admin: + '' + }; + return "" + roleBadgeObj[$role] + $role + ''; + } + }, + { + // Plans + targets: 3, + render: function (data, type, full, meta) { + var $plan = full['current_plan']; + + return '' + $plan + ''; + } + }, + { + // User Status + targets: 5, + render: function (data, type, full, meta) { + var $status = full['status']; + + return ( + '' + + statusObj[$status].title + + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + searchable: false, + orderable: false, + render: function (data, type, full, meta) { + return ( + '
' + + '' + + '' + + '' + + '' + + '
' + ); + } + } + ], + order: [[1, 'desc']], + dom: + '<"row me-2"' + + '<"col-md-2"<"me-3"l>>' + + '<"col-md-10"<"dt-action-buttons text-xl-end text-lg-start text-md-end text-start d-flex align-items-center justify-content-end flex-md-row flex-column mb-3 mb-md-0"fB>>' + + '>t' + + '<"row mx-2"' + + '<"col-sm-12 col-md-6"i>' + + '<"col-sm-12 col-md-6"p>' + + '>', + language: { + sLengthMenu: '_MENU_', + search: '', + searchPlaceholder: 'Search..' + }, + // Buttons with Dropdown + buttons: [ + { + extend: 'collection', + className: 'btn btn-label-secondary dropdown-toggle mx-3', + text: 'Export', + buttons: [ + { + extend: 'print', + text: 'Print', + className: 'dropdown-item', + exportOptions: { + columns: [1, 2, 3, 4, 5], + // prevent avatar to be print + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + }, + customize: function (win) { + //customize print view for dark + $(win.document.body) + .css('color', headingColor) + .css('border-color', borderColor) + .css('background-color', bodyBg); + $(win.document.body) + .find('table') + .addClass('compact') + .css('color', 'inherit') + .css('border-color', 'inherit') + .css('background-color', 'inherit'); + } + }, + { + extend: 'csv', + text: 'Csv', + className: 'dropdown-item', + exportOptions: { + columns: [1, 2, 3, 4, 5], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + } + }, + { + extend: 'excel', + text: 'Excel', + className: 'dropdown-item', + exportOptions: { + columns: [1, 2, 3, 4, 5], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + } + }, + { + extend: 'pdf', + text: 'Pdf', + className: 'dropdown-item', + exportOptions: { + columns: [1, 2, 3, 4, 5], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + } + }, + { + extend: 'copy', + text: 'Copy', + className: 'dropdown-item', + exportOptions: { + columns: [1, 2, 3, 4, 5], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + } + } + ] + }, + { + text: 'Add New User', + className: 'add-new btn btn-primary', + attr: { + 'data-bs-toggle': 'offcanvas', + 'data-bs-target': '#offcanvasAddUser' + } + } + ], + // For responsive popup + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
' + + col.title + + ':' + + '' + + col.data + + '
').append(data) : false; + } + } + }, + initComplete: function () { + // Adding role filter once table initialized + this.api() + .columns(2) + .every(function () { + var column = this; + var select = $( + '' + ) + .appendTo('.user_role') + .on('change', function () { + var val = $.fn.dataTable.util.escapeRegex($(this).val()); + column.search(val ? '^' + val + '$' : '', true, false).draw(); + }); + + column + .data() + .unique() + .sort() + .each(function (d, j) { + select.append(''); + }); + }); + // Adding plan filter once table initialized + this.api() + .columns(3) + .every(function () { + var column = this; + var select = $( + '' + ) + .appendTo('.user_plan') + .on('change', function () { + var val = $.fn.dataTable.util.escapeRegex($(this).val()); + column.search(val ? '^' + val + '$' : '', true, false).draw(); + }); + + column + .data() + .unique() + .sort() + .each(function (d, j) { + select.append(''); + }); + }); + // Adding status filter once table initialized + this.api() + .columns(5) + .every(function () { + var column = this; + var select = $( + '' + ) + .appendTo('.user_status') + .on('change', function () { + var val = $.fn.dataTable.util.escapeRegex($(this).val()); + column.search(val ? '^' + val + '$' : '', true, false).draw(); + }); + + column + .data() + .unique() + .sort() + .each(function (d, j) { + select.append( + '' + ); + }); + }); + } + }); + } + + // Delete Record + $('.datatables-users tbody').on('click', '.delete-record', function () { + dt_user.row($(this).parents('tr')).remove().draw(); + }); + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +}); + +// Validation & Phone mask +(function () { + const phoneMaskList = document.querySelectorAll('.phone-mask'), + addNewUserForm = document.getElementById('addNewUserForm'); + + // Phone Number + if (phoneMaskList) { + phoneMaskList.forEach(function (phoneMask) { + new Cleave(phoneMask, { + phone: true, + phoneRegionCode: 'US' + }); + }); + } + // Add New User Form Validation + const fv = FormValidation.formValidation(addNewUserForm, { + fields: { + userFullname: { + validators: { + notEmpty: { + message: 'Please enter fullname ' + } + } + }, + userEmail: { + validators: { + notEmpty: { + message: 'Please enter your email' + }, + emailAddress: { + message: 'The value is not a valid email address' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + eleValidClass: '', + rowSelector: function (field, ele) { + // field is the field name & ele is the field element + return '.mb-3'; + } + }), + submitButton: new FormValidation.plugins.SubmitButton(), + // Submit the form when all fields are valid + // defaultSubmit: new FormValidation.plugins.DefaultSubmit(), + autoFocus: new FormValidation.plugins.AutoFocus() + } + }); +})(); diff --git a/httpdocs/themes/vuexy/js/app-user-view-account.js b/httpdocs/themes/vuexy/js/app-user-view-account.js new file mode 100755 index 00000000..012982c1 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-user-view-account.js @@ -0,0 +1,378 @@ +/** + * App User View - Account (jquery) + */ + +$(function () { + 'use strict'; + + // Variable declaration for table + var dt_project_table = $('.datatable-project'), + dt_invoice_table = $('.datatable-invoice'); + + // Project datatable + // -------------------------------------------------------------------- + if (dt_project_table.length) { + var dt_project = dt_project_table.DataTable({ + ajax: assetsPath + 'json/projects-list.json', // JSON file to add data + columns: [ + // columns according to JSON + { data: '' }, + { data: 'project_name' }, + { data: 'total_task' }, + { data: 'progress' }, + { data: 'hours' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + searchable: false, + responsivePriority: 2, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // User full name and email + targets: 1, + responsivePriority: 1, + render: function (data, type, full, meta) { + var $name = full['project_name'], + $framework = full['framework'], + $image = full['project_image']; + if ($image) { + // For Avatar image + var $output = + 'Project Image'; + } else { + // For Avatar badge + var stateNum = Math.floor(Math.random() * 6) + 1; + var states = ['success', 'danger', 'warning', 'info', 'dark', 'primary', 'secondary']; + var $state = states[stateNum], + $name = full['full_name'], + $initials = $name.match(/\b\w/g) || []; + $initials = (($initials.shift() || '') + ($initials.pop() || '')).toUpperCase(); + $output = '' + $initials + ''; + } + // Creates full output for row + var $row_output = + '
' + + '
' + + '
' + + $output + + '
' + + '
' + + '
' + + '' + + $name + + '' + + '' + + $framework + + '' + + '
' + + '
'; + return $row_output; + } + }, + { + targets: 2, + orderable: false + }, + { + // Label + targets: -2, + responsivePriority: 3, + render: function (data, type, full, meta) { + var $progress = full['progress'] + '%', + $color; + switch (true) { + case full['progress'] < 25: + $color = 'bg-danger'; + break; + case full['progress'] < 50: + $color = 'bg-warning'; + break; + case full['progress'] < 75: + $color = 'bg-info'; + break; + case full['progress'] <= 100: + $color = 'bg-success'; + break; + } + return ( + '
' + + $progress + + '' + + '
' + + '
' + + '
' + + '
' + ); + } + }, + { + targets: -1, + orderable: false + } + ], + order: [[1, 'desc']], + dom: + '<"d-flex justify-content-between align-items-center flex-column flex-sm-row mx-4 row"' + + '<"col-sm-4 col-12 d-flex align-items-center justify-content-sm-start justify-content-center"l>' + + '<"col-sm-8 col-12 d-flex align-items-center justify-content-sm-end justify-content-center"f>' + + '>t' + + '<"d-flex justify-content-between mx-4 row"' + + '<"col-sm-12 col-md-6"i>' + + '<"col-sm-12 col-md-6"p>' + + '>', + displayLength: 7, + lengthMenu: [7, 10, 25, 50, 75, 100], + language: { + sLengthMenu: 'Show _MENU_', + // search: '', + searchPlaceholder: 'Search Project' + }, + // For responsive popup + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
' + + col.title + + ':' + + '' + + col.data + + '
').append(data) : false; + } + } + } + }); + } + + // Invoice datatable + // -------------------------------------------------------------------- + if (dt_invoice_table.length) { + var dt_invoice = dt_invoice_table.DataTable({ + ajax: assetsPath + 'json/invoice-list.json', // JSON file to add data + columns: [ + // columns according to JSON + { data: '' }, + { data: 'invoice_id' }, + { data: 'invoice_status' }, + { data: 'total' }, + { data: 'issued_date' }, + { data: 'action' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + responsivePriority: 2, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // Invoice ID + targets: 1, + render: function (data, type, full, meta) { + var $invoice_id = full['invoice_id']; + // Creates full output for row + var $row_output = '#' + $invoice_id + ''; + return $row_output; + } + }, + { + // Invoice status + targets: 2, + render: function (data, type, full, meta) { + var $invoice_status = full['invoice_status'], + $due_date = full['due_date'], + $balance = full['balance']; + var roleBadgeObj = { + Sent: '', + Draft: + '', + 'Past Due': + '', + 'Partial Payment': + '', + Paid: '', + Downloaded: + '' + }; + return ( + " Balance: ' + + $balance + + '
Due Date: ' + + $due_date + + "
'>" + + roleBadgeObj[$invoice_status] + + '' + ); + } + }, + { + // Total Invoice Amount + targets: 3, + render: function (data, type, full, meta) { + var $total = full['total']; + return '$' + $total; + } + }, + { + // Actions + targets: -1, + title: 'Actions', + orderable: false, + render: function (data, type, full, meta) { + return ( + '
' + + '' + + '' + + '' + + '
' + ); + } + } + ], + order: [[1, 'desc']], + dom: + '<"row mx-4"' + + '<"col-sm-6 col-12 d-flex align-items-center justify-content-center justify-content-sm-start mb-3 mb-md-0"l>' + + '<"col-sm-6 col-12 d-flex align-items-center justify-content-center justify-content-sm-end"B>' + + '>t' + + '<"row mx-4"' + + '<"col-md-12 col-lg-6 text-center text-lg-start pb-md-2 pb-lg-0"i>' + + '<"col-md-12 col-lg-6 d-flex justify-content-center justify-content-lg-end"p>' + + '>', + language: { + sLengthMenu: 'Show _MENU_', + search: '', + searchPlaceholder: 'Search Invoice' + }, + // Buttons with Dropdown + buttons: [ + { + extend: 'collection', + className: 'btn btn-label-secondary dropdown-toggle float-sm-end mb-3 mb-sm-0', + text: 'Export', + buttons: [ + { + extend: 'print', + text: 'Print', + className: 'dropdown-item', + exportOptions: { columns: [1, 2, 3, 4] } + }, + { + extend: 'csv', + text: 'Csv', + className: 'dropdown-item', + exportOptions: { columns: [1, 2, 3, 4] } + }, + { + extend: 'excel', + text: 'Excel', + className: 'dropdown-item', + exportOptions: { columns: [1, 2, 3, 4] } + }, + { + extend: 'pdf', + text: 'Pdf', + className: 'dropdown-item', + exportOptions: { columns: [1, 2, 3, 4] } + }, + { + extend: 'copy', + text: 'Copy', + className: 'dropdown-item', + exportOptions: { columns: [1, 2, 3, 4] } + } + ] + } + ], + // For responsive popup + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
' + + col.title + + ':' + + '' + + col.data + + '
').append(data) : false; + } + } + } + }); + } + // On each datatable draw, initialize tooltip + dt_invoice_table.on('draw.dt', function () { + var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl, { + boundary: document.body + }); + }); + }); + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +}); diff --git a/httpdocs/themes/vuexy/js/app-user-view-billing.js b/httpdocs/themes/vuexy/js/app-user-view-billing.js new file mode 100755 index 00000000..51e8a0c2 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-user-view-billing.js @@ -0,0 +1,57 @@ +/** + * App User View - Billing + */ + +'use strict'; + +(function () { + // Cancel Subscription alert + const cancelSubscription = document.querySelector('.cancel-subscription'); + + // Alert With Functional Confirm Button + if (cancelSubscription) { + cancelSubscription.onclick = function () { + Swal.fire({ + text: 'Are you sure you would like to cancel your subscription?', + icon: 'warning', + showCancelButton: true, + confirmButtonText: 'Yes', + customClass: { + confirmButton: 'btn btn-primary me-2', + cancelButton: 'btn btn-label-secondary' + }, + buttonsStyling: false + }).then(function (result) { + if (result.value) { + Swal.fire({ + icon: 'success', + title: 'Unsubscribed!', + text: 'Your subscription cancelled successfully.', + customClass: { + confirmButton: 'btn btn-success' + } + }); + } else if (result.dismiss === Swal.DismissReason.cancel) { + Swal.fire({ + title: 'Cancelled', + text: 'Unsubscription Cancelled!!', + icon: 'error', + customClass: { + confirmButton: 'btn btn-success' + } + }); + } + }); + }; + } + + // On edit address click, update text of add address modal + const addressEdit = document.querySelector('.edit-address'), + addressTitle = document.querySelector('.address-title'), + addressSubTitle = document.querySelector('.address-subtitle'); + + addressEdit.onclick = function () { + addressTitle.innerHTML = 'Edit Address'; // reset text + addressSubTitle.innerHTML = 'Edit your current address'; + }; +})(); diff --git a/httpdocs/themes/vuexy/js/app-user-view-security.js b/httpdocs/themes/vuexy/js/app-user-view-security.js new file mode 100755 index 00000000..fa0e1ed5 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-user-view-security.js @@ -0,0 +1,63 @@ +/** + * App User View - Security + */ + +'use strict'; + +(function () { + const formChangePass = document.querySelector('#formChangePassword'); + + // Form validation for Change password + if (formChangePass) { + const fv = FormValidation.formValidation(formChangePass, { + fields: { + newPassword: { + validators: { + notEmpty: { + message: 'Please enter new password' + }, + stringLength: { + min: 8, + message: 'Password must be more than 8 characters' + } + } + }, + confirmPassword: { + validators: { + notEmpty: { + message: 'Please confirm new password' + }, + identical: { + compare: function () { + return formChangePass.querySelector('[name="newPassword"]').value; + }, + message: 'The password and its confirm are not the same' + }, + stringLength: { + min: 8, + message: 'Password must be more than 8 characters' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + eleValidClass: '', + rowSelector: '.form-password-toggle' + }), + submitButton: new FormValidation.plugins.SubmitButton(), + // Submit the form when all fields are valid + // defaultSubmit: new FormValidation.plugins.DefaultSubmit(), + autoFocus: new FormValidation.plugins.AutoFocus() + }, + init: instance => { + instance.on('plugins.message.placed', function (e) { + if (e.element.parentElement.classList.contains('input-group')) { + e.element.parentElement.insertAdjacentElement('afterend', e.messageElement); + } + }); + } + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/app-user-view.js b/httpdocs/themes/vuexy/js/app-user-view.js new file mode 100755 index 00000000..da79eb29 --- /dev/null +++ b/httpdocs/themes/vuexy/js/app-user-view.js @@ -0,0 +1,89 @@ +/** + * App User View - Suspend User Script + */ +'use strict'; + +(function () { + const suspendUser = document.querySelector('.suspend-user'); + + // Suspend User javascript + if (suspendUser) { + suspendUser.onclick = function () { + Swal.fire({ + title: 'Are you sure?', + text: "You won't be able to revert user!", + icon: 'warning', + showCancelButton: true, + confirmButtonText: 'Yes, Suspend user!', + customClass: { + confirmButton: 'btn btn-primary me-2', + cancelButton: 'btn btn-label-secondary' + }, + buttonsStyling: false + }).then(function (result) { + if (result.value) { + Swal.fire({ + icon: 'success', + title: 'Suspended!', + text: 'User has been suspended.', + customClass: { + confirmButton: 'btn btn-success' + } + }); + } else if (result.dismiss === Swal.DismissReason.cancel) { + Swal.fire({ + title: 'Cancelled', + text: 'Cancelled Suspension :)', + icon: 'error', + customClass: { + confirmButton: 'btn btn-success' + } + }); + } + }); + }; + } + + //? Billing page have multiple buttons + // Cancel Subscription alert + const cancelSubscription = document.querySelectorAll('.cancel-subscription'); + + // Alert With Functional Confirm Button + if (cancelSubscription) { + cancelSubscription.forEach(btnCancle => { + btnCancle.onclick = function () { + Swal.fire({ + text: 'Are you sure you would like to cancel your subscription?', + icon: 'warning', + showCancelButton: true, + confirmButtonText: 'Yes', + customClass: { + confirmButton: 'btn btn-primary me-2', + cancelButton: 'btn btn-label-secondary' + }, + buttonsStyling: false + }).then(function (result) { + if (result.value) { + Swal.fire({ + icon: 'success', + title: 'Unsubscribed!', + text: 'Your subscription cancelled successfully.', + customClass: { + confirmButton: 'btn btn-success' + } + }); + } else if (result.dismiss === Swal.DismissReason.cancel) { + Swal.fire({ + title: 'Cancelled', + text: 'Unsubscription Cancelled!!', + icon: 'error', + customClass: { + confirmButton: 'btn btn-success' + } + }); + } + }); + }; + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/cards-actions.js b/httpdocs/themes/vuexy/js/cards-actions.js new file mode 100755 index 00000000..4983f888 --- /dev/null +++ b/httpdocs/themes/vuexy/js/cards-actions.js @@ -0,0 +1,114 @@ +/** + * Cards Actions + */ + +'use strict'; + +(function () { + const collapseElementList = [].slice.call(document.querySelectorAll('.card-collapsible')); + const expandElementList = [].slice.call(document.querySelectorAll('.card-expand')); + const closeElementList = [].slice.call(document.querySelectorAll('.card-close')); + + let cardDnD = document.getElementById('sortable-4'); + + // Collapsible card + // -------------------------------------------------------------------- + if (collapseElementList) { + collapseElementList.map(function (collapseElement) { + collapseElement.addEventListener('click', event => { + event.preventDefault(); + // Collapse the element + new bootstrap.Collapse(collapseElement.closest('.card').querySelector('.collapse')); + // Toggle collapsed class in `.card-header` element + collapseElement.closest('.card-header').classList.toggle('collapsed'); + // Toggle class ti-chevron-down & ti-chevron-right + Helpers._toggleClass(collapseElement.firstElementChild, 'ti-chevron-down', 'ti-chevron-right'); + }); + }); + } + + // Card Toggle fullscreen + // -------------------------------------------------------------------- + if (expandElementList) { + expandElementList.map(function (expandElement) { + expandElement.addEventListener('click', event => { + event.preventDefault(); + // Toggle class ti-arrows-maximize & ti-arrows-minimize + Helpers._toggleClass(expandElement.firstElementChild, 'ti-arrows-maximize', 'ti-arrows-minimize'); + + expandElement.closest('.card').classList.toggle('card-fullscreen'); + }); + }); + } + + // Toggle fullscreen on esc key + document.addEventListener('keyup', event => { + event.preventDefault(); + //Esc button + if (event.key === 'Escape') { + const cardFullscreen = document.querySelector('.card-fullscreen'); + // Toggle class ti-arrows-maximize & ti-arrows-minimize + + if (cardFullscreen) { + Helpers._toggleClass(cardFullscreen.querySelector('.card-expand').firstChild, 'ti-arrows-maximize', 'ti-arrows-minimize'); + cardFullscreen.classList.toggle('card-fullscreen'); + } + } + }); + + // Card close + // -------------------------------------------------------------------- + if (closeElementList) { + closeElementList.map(function (closeElement) { + closeElement.addEventListener('click', event => { + event.preventDefault(); + closeElement.closest('.card').classList.add('d-none'); + }); + }); + } + + // Sortable.js (Drag & Drop cards) + // -------------------------------------------------------------------- + if (typeof cardDnD !== undefined && cardDnD !== null) { + Sortable.create(cardDnD, { + animation: 500, + handle: '.card' + }); + } +})(); + +// Card reload (jquery) +// -------------------------------------------------------------------- +$(function () { + const cardReload = $('.card-reload'); + if (cardReload.length) { + cardReload.on('click', function (e) { + e.preventDefault(); + var $this = $(this); + $this.closest('.card').block({ + message: + '
LOADING...
', + + css: { + backgroundColor: 'transparent', + border: '0' + }, + overlayCSS: { + backgroundColor: $('html').hasClass('dark-style') ? '#000' : '#fff', + opacity: 0.55 + } + }); + setTimeout(function () { + $this.closest('.card').unblock(); + if ($this.closest('.card').find('.card-alert').length) { + $this + .closest('.card') + .find('.card-alert') + .html( + '' + ); + } + }, 2500); + }); + } +}); diff --git a/httpdocs/themes/vuexy/js/cards-advance.js b/httpdocs/themes/vuexy/js/cards-advance.js new file mode 100755 index 00000000..89c72b83 --- /dev/null +++ b/httpdocs/themes/vuexy/js/cards-advance.js @@ -0,0 +1,166 @@ +/** + * Advanced Cards + */ + +'use strict'; + +(function () { + let cardColor, headingColor, legendColor, labelColor; + if (isDarkStyle) { + cardColor = config.colors_dark.cardColor; + labelColor = config.colors_dark.textMuted; + legendColor = config.colors_dark.bodyColor; + headingColor = config.colors_dark.headingColor; + } else { + cardColor = config.colors.cardColor; + labelColor = config.colors.textMuted; + legendColor = config.colors.bodyColor; + headingColor = config.colors.headingColor; + } + + // Radial bar chart functions + function radialBarChart(color, value) { + const radialBarChartOpt = { + chart: { + height: 53, + width: 43, + type: 'radialBar' + }, + plotOptions: { + radialBar: { + hollow: { + size: '33%' + }, + dataLabels: { + show: false + }, + track: { + background: config.colors_label.secondary + } + } + }, + stroke: { + lineCap: 'round' + }, + colors: [color], + grid: { + padding: { + top: -15, + bottom: -15, + left: -5, + right: -15 + } + }, + series: [value], + labels: ['Progress'] + }; + return radialBarChartOpt; + } + + // Progress Chart + // -------------------------------------------------------------------- + // All progress chart + const chartProgressList = document.querySelectorAll('.chart-progress'); + if (chartProgressList) { + chartProgressList.forEach(function (chartProgressEl) { + const color = config.colors[chartProgressEl.dataset.color], + series = chartProgressEl.dataset.series; + const optionsBundle = radialBarChart(color, series); + const chart = new ApexCharts(chartProgressEl, optionsBundle); + chart.render(); + }); + } + + // Earning Reports Bar Chart + // -------------------------------------------------------------------- + const reportBarChartEl = document.querySelector('#reportBarChart'), + reportBarChartConfig = { + chart: { + height: 200, + type: 'bar', + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + barHeight: '60%', + columnWidth: '60%', + startingShape: 'rounded', + endingShape: 'rounded', + borderRadius: 4, + distributed: true + } + }, + grid: { + show: false, + padding: { + top: -20, + bottom: 0, + left: -10, + right: -10 + } + }, + colors: [ + config.colors_label.primary, + config.colors_label.primary, + config.colors_label.primary, + config.colors_label.primary, + config.colors.primary, + config.colors_label.primary, + config.colors_label.primary + ], + dataLabels: { + enabled: false + }, + series: [ + { + data: [40, 95, 60, 45, 90, 50, 75] + } + ], + legend: { + show: false + }, + xaxis: { + categories: ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + yaxis: { + labels: { + show: false + } + } + }; + if (typeof reportBarChartEl !== undefined && reportBarChartEl !== null) { + const barChart = new ApexCharts(reportBarChartEl, reportBarChartConfig); + barChart.render(); + } + + // swiper loop and autoplay + // -------------------------------------------------------------------- + const swiperWithPagination = document.querySelector('#swiper-with-pagination-cards'); + if (swiperWithPagination) { + new Swiper(swiperWithPagination, { + loop: true, + autoplay: { + delay: 2500, + disableOnInteraction: false + }, + pagination: { + clickable: true, + el: '.swiper-pagination' + } + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/cards-analytics.js b/httpdocs/themes/vuexy/js/cards-analytics.js new file mode 100755 index 00000000..7ced3dd9 --- /dev/null +++ b/httpdocs/themes/vuexy/js/cards-analytics.js @@ -0,0 +1,1000 @@ +/** + * Analytics Cards + */ + +'use strict'; + +(function () { + let cardColor, headingColor, legendColor, labelColor, borderColor; + if (isDarkStyle) { + cardColor = config.colors_dark.cardColor; + labelColor = config.colors_dark.textMuted; + legendColor = config.colors_dark.bodyColor; + headingColor = config.colors_dark.headingColor; + borderColor = config.colors_dark.borderColor; + } else { + cardColor = config.colors.cardColor; + labelColor = config.colors.textMuted; + legendColor = config.colors.bodyColor; + headingColor = config.colors.headingColor; + borderColor = config.colors.borderColor; + } + + // Earning Reports Bar Chart + // -------------------------------------------------------------------- + const weeklyEarningReportsEl = document.querySelector('#weeklyEarningReports'), + weeklyEarningReportsConfig = { + chart: { + height: 202, + parentHeightOffset: 0, + type: 'bar', + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + barHeight: '60%', + columnWidth: '38%', + startingShape: 'rounded', + endingShape: 'rounded', + borderRadius: 4, + distributed: true + } + }, + grid: { + show: false, + padding: { + top: -30, + bottom: 0, + left: -10, + right: -10 + } + }, + colors: [ + config.colors_label.primary, + config.colors_label.primary, + config.colors_label.primary, + config.colors_label.primary, + config.colors.primary, + config.colors_label.primary, + config.colors_label.primary + ], + dataLabels: { + enabled: false + }, + series: [ + { + data: [40, 65, 50, 45, 90, 55, 70] + } + ], + legend: { + show: false + }, + xaxis: { + categories: ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px', + fontFamily: 'Public Sans' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + tooltip: { + enabled: false + }, + responsive: [ + { + breakpoint: 1025, + options: { + chart: { + height: 199 + } + } + } + ] + }; + if (typeof weeklyEarningReportsEl !== undefined && weeklyEarningReportsEl !== null) { + const weeklyEarningReports = new ApexCharts(weeklyEarningReportsEl, weeklyEarningReportsConfig); + weeklyEarningReports.render(); + } + + // Support Tracker - Radial Bar Chart + // -------------------------------------------------------------------- + const supportTrackerEl = document.querySelector('#supportTracker'), + supportTrackerOptions = { + series: [85], + labels: ['Completed Task'], + chart: { + height: 360, + type: 'radialBar' + }, + plotOptions: { + radialBar: { + offsetY: 10, + startAngle: -140, + endAngle: 130, + hollow: { + size: '65%' + }, + track: { + background: cardColor, + strokeWidth: '100%' + }, + dataLabels: { + name: { + offsetY: -20, + color: labelColor, + fontSize: '13px', + fontWeight: '400', + fontFamily: 'Public Sans' + }, + value: { + offsetY: 10, + color: headingColor, + fontSize: '38px', + fontWeight: '600', + fontFamily: 'Public Sans' + } + } + } + }, + colors: [config.colors.primary], + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + shadeIntensity: 0.5, + gradientToColors: [config.colors.primary], + inverseColors: true, + opacityFrom: 1, + opacityTo: 0.6, + stops: [30, 70, 100] + } + }, + stroke: { + dashArray: 10 + }, + grid: { + padding: { + top: -20, + bottom: 5 + } + }, + states: { + hover: { + filter: { + type: 'none' + } + }, + active: { + filter: { + type: 'none' + } + } + }, + responsive: [ + { + breakpoint: 1025, + options: { + chart: { + height: 330 + } + } + }, + { + breakpoint: 769, + options: { + chart: { + height: 280 + } + } + } + ] + }; + if (typeof supportTrackerEl !== undefined && supportTrackerEl !== null) { + const supportTracker = new ApexCharts(supportTrackerEl, supportTrackerOptions); + supportTracker.render(); + } + + // Sales Last 6 Months - Radar Chart + // -------------------------------------------------------------------- + const salesLastMonthEl = document.querySelector('#salesLastMonth'), + salesLastMonthConfig = { + series: [ + { + name: 'Sales', + data: [32, 27, 27, 30, 25, 25] + }, + { + name: 'Visits', + data: [25, 35, 20, 20, 20, 20] + } + ], + chart: { + height: 306, + type: 'radar', + toolbar: { + show: false + } + }, + plotOptions: { + radar: { + polygons: { + strokeColors: borderColor, + connectorColors: borderColor + } + } + }, + stroke: { + show: false, + width: 0 + }, + legend: { + show: true, + fontSize: '13px', + position: 'bottom', + labels: { + colors: legendColor, + useSeriesColors: false + }, + markers: { + height: 10, + width: 10, + offsetX: -3 + }, + itemMargin: { + horizontal: 10 + }, + onItemHover: { + highlightDataSeries: false + } + }, + colors: [config.colors.primary, config.colors.info], + fill: { + opacity: [1, 0.85] + }, + markers: { + size: 0 + }, + grid: { + show: false, + padding: { + top: 0, + bottom: -5 + } + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'], + labels: { + show: true, + style: { + colors: [labelColor, labelColor, labelColor, labelColor, labelColor, labelColor], + fontSize: '13px', + fontFamily: 'Public Sans' + } + } + }, + yaxis: { + show: false, + min: 0, + max: 40, + tickAmount: 4 + }, + responsive: [ + { + breakpoint: 769, + options: { + chart: { + height: 400 + } + } + } + ] + }; + if (typeof salesLastMonthEl !== undefined && salesLastMonthEl !== null) { + const salesLastMonth = new ApexCharts(salesLastMonthEl, salesLastMonthConfig); + salesLastMonth.render(); + } + + // Total Revenue Report Chart - Bar Chart + // -------------------------------------------------------------------- + const totalRevenueChartEl = document.querySelector('#totalRevenueChart'), + totalRevenueChartOptions = { + series: [ + { + name: 'Earning', + data: [270, 210, 180, 200, 250, 280, 250, 270, 150] + }, + { + name: 'Expense', + data: [-140, -160, -180, -150, -100, -60, -80, -100, -180] + } + ], + chart: { + height: 350, + parentHeightOffset: 0, + stacked: true, + type: 'bar', + toolbar: { show: false } + }, + tooltip: { + enabled: false + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: '40%', + borderRadius: 9, + startingShape: 'rounded', + endingShape: 'rounded' + } + }, + colors: [config.colors.primary, config.colors.warning], + dataLabels: { + enabled: false + }, + stroke: { + curve: 'smooth', + width: 6, + lineCap: 'round', + colors: [cardColor] + }, + legend: { + show: true, + horizontalAlign: 'left', + position: 'top', + fontFamily: 'Public Sans', + markers: { + height: 12, + width: 12, + radius: 12, + offsetX: -3, + offsetY: 2 + }, + labels: { + colors: legendColor + }, + itemMargin: { + horizontal: 5 + } + }, + grid: { + show: false, + padding: { + bottom: -8, + top: 20 + } + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep'], + labels: { + style: { + fontSize: '13px', + colors: labelColor, + fontFamily: 'Public Sans' + } + }, + axisTicks: { + show: false + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + offsetX: -16, + style: { + fontSize: '13px', + colors: labelColor, + fontFamily: 'Public Sans' + } + }, + min: -200, + max: 300, + tickAmount: 5 + }, + responsive: [ + { + breakpoint: 1700, + options: { + plotOptions: { + bar: { + columnWidth: '43%' + } + } + } + }, + { + breakpoint: 1441, + options: { + plotOptions: { + bar: { + columnWidth: '50%' + } + } + } + }, + { + breakpoint: 1300, + options: { + plotOptions: { + bar: { + columnWidth: '62%' + } + } + } + }, + { + breakpoint: 991, + options: { + plotOptions: { + bar: { + columnWidth: '38%' + } + } + } + }, + { + breakpoint: 850, + options: { + plotOptions: { + bar: { + columnWidth: '50%' + } + } + } + }, + { + breakpoint: 449, + options: { + plotOptions: { + bar: { + columnWidth: '73%' + } + }, + xaxis: { + labels: { + offsetY: -5 + } + } + } + }, + { + breakpoint: 394, + options: { + plotOptions: { + bar: { + columnWidth: '88%' + } + } + } + } + ], + states: { + hover: { + filter: { + type: 'none' + } + }, + active: { + filter: { + type: 'none' + } + } + } + }; + if (typeof totalRevenueChartEl !== undefined && totalRevenueChartEl !== null) { + const totalRevenueChart = new ApexCharts(totalRevenueChartEl, totalRevenueChartOptions); + totalRevenueChart.render(); + } + + // Total Revenue Report Budget Line Chart + const budgetChartEl = document.querySelector('#budgetChart'), + budgetChartOptions = { + chart: { + height: 100, + toolbar: { show: false }, + zoom: { enabled: false }, + type: 'line' + }, + series: [ + { + name: 'Last Month', + data: [20, 10, 30, 16, 24, 5, 40, 23, 28, 5, 30] + }, + { + name: 'This Month', + data: [50, 40, 60, 46, 54, 35, 70, 53, 58, 35, 60] + } + ], + stroke: { + curve: 'smooth', + dashArray: [5, 0], + width: [1, 2] + }, + legend: { + show: false + }, + colors: [borderColor, config.colors.primary], + grid: { + show: false, + borderColor: borderColor, + padding: { + top: -30, + bottom: -15, + left: 25 + } + }, + markers: { + size: 0 + }, + xaxis: { + labels: { + show: false + }, + axisTicks: { + show: false + }, + axisBorder: { + show: false + } + }, + yaxis: { + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof budgetChartEl !== undefined && budgetChartEl !== null) { + const budgetChart = new ApexCharts(budgetChartEl, budgetChartOptions); + budgetChart.render(); + } + + // Project Status - Line Chart + // -------------------------------------------------------------------- + const projectStatusEl = document.querySelector('#projectStatusChart'), + projectStatusConfig = { + chart: { + height: 252, + type: 'area', + toolbar: false + }, + markers: { + strokeColor: 'transparent' + }, + series: [ + { + data: [2000, 2000, 4000, 4000, 3050, 3050, 2000, 2000, 3050, 3050, 4700, 4700, 2750, 2750, 5700, 5700] + } + ], + dataLabels: { + enabled: false + }, + grid: { + show: false, + padding: { + left: -10, + right: -5 + } + }, + stroke: { + width: 3, + curve: 'straight' + }, + colors: [config.colors.primary], + fill: { + type: 'gradient', + gradient: { + opacityFrom: 0.6, + opacityTo: 0.15, + stops: [0, 95, 100] + } + }, + xaxis: { + labels: { + show: false + }, + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + lines: { + show: false + } + }, + yaxis: { + labels: { + show: false + }, + min: 1000, + max: 6000, + tickAmount: 5 + }, + tooltip: { + enabled: false + } + }; + if (typeof projectStatusEl !== undefined && projectStatusEl !== null) { + const projectStatus = new ApexCharts(projectStatusEl, projectStatusConfig); + projectStatus.render(); + } + + // Earning Reports Tabs Function + function EarningReportsBarChart(arrayData, highlightData) { + const basicColor = config.colors_label.primary, + highlightColor = config.colors.primary; + var colorArr = []; + + for (let i = 0; i < arrayData.length; i++) { + if (i === highlightData) { + colorArr.push(highlightColor); + } else { + colorArr.push(basicColor); + } + } + + const earningReportBarChartOpt = { + chart: { + height: 258, + parentHeightOffset: 0, + type: 'bar', + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + columnWidth: '32%', + startingShape: 'rounded', + borderRadius: 7, + distributed: true, + dataLabels: { + position: 'top' + } + } + }, + grid: { + show: false, + padding: { + top: 0, + bottom: 0, + left: -10, + right: -10 + } + }, + colors: colorArr, + dataLabels: { + enabled: true, + formatter: function (val) { + return val + 'k'; + }, + offsetY: -25, + style: { + fontSize: '15px', + colors: [legendColor], + fontWeight: '600', + fontFamily: 'Public Sans' + } + }, + series: [ + { + data: arrayData + } + ], + legend: { + show: false + }, + tooltip: { + enabled: false + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep'], + axisBorder: { + show: true, + color: borderColor + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px', + fontFamily: 'Public Sans' + } + } + }, + yaxis: { + labels: { + offsetX: -15, + formatter: function (val) { + return '$' + parseInt(val / 1) + 'k'; + }, + style: { + fontSize: '13px', + colors: labelColor, + fontFamily: 'Public Sans' + }, + min: 0, + max: 60000, + tickAmount: 6 + } + }, + responsive: [ + { + breakpoint: 1441, + options: { + plotOptions: { + bar: { + columnWidth: '41%' + } + } + } + }, + { + breakpoint: 590, + options: { + plotOptions: { + bar: { + columnWidth: '61%', + borderRadius: 5 + } + }, + yaxis: { + labels: { + show: false + } + }, + grid: { + padding: { + right: 0, + left: -20 + } + }, + dataLabels: { + style: { + fontSize: '12px', + fontWeight: '400' + } + } + } + } + ] + }; + return earningReportBarChartOpt; + } + var chartJson = 'earning-reports-charts.json'; + // Earning Chart JSON data + var earningReportsChart = $.ajax({ + url: assetsPath + 'json/' + chartJson, //? Use your own search api instead + dataType: 'json', + async: false + }).responseJSON; + + // Earning Reports Tabs Orders + // -------------------------------------------------------------------- + const earningReportsTabsOrdersEl = document.querySelector('#earningReportsTabsOrders'), + earningReportsTabsOrdersConfig = EarningReportsBarChart( + earningReportsChart['data'][0]['chart_data'], + earningReportsChart['data'][0]['active_option'] + ); + if (typeof earningReportsTabsOrdersEl !== undefined && earningReportsTabsOrdersEl !== null) { + const earningReportsTabsOrders = new ApexCharts(earningReportsTabsOrdersEl, earningReportsTabsOrdersConfig); + earningReportsTabsOrders.render(); + } + // Earning Reports Tabs Sales + // -------------------------------------------------------------------- + const earningReportsTabsSalesEl = document.querySelector('#earningReportsTabsSales'), + earningReportsTabsSalesConfig = EarningReportsBarChart( + earningReportsChart['data'][1]['chart_data'], + earningReportsChart['data'][1]['active_option'] + ); + if (typeof earningReportsTabsSalesEl !== undefined && earningReportsTabsSalesEl !== null) { + const earningReportsTabsSales = new ApexCharts(earningReportsTabsSalesEl, earningReportsTabsSalesConfig); + earningReportsTabsSales.render(); + } + // Earning Reports Tabs Profit + // -------------------------------------------------------------------- + const earningReportsTabsProfitEl = document.querySelector('#earningReportsTabsProfit'), + earningReportsTabsProfitConfig = EarningReportsBarChart( + earningReportsChart['data'][2]['chart_data'], + earningReportsChart['data'][2]['active_option'] + ); + if (typeof earningReportsTabsProfitEl !== undefined && earningReportsTabsProfitEl !== null) { + const earningReportsTabsProfit = new ApexCharts(earningReportsTabsProfitEl, earningReportsTabsProfitConfig); + earningReportsTabsProfit.render(); + } + // Earning Reports Tabs Income + // -------------------------------------------------------------------- + const earningReportsTabsIncomeEl = document.querySelector('#earningReportsTabsIncome'), + earningReportsTabsIncomeConfig = EarningReportsBarChart( + earningReportsChart['data'][3]['chart_data'], + earningReportsChart['data'][3]['active_option'] + ); + if (typeof earningReportsTabsIncomeEl !== undefined && earningReportsTabsIncomeEl !== null) { + const earningReportsTabsIncome = new ApexCharts(earningReportsTabsIncomeEl, earningReportsTabsIncomeConfig); + earningReportsTabsIncome.render(); + } + + // Total Earning Chart - Bar Chart + // -------------------------------------------------------------------- + const totalEarningChartEl = document.querySelector('#totalEarningChart'), + totalEarningChartOptions = { + series: [ + { + name: 'Earning', + data: [15, 10, 20, 8, 12, 18, 12, 5] + }, + { + name: 'Expense', + data: [-7, -10, -7, -12, -6, -9, -5, -8] + } + ], + chart: { + height: 225, + parentHeightOffset: 0, + stacked: true, + type: 'bar', + toolbar: { show: false } + }, + tooltip: { + enabled: false + }, + legend: { + show: false + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: '18%', + borderRadius: 5, + startingShape: 'rounded', + endingShape: 'rounded' + } + }, + colors: [config.colors.danger, config.colors.primary], + dataLabels: { + enabled: false + }, + grid: { + show: false, + padding: { + top: -40, + bottom: -20, + left: -10, + right: -2 + } + }, + xaxis: { + labels: { + show: false + }, + axisTicks: { + show: false + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + show: false + } + }, + responsive: [ + { + breakpoint: 1468, + options: { + plotOptions: { + bar: { + columnWidth: '22%' + } + } + } + }, + { + breakpoint: 1197, + options: { + chart: { + height: 228 + }, + plotOptions: { + bar: { + borderRadius: 8, + columnWidth: '26%' + } + } + } + }, + { + breakpoint: 783, + options: { + chart: { + height: 232 + }, + plotOptions: { + bar: { + borderRadius: 6, + columnWidth: '28%' + } + } + } + }, + { + breakpoint: 589, + options: { + plotOptions: { + bar: { + columnWidth: '16%' + } + } + } + }, + { + breakpoint: 520, + options: { + plotOptions: { + bar: { + borderRadius: 6, + columnWidth: '18%' + } + } + } + }, + { + breakpoint: 426, + options: { + plotOptions: { + bar: { + borderRadius: 5, + columnWidth: '20%' + } + } + } + }, + { + breakpoint: 381, + options: { + plotOptions: { + bar: { + columnWidth: '24%' + } + } + } + } + ], + states: { + hover: { + filter: { + type: 'none' + } + }, + active: { + filter: { + type: 'none' + } + } + } + }; + if (typeof totalEarningChartEl !== undefined && totalEarningChartEl !== null) { + const totalEarningChart = new ApexCharts(totalEarningChartEl, totalEarningChartOptions); + totalEarningChart.render(); + } +})(); diff --git a/httpdocs/themes/vuexy/js/cards-statistics.js b/httpdocs/themes/vuexy/js/cards-statistics.js new file mode 100755 index 00000000..86d78125 --- /dev/null +++ b/httpdocs/themes/vuexy/js/cards-statistics.js @@ -0,0 +1,1585 @@ +/** + * Statistics Cards + */ + +'use strict'; + +(function () { + let cardColor, shadeColor, labelColor, headingColor, barBgColor, borderColor; + + if (isDarkStyle) { + cardColor = config.colors_dark.cardColor; + labelColor = config.colors_dark.textMuted; + headingColor = config.colors_dark.headingColor; + shadeColor = 'dark'; + barBgColor = '#8692d014'; + borderColor = config.colors_dark.borderColor; + } else { + cardColor = config.colors.cardColor; + labelColor = config.colors.textMuted; + headingColor = config.colors.headingColor; + shadeColor = ''; + barBgColor = '#4b465c14'; + borderColor = config.colors.borderColor; + } + + // Donut Chart Colors + const chartColors = { + donut: { + series1: config.colors.success, + series2: '#28c76fb3', + series3: '#28c76f80', + series4: config.colors_label.success + } + }; + + // Orders last week Bar Chart + // -------------------------------------------------------------------- + const ordersLastWeekEl = document.querySelector('#ordersLastWeek'), + ordersLastWeekConfig = { + chart: { + height: 90, + parentHeightOffset: 0, + type: 'bar', + toolbar: { + show: false + } + }, + tooltip: { + enabled: false + }, + plotOptions: { + bar: { + barHeight: '100%', + columnWidth: '30px', + startingShape: 'rounded', + endingShape: 'rounded', + borderRadius: 4, + colors: { + backgroundBarColors: [barBgColor, barBgColor, barBgColor, barBgColor, barBgColor, barBgColor, barBgColor], + backgroundBarRadius: 4 + } + } + }, + colors: [config.colors.primary], + grid: { + show: false, + padding: { + top: -30, + left: -16, + bottom: 0, + right: -6 + } + }, + dataLabels: { + enabled: false + }, + series: [ + { + data: [60, 50, 20, 45, 50, 30, 70] + } + ], + legend: { + show: false + }, + xaxis: { + categories: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + show: false + } + }, + yaxis: { + labels: { + show: false + } + }, + responsive: [ + { + breakpoint: 1441, + options: { + plotOptions: { + bar: { + columnWidth: '40%', + borderRadius: 4 + } + } + } + }, + { + breakpoint: 1368, + options: { + plotOptions: { + bar: { + columnWidth: '48%' + } + } + } + }, + { + breakpoint: 1200, + options: { + plotOptions: { + bar: { + borderRadius: 6, + columnWidth: '30%', + colors: { + backgroundBarRadius: 6 + } + } + } + } + }, + { + breakpoint: 991, + options: { + plotOptions: { + bar: { + columnWidth: '35%', + borderRadius: 6 + } + } + } + }, + { + breakpoint: 883, + options: { + plotOptions: { + bar: { + columnWidth: '40%' + } + } + } + }, + { + breakpoint: 768, + options: { + plotOptions: { + bar: { + columnWidth: '25%' + } + } + } + }, + { + breakpoint: 576, + options: { + plotOptions: { + bar: { + borderRadius: 9 + }, + colors: { + backgroundBarRadius: 9 + } + } + } + }, + { + breakpoint: 479, + options: { + plotOptions: { + bar: { + borderRadius: 4, + columnWidth: '35%' + }, + colors: { + backgroundBarRadius: 4 + } + }, + grid: { + padding: { + right: -15, + left: -15 + } + } + } + }, + { + breakpoint: 376, + options: { + plotOptions: { + bar: { + borderRadius: 3 + } + } + } + } + ] + }; + if (typeof ordersLastWeekEl !== undefined && ordersLastWeekEl !== null) { + const ordersLastWeek = new ApexCharts(ordersLastWeekEl, ordersLastWeekConfig); + ordersLastWeek.render(); + } + + // Sales last year Area Chart + // -------------------------------------------------------------------- + const salesLastYearEl = document.querySelector('#salesLastYear'), + salesLastYearConfig = { + chart: { + height: 90, + type: 'area', + parentHeightOffset: 0, + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + markers: { + colors: 'transparent', + strokeColors: 'transparent' + }, + grid: { + show: false + }, + colors: [config.colors.success], + fill: { + type: 'gradient', + gradient: { + shade: shadeColor, + shadeIntensity: 0.8, + opacityFrom: 0.6, + opacityTo: 0.25 + } + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 2, + curve: 'smooth' + }, + series: [ + { + data: [200, 55, 400, 250] + } + ], + xaxis: { + show: true, + lines: { + show: false + }, + labels: { + show: false + }, + stroke: { + width: 0 + }, + axisBorder: { + show: false + } + }, + yaxis: { + stroke: { + width: 0 + }, + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof salesLastYearEl !== undefined && salesLastYearEl !== null) { + const salesLastYear = new ApexCharts(salesLastYearEl, salesLastYearConfig); + salesLastYear.render(); + } + + // Profit last month Line Chart + // -------------------------------------------------------------------- + const profitLastMonthEl = document.querySelector('#profitLastMonth'), + profitLastMonthConfig = { + chart: { + height: 90, + type: 'line', + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + grid: { + borderColor: borderColor, + strokeDashArray: 6, + xaxis: { + lines: { + show: true, + colors: '#000' + } + }, + yaxis: { + lines: { + show: false + } + }, + padding: { + top: -18, + left: -4, + right: 7, + bottom: -10 + } + }, + colors: [config.colors.info], + stroke: { + width: 2 + }, + series: [ + { + data: [0, 25, 10, 40, 25, 55] + } + ], + tooltip: { + shared: false, + intersect: true, + x: { + show: false + } + }, + xaxis: { + labels: { + show: false + }, + axisTicks: { + show: false + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + show: false + } + }, + tooltip: { + enabled: false + }, + markers: { + size: 3.5, + fillColor: config.colors.info, + strokeColors: 'transparent', + strokeWidth: 3.2, + discrete: [ + { + seriesIndex: 0, + dataPointIndex: 5, + fillColor: cardColor, + strokeColor: config.colors.info, + size: 5, + shape: 'circle' + } + ], + hover: { + size: 5.5 + } + }, + responsive: [ + { + breakpoint: 768, + options: { + chart: { + height: 110 + } + } + } + ] + }; + if (typeof profitLastMonthEl !== undefined && profitLastMonthEl !== null) { + const profitLastMonth = new ApexCharts(profitLastMonthEl, profitLastMonthConfig); + profitLastMonth.render(); + } + + // Sessions Last Month - Staked Bar Chart + // -------------------------------------------------------------------- + const sessionsLastMonthEl = document.querySelector('#sessionsLastMonth'), + sessionsLastMonthConfig = { + chart: { + type: 'bar', + height: 90, + parentHeightOffset: 0, + stacked: true, + toolbar: { + show: false + } + }, + series: [ + { + name: 'PRODUCT A', + data: [4, 3, 6, 4, 3] + }, + { + name: 'PRODUCT B', + data: [-3, -4, -3, -2, -3] + } + ], + plotOptions: { + bar: { + horizontal: false, + columnWidth: '30%', + barHeight: '100%', + borderRadius: 5, + startingShape: 'rounded', + endingShape: 'rounded' + } + }, + dataLabels: { + enabled: false + }, + tooltip: { + enabled: false + }, + stroke: { + curve: 'smooth', + width: 1, + lineCap: 'round', + colors: [cardColor] + }, + legend: { + show: false + }, + colors: [config.colors.primary, config.colors.success], + grid: { + show: false, + padding: { + top: -41, + right: -10, + left: -8, + bottom: -26 + } + }, + xaxis: { + categories: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], + labels: { + show: false + }, + axisBorder: { + show: false + }, + axisTicks: { + show: false + } + }, + yaxis: { + show: false + }, + responsive: [ + { + breakpoint: 1441, + options: { + plotOptions: { + bar: { + columnWidth: '40%' + } + } + } + }, + { + breakpoint: 1300, + options: { + plotOptions: { + bar: { + columnWidth: '50%' + } + } + } + }, + { + breakpoint: 1200, + options: { + plotOptions: { + bar: { + borderRadius: 6, + columnWidth: '20%' + } + } + } + }, + { + breakpoint: 1025, + options: { + plotOptions: { + bar: { + borderRadius: 7, + columnWidth: '25%' + } + }, + chart: { + height: 110 + } + } + }, + { + breakpoint: 900, + options: { + plotOptions: { + bar: { + borderRadius: 6 + } + } + } + }, + { + breakpoint: 782, + options: { + plotOptions: { + bar: { + columnWidth: '30%' + } + } + } + }, + { + breakpoint: 426, + options: { + plotOptions: { + bar: { + borderRadius: 5 + } + } + } + }, + { + breakpoint: 376, + options: { + plotOptions: { + bar: { + columnWidth: '35%' + } + } + } + } + ], + states: { + hover: { + filter: { + type: 'none' + } + }, + active: { + filter: { + type: 'none' + } + } + } + }; + if (typeof sessionsLastMonthEl !== undefined && sessionsLastMonthEl !== null) { + const sessionsLastMonth = new ApexCharts(sessionsLastMonthEl, sessionsLastMonthConfig); + sessionsLastMonth.render(); + } + + // Expenses Radial Bar Chart + // -------------------------------------------------------------------- + const expensesRadialChartEl = document.querySelector('#expensesChart'), + expensesRadialChartConfig = { + chart: { + height: 145, + sparkline: { + enabled: true + }, + parentHeightOffset: 0, + type: 'radialBar' + }, + colors: [config.colors.warning], + series: [78], + plotOptions: { + radialBar: { + offsetY: 0, + startAngle: -90, + endAngle: 90, + hollow: { + size: '65%' + }, + track: { + strokeWidth: '45%', + background: borderColor + }, + dataLabels: { + name: { + show: false + }, + value: { + fontSize: '22px', + color: headingColor, + fontWeight: 600, + offsetY: -5 + } + } + } + }, + grid: { + show: false, + padding: { + bottom: 5 + } + }, + stroke: { + lineCap: 'round' + }, + labels: ['Progress'], + responsive: [ + { + breakpoint: 1442, + options: { + chart: { + height: 100 + }, + plotOptions: { + radialBar: { + hollow: { + size: '55%' + }, + dataLabels: { + value: { + fontSize: '16px', + offsetY: -1 + } + } + } + } + } + }, + { + breakpoint: 1200, + options: { + chart: { + height: 228 + }, + plotOptions: { + radialBar: { + hollow: { + size: '75%' + }, + track: { + strokeWidth: '50%' + }, + dataLabels: { + value: { + fontSize: '26px' + } + } + } + } + } + }, + { + breakpoint: 890, + options: { + chart: { + height: 180 + }, + plotOptions: { + radialBar: { + hollow: { + size: '70%' + } + } + } + } + }, + { + breakpoint: 426, + options: { + chart: { + height: 142 + }, + plotOptions: { + radialBar: { + hollow: { + size: '70%' + }, + dataLabels: { + value: { + fontSize: '22px' + } + } + } + } + } + }, + { + breakpoint: 376, + options: { + chart: { + height: 105 + }, + plotOptions: { + radialBar: { + hollow: { + size: '60%' + }, + dataLabels: { + value: { + fontSize: '18px' + } + } + } + } + } + } + ] + }; + if (typeof expensesRadialChartEl !== undefined && expensesRadialChartEl !== null) { + const expensesRadialChart = new ApexCharts(expensesRadialChartEl, expensesRadialChartConfig); + expensesRadialChart.render(); + } + + // Impression This Week + // -------------------------------------------------------------------- + const impressionThisWeekEl = document.querySelector('#impressionThisWeek'), + impressionThisWeekConfig = { + chart: { + height: 90, + parentHeightOffset: 0, + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + colors: [config.colors.danger], + stroke: { + width: 3 + }, + grid: { + padding: { + bottom: -10 + } + }, + tooltip: { + enabled: false + }, + series: [ + { + data: [200, 200, 500, 500, 300, 300, 100, 100, 450, 450, 650, 650] + } + ], + responsive: [ + { + breakpoint: 1200, + options: { + chart: { + height: 110 + } + } + }, + { + breakpoint: 768, + options: { + chart: { + height: 90 + } + } + }, + { + breakpoint: 376, + options: { + chart: { + height: 93 + } + } + } + ] + }; + if (typeof impressionThisWeekEl !== undefined && impressionThisWeekEl !== null) { + const impressionThisWeek = new ApexCharts(impressionThisWeekEl, impressionThisWeekConfig); + impressionThisWeek.render(); + } + + // Subscriber Gained Area Chart + // -------------------------------------------------------------------- + const subscriberGainedEl = document.querySelector('#subscriberGained'), + subscriberGainedConfig = { + chart: { + height: 90, + type: 'area', + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + markers: { + colors: 'transparent', + strokeColors: 'transparent' + }, + grid: { + show: false + }, + colors: [config.colors.primary], + fill: { + type: 'gradient', + gradient: { + shade: shadeColor, + shadeIntensity: 0.8, + opacityFrom: 0.6, + opacityTo: 0.1 + } + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 2, + curve: 'smooth' + }, + series: [ + { + data: [200, 60, 300, 140, 230, 120, 400] + } + ], + xaxis: { + show: true, + lines: { + show: false + }, + labels: { + show: false + }, + stroke: { + width: 0 + }, + axisBorder: { + show: false + } + }, + yaxis: { + stroke: { + width: 0 + }, + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof subscriberGainedEl !== undefined && subscriberGainedEl !== null) { + const subscriberGained = new ApexCharts(subscriberGainedEl, subscriberGainedConfig); + subscriberGained.render(); + } + + // Quarterly Sales Area Chart + // -------------------------------------------------------------------- + const quarterlySalesEl = document.querySelector('#quarterlySales'), + quarterlySalesConfig = { + chart: { + height: 90, + type: 'area', + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + markers: { + colors: 'transparent', + strokeColors: 'transparent' + }, + grid: { + show: false + }, + colors: [config.colors.danger], + fill: { + type: 'gradient', + gradient: { + shade: shadeColor, + shadeIntensity: 0.8, + opacityFrom: 0.6, + opacityTo: 0.1 + } + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 2, + curve: 'smooth' + }, + series: [ + { + data: [200, 300, 160, 250, 130, 400] + } + ], + xaxis: { + show: true, + lines: { + show: false + }, + labels: { + show: false + }, + stroke: { + width: 0 + }, + axisBorder: { + show: false + } + }, + yaxis: { + stroke: { + width: 0 + }, + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof quarterlySalesEl !== undefined && quarterlySalesEl !== null) { + const quarterlySales = new ApexCharts(quarterlySalesEl, quarterlySalesConfig); + quarterlySales.render(); + } + // Order Received Area Chart + // -------------------------------------------------------------------- + const orderReceivedEl = document.querySelector('#orderReceived'), + orderReceivedConfig = { + chart: { + height: 90, + type: 'area', + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + markers: { + colors: 'transparent', + strokeColors: 'transparent' + }, + grid: { + show: false + }, + colors: [config.colors.warning], + fill: { + type: 'gradient', + gradient: { + shade: shadeColor, + shadeIntensity: 0.8, + opacityFrom: 0.6, + opacityTo: 0.1 + } + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 2, + curve: 'smooth' + }, + series: [ + { + data: [350, 500, 310, 460, 280, 400, 300] + } + ], + xaxis: { + show: true, + lines: { + show: false + }, + labels: { + show: false + }, + stroke: { + width: 0 + }, + axisBorder: { + show: false + } + }, + yaxis: { + stroke: { + width: 0 + }, + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof orderReceivedEl !== undefined && orderReceivedEl !== null) { + const orderReceived = new ApexCharts(orderReceivedEl, orderReceivedConfig); + orderReceived.render(); + } + + // Revenue Generated Area Chart + // -------------------------------------------------------------------- + const revenueGeneratedEl = document.querySelector('#revenueGenerated'), + revenueGeneratedConfig = { + chart: { + height: 90, + type: 'area', + parentHeightOffset: 0, + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + markers: { + colors: 'transparent', + strokeColors: 'transparent' + }, + grid: { + show: false + }, + colors: [config.colors.success], + fill: { + type: 'gradient', + gradient: { + shade: shadeColor, + shadeIntensity: 0.8, + opacityFrom: 0.6, + opacityTo: 0.1 + } + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 2, + curve: 'smooth' + }, + series: [ + { + data: [300, 350, 330, 380, 340, 400, 380] + } + ], + xaxis: { + show: true, + lines: { + show: false + }, + labels: { + show: false + }, + stroke: { + width: 0 + }, + axisBorder: { + show: false + } + }, + yaxis: { + stroke: { + width: 0 + }, + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof revenueGeneratedEl !== undefined && revenueGeneratedEl !== null) { + const revenueGenerated = new ApexCharts(revenueGeneratedEl, revenueGeneratedConfig); + revenueGenerated.render(); + } + + // Average Daily Sales + // -------------------------------------------------------------------- + const averageDailySalesEl = document.querySelector('#averageDailySales'), + averageDailySalesConfig = { + chart: { + height: 123, + type: 'area', + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + markers: { + colors: 'transparent', + strokeColors: 'transparent' + }, + grid: { + show: false + }, + colors: [config.colors.success], + fill: { + type: 'gradient', + gradient: { + shade: shadeColor, + shadeIntensity: 0.8, + opacityFrom: 0.6, + opacityTo: 0.1 + } + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 2, + curve: 'smooth' + }, + series: [ + { + data: [400, 200, 650, 500] + } + ], + xaxis: { + show: true, + lines: { + show: false + }, + labels: { + show: false + }, + stroke: { + width: 0 + }, + axisBorder: { + show: false + } + }, + yaxis: { + stroke: { + width: 0 + }, + show: false + }, + tooltip: { + enabled: false + }, + responsive: [ + { + breakpoint: 1387, + options: { + chart: { + height: 80 + } + } + }, + { + breakpoint: 1200, + options: { + chart: { + height: 123 + } + } + } + ] + }; + if (typeof averageDailySalesEl !== undefined && averageDailySalesEl !== null) { + const averageDailySales = new ApexCharts(averageDailySalesEl, averageDailySalesConfig); + averageDailySales.render(); + } + + // Average Daily Traffic Bar Chart + // -------------------------------------------------------------------- + const averageDailyTrafficEl = document.querySelector('#averageDailyTraffic'), + averageDailyTrafficConfig = { + chart: { + height: 145, + parentHeightOffset: 0, + type: 'bar', + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + barHeight: '100%', + columnWidth: '25px', + startingShape: 'rounded', + endingShape: 'rounded', + borderRadius: 6 + } + }, + colors: [config.colors.warning], + grid: { + show: false, + padding: { + top: -30, + left: -18, + bottom: -13, + right: -10 + } + }, + dataLabels: { + enabled: false + }, + tooltip: { + enabled: false + }, + series: [ + { + data: [30, 40, 50, 60, 70, 80, 90] + } + ], + legend: { + show: false + }, + xaxis: { + categories: ['01', '02', '03', '04', '05', '06', '07'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px', + fontFamily: 'Public Sans' + }, + show: true + } + }, + yaxis: { + labels: { + show: false + } + }, + responsive: [ + { + breakpoint: 1441, + options: { + plotOptions: { + bar: { + borderRadius: 5 + } + } + } + }, + { + breakpoint: 1200, + options: { + plotOptions: { + bar: { + columnWidth: '25%', + borderRadius: 9 + } + } + } + }, + { + breakpoint: 992, + options: { + plotOptions: { + bar: { + borderRadius: 8, + columnWidth: '25%' + } + } + } + }, + { + breakpoint: 836, + options: { + plotOptions: { + bar: { + columnWidth: '30%' + } + } + } + }, + { + breakpoint: 738, + options: { + plotOptions: { + bar: { + columnWidth: '35%', + borderRadius: 6 + } + } + } + }, + { + breakpoint: 576, + options: { + plotOptions: { + bar: { + columnWidth: '25%', + borderRadius: 10 + } + } + } + }, + { + breakpoint: 500, + options: { + plotOptions: { + bar: { + columnWidth: '24%', + borderRadius: 8 + } + } + } + }, + { + breakpoint: 450, + options: { + plotOptions: { + bar: { + borderRadius: 6 + } + } + } + } + ] + }; + if (typeof averageDailyTrafficEl !== undefined && averageDailyTrafficEl !== null) { + const averageDailyTraffic = new ApexCharts(averageDailyTrafficEl, averageDailyTrafficConfig); + averageDailyTraffic.render(); + } + + // Revenue Growth Chart + // -------------------------------------------------------------------- + const revenueGrowthEl = document.querySelector('#revenueGrowth'), + revenueGrowthConfig = { + chart: { + height: 162, + type: 'bar', + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + barHeight: '80%', + columnWidth: '30%', + startingShape: 'rounded', + endingShape: 'rounded', + borderRadius: 7, + distributed: true + } + }, + tooltip: { + enabled: false + }, + grid: { + show: false, + padding: { + top: -20, + bottom: -12, + left: -10, + right: 0 + } + }, + colors: [ + config.colors_label.success, + config.colors_label.success, + config.colors_label.success, + config.colors_label.success, + config.colors.success, + config.colors_label.success, + config.colors_label.success + ], + dataLabels: { + enabled: false + }, + series: [ + { + data: [25, 40, 55, 70, 85, 70, 55] + } + ], + legend: { + show: false + }, + xaxis: { + categories: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px', + fontFamily: 'Public Sans' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + states: { + hover: { + filter: { + type: 'none' + } + } + }, + responsive: [ + { + breakpoint: 1471, + options: { + plotOptions: { + bar: { + columnWidth: '45%' + } + } + } + }, + { + breakpoint: 1350, + options: { + plotOptions: { + bar: { + columnWidth: '57%' + } + } + } + }, + { + breakpoint: 1032, + options: { + plotOptions: { + bar: { + columnWidth: '60%' + } + } + } + }, + { + breakpoint: 992, + options: { + plotOptions: { + bar: { + columnWidth: '40%', + borderRadius: 8 + } + } + } + }, + { + breakpoint: 855, + options: { + plotOptions: { + bar: { + columnWidth: '50%', + borderRadius: 6 + } + } + } + }, + { + breakpoint: 440, + options: { + plotOptions: { + bar: { + columnWidth: '40%' + } + } + } + }, + { + breakpoint: 381, + options: { + plotOptions: { + bar: { + columnWidth: '45%' + } + } + } + } + ] + }; + if (typeof revenueGrowthEl !== undefined && revenueGrowthEl !== null) { + const revenueGrowth = new ApexCharts(revenueGrowthEl, revenueGrowthConfig); + revenueGrowth.render(); + } + + // Generated Leads Chart + // -------------------------------------------------------------------- + const generatedLeadsChartEl = document.querySelector('#generatedLeadsChart'), + generatedLeadsChartConfig = { + chart: { + height: 147, + width: 130, + parentHeightOffset: 0, + type: 'donut' + }, + labels: ['Electronic', 'Sports', 'Decor', 'Fashion'], + series: [45, 58, 30, 50], + colors: [ + chartColors.donut.series1, + chartColors.donut.series2, + chartColors.donut.series3, + chartColors.donut.series4 + ], + stroke: { + width: 0 + }, + dataLabels: { + enabled: false, + formatter: function (val, opt) { + return parseInt(val) + '%'; + } + }, + legend: { + show: false + }, + tooltip: { + theme: false + }, + grid: { + padding: { + top: 15, + right: -20, + left: -20 + } + }, + states: { + hover: { + filter: { + type: 'none' + } + } + }, + plotOptions: { + pie: { + donut: { + size: '70%', + labels: { + show: true, + value: { + fontSize: '1.375rem', + fontFamily: 'Public Sans', + color: headingColor, + fontWeight: 600, + offsetY: -15, + formatter: function (val) { + return parseInt(val) + '%'; + } + }, + name: { + offsetY: 20, + fontFamily: 'Public Sans' + }, + total: { + show: true, + showAlways: true, + color: config.colors.success, + fontSize: '.8125rem', + label: 'Total', + fontFamily: 'Public Sans', + formatter: function (w) { + return '184'; + } + } + } + } + } + } + }; + if (typeof generatedLeadsChartEl !== undefined && generatedLeadsChartEl !== null) { + const generatedLeadsChart = new ApexCharts(generatedLeadsChartEl, generatedLeadsChartConfig); + generatedLeadsChart.render(); + } +})(); diff --git a/httpdocs/themes/vuexy/js/charts-apex.js b/httpdocs/themes/vuexy/js/charts-apex.js new file mode 100755 index 00000000..37829a5e --- /dev/null +++ b/httpdocs/themes/vuexy/js/charts-apex.js @@ -0,0 +1,1134 @@ +/** + * Charts Apex + */ + +'use strict'; + +(function () { + let cardColor, headingColor, labelColor, borderColor, legendColor; + + if (isDarkStyle) { + cardColor = config.colors_dark.cardColor; + headingColor = config.colors_dark.headingColor; + labelColor = config.colors_dark.textMuted; + legendColor = config.colors_dark.bodyColor; + borderColor = config.colors_dark.borderColor; + } else { + cardColor = config.colors.cardColor; + headingColor = config.colors.headingColor; + labelColor = config.colors.textMuted; + legendColor = config.colors.bodyColor; + borderColor = config.colors.borderColor; + } + + // Color constant + const chartColors = { + column: { + series1: '#826af9', + series2: '#d2b0ff', + bg: '#f8d3ff' + }, + donut: { + series1: '#fee802', + series2: '#3fd0bd', + series3: '#826bf8', + series4: '#2b9bf4' + }, + area: { + series1: '#29dac7', + series2: '#60f2ca', + series3: '#a5f8cd' + } + }; + + // Heat chart data generator + function generateDataHeat(count, yrange) { + let i = 0; + let series = []; + while (i < count) { + let x = 'w' + (i + 1).toString(); + let y = Math.floor(Math.random() * (yrange.max - yrange.min + 1)) + yrange.min; + + series.push({ + x: x, + y: y + }); + i++; + } + return series; + } + + // Line Area Chart + // -------------------------------------------------------------------- + const areaChartEl = document.querySelector('#lineAreaChart'), + areaChartConfig = { + chart: { + height: 400, + type: 'area', + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + dataLabels: { + enabled: false + }, + stroke: { + show: false, + curve: 'straight' + }, + legend: { + show: true, + position: 'top', + horizontalAlign: 'start', + labels: { + colors: legendColor, + useSeriesColors: false + } + }, + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: true + } + } + }, + colors: [chartColors.area.series3, chartColors.area.series2, chartColors.area.series1], + series: [ + { + name: 'Visits', + data: [100, 120, 90, 170, 130, 160, 140, 240, 220, 180, 270, 280, 375] + }, + { + name: 'Clicks', + data: [60, 80, 70, 110, 80, 100, 90, 180, 160, 140, 200, 220, 275] + }, + { + name: 'Sales', + data: [20, 40, 30, 70, 40, 60, 50, 140, 120, 100, 140, 180, 220] + } + ], + xaxis: { + categories: [ + '7/12', + '8/12', + '9/12', + '10/12', + '11/12', + '12/12', + '13/12', + '14/12', + '15/12', + '16/12', + '17/12', + '18/12', + '19/12', + '20/12' + ], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + yaxis: { + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + fill: { + opacity: 1, + type: 'solid' + }, + tooltip: { + shared: false + } + }; + if (typeof areaChartEl !== undefined && areaChartEl !== null) { + const areaChart = new ApexCharts(areaChartEl, areaChartConfig); + areaChart.render(); + } + + // Bar Chart + // -------------------------------------------------------------------- + const barChartEl = document.querySelector('#barChart'), + barChartConfig = { + chart: { + height: 400, + type: 'bar', + stacked: true, + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + columnWidth: '15%', + colors: { + backgroundBarColors: [ + chartColors.column.bg, + chartColors.column.bg, + chartColors.column.bg, + chartColors.column.bg, + chartColors.column.bg + ], + backgroundBarRadius: 10 + } + } + }, + dataLabels: { + enabled: false + }, + legend: { + show: true, + position: 'top', + horizontalAlign: 'start', + labels: { + colors: legendColor, + useSeriesColors: false + } + }, + colors: [chartColors.column.series1, chartColors.column.series2], + stroke: { + show: true, + colors: ['transparent'] + }, + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: true + } + } + }, + series: [ + { + name: 'Apple', + data: [90, 120, 55, 100, 80, 125, 175, 70, 88, 180] + }, + { + name: 'Samsung', + data: [85, 100, 30, 40, 95, 90, 30, 110, 62, 20] + } + ], + xaxis: { + categories: ['7/12', '8/12', '9/12', '10/12', '11/12', '12/12', '13/12', '14/12', '15/12', '16/12'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + yaxis: { + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + fill: { + opacity: 1 + } + }; + if (typeof barChartEl !== undefined && barChartEl !== null) { + const barChart = new ApexCharts(barChartEl, barChartConfig); + barChart.render(); + } + + // Scatter Chart + // -------------------------------------------------------------------- + const scatterChartEl = document.querySelector('#scatterChart'), + scatterChartConfig = { + chart: { + height: 400, + type: 'scatter', + zoom: { + enabled: true, + type: 'xy' + }, + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: true + } + } + }, + legend: { + show: true, + position: 'top', + horizontalAlign: 'start', + labels: { + colors: legendColor, + useSeriesColors: false + } + }, + colors: [config.colors.warning, config.colors.primary, config.colors.success], + series: [ + { + name: 'Angular', + data: [ + [5.4, 170], + [5.4, 100], + [5.7, 110], + [5.9, 150], + [6.0, 200], + [6.3, 170], + [5.7, 140], + [5.9, 130], + [7.0, 150], + [8.0, 120], + [9.0, 170], + [10.0, 190], + [11.0, 220], + [12.0, 170], + [13.0, 230] + ] + }, + { + name: 'Vue', + data: [ + [14.0, 220], + [15.0, 280], + [16.0, 230], + [18.0, 320], + [17.5, 280], + [19.0, 250], + [20.0, 350], + [20.5, 320], + [20.0, 320], + [19.0, 280], + [17.0, 280], + [22.0, 300], + [18.0, 120] + ] + }, + { + name: 'React', + data: [ + [14.0, 290], + [13.0, 190], + [20.0, 220], + [21.0, 350], + [21.5, 290], + [22.0, 220], + [23.0, 140], + [19.0, 400], + [20.0, 200], + [22.0, 90], + [20.0, 120] + ] + } + ], + xaxis: { + tickAmount: 10, + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + formatter: function (val) { + return parseFloat(val).toFixed(1); + }, + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + yaxis: { + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + } + }; + if (typeof scatterChartEl !== undefined && scatterChartEl !== null) { + const scatterChart = new ApexCharts(scatterChartEl, scatterChartConfig); + scatterChart.render(); + } + + // Line Chart + // -------------------------------------------------------------------- + const lineChartEl = document.querySelector('#lineChart'), + lineChartConfig = { + chart: { + height: 400, + type: 'line', + parentHeightOffset: 0, + zoom: { + enabled: false + }, + toolbar: { + show: false + } + }, + series: [ + { + data: [280, 200, 220, 180, 270, 250, 70, 90, 200, 150, 160, 100, 150, 100, 50] + } + ], + markers: { + strokeWidth: 7, + strokeOpacity: 1, + strokeColors: [cardColor], + colors: [config.colors.warning] + }, + dataLabels: { + enabled: false + }, + stroke: { + curve: 'straight' + }, + colors: [config.colors.warning], + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: true + } + }, + padding: { + top: -20 + } + }, + tooltip: { + custom: function ({ series, seriesIndex, dataPointIndex, w }) { + return '
' + '' + series[seriesIndex][dataPointIndex] + '%' + '
'; + } + }, + xaxis: { + categories: [ + '7/12', + '8/12', + '9/12', + '10/12', + '11/12', + '12/12', + '13/12', + '14/12', + '15/12', + '16/12', + '17/12', + '18/12', + '19/12', + '20/12', + '21/12' + ], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + yaxis: { + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + } + }; + if (typeof lineChartEl !== undefined && lineChartEl !== null) { + const lineChart = new ApexCharts(lineChartEl, lineChartConfig); + lineChart.render(); + } + + // Horizontal Bar Chart + // -------------------------------------------------------------------- + const horizontalBarChartEl = document.querySelector('#horizontalBarChart'), + horizontalBarChartConfig = { + chart: { + height: 400, + type: 'bar', + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + horizontal: true, + barHeight: '30%', + startingShape: 'rounded', + borderRadius: 8 + } + }, + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: false + } + }, + padding: { + top: -20, + bottom: -12 + } + }, + colors: config.colors.info, + dataLabels: { + enabled: false + }, + series: [ + { + data: [700, 350, 480, 600, 210, 550, 150] + } + ], + xaxis: { + categories: ['MON, 11', 'THU, 14', 'FRI, 15', 'MON, 18', 'WED, 20', 'FRI, 21', 'MON, 23'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + yaxis: { + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + } + }; + if (typeof horizontalBarChartEl !== undefined && horizontalBarChartEl !== null) { + const horizontalBarChart = new ApexCharts(horizontalBarChartEl, horizontalBarChartConfig); + horizontalBarChart.render(); + } + + // Candlestick Chart + // -------------------------------------------------------------------- + const candlestickEl = document.querySelector('#candleStickChart'), + candlestickChartConfig = { + chart: { + height: 410, + type: 'candlestick', + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + series: [ + { + data: [ + { + x: new Date(1538778600000), + y: [150, 170, 50, 100] + }, + { + x: new Date(1538780400000), + y: [200, 400, 170, 330] + }, + { + x: new Date(1538782200000), + y: [330, 340, 250, 280] + }, + { + x: new Date(1538784000000), + y: [300, 330, 200, 320] + }, + { + x: new Date(1538785800000), + y: [320, 450, 280, 350] + }, + { + x: new Date(1538787600000), + y: [300, 350, 80, 250] + }, + { + x: new Date(1538789400000), + y: [200, 330, 170, 300] + }, + { + x: new Date(1538791200000), + y: [200, 220, 70, 130] + }, + { + x: new Date(1538793000000), + y: [220, 270, 180, 250] + }, + { + x: new Date(1538794800000), + y: [200, 250, 80, 100] + }, + { + x: new Date(1538796600000), + y: [150, 170, 50, 120] + }, + { + x: new Date(1538798400000), + y: [110, 450, 10, 420] + }, + { + x: new Date(1538800200000), + y: [400, 480, 300, 320] + }, + { + x: new Date(1538802000000), + y: [380, 480, 350, 450] + } + ] + } + ], + xaxis: { + type: 'datetime', + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + yaxis: { + tooltip: { + enabled: true + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + grid: { + borderColor: borderColor, + xaxis: { + lines: { + show: true + } + }, + padding: { + top: -20 + } + }, + plotOptions: { + candlestick: { + colors: { + upward: config.colors.success, + downward: config.colors.danger + } + }, + bar: { + columnWidth: '40%' + } + } + }; + if (typeof candlestickEl !== undefined && candlestickEl !== null) { + const candlestickChart = new ApexCharts(candlestickEl, candlestickChartConfig); + candlestickChart.render(); + } + + // Heat map chart + // -------------------------------------------------------------------- + const heatMapEl = document.querySelector('#heatMapChart'), + heatMapChartConfig = { + chart: { + height: 350, + type: 'heatmap', + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + plotOptions: { + heatmap: { + enableShades: false, + + colorScale: { + ranges: [ + { + from: 0, + to: 10, + name: '0-10', + color: '#90B3F3' + }, + { + from: 11, + to: 20, + name: '10-20', + color: '#7EA6F1' + }, + { + from: 21, + to: 30, + name: '20-30', + color: '#6B9AEF' + }, + { + from: 31, + to: 40, + name: '30-40', + color: '#598DEE' + }, + { + from: 41, + to: 50, + name: '40-50', + color: '#4680EC' + }, + { + from: 51, + to: 60, + name: '50-60', + color: '#3474EA' + } + ] + } + } + }, + dataLabels: { + enabled: false + }, + grid: { + show: false + }, + legend: { + show: true, + position: 'top', + horizontalAlign: 'start', + labels: { + colors: legendColor, + useSeriesColors: false + }, + markers: { + offsetY: 0, + offsetX: -3 + }, + itemMargin: { + vertical: 3, + horizontal: 10 + } + }, + stroke: { + curve: 'smooth', + width: 4, + lineCap: 'round', + colors: [cardColor] + }, + series: [ + { + name: 'SUN', + data: generateDataHeat(24, { + min: 0, + max: 60 + }) + }, + { + name: 'MON', + data: generateDataHeat(24, { + min: 0, + max: 60 + }) + }, + { + name: 'TUE', + data: generateDataHeat(24, { + min: 0, + max: 60 + }) + }, + { + name: 'WED', + data: generateDataHeat(24, { + min: 0, + max: 60 + }) + }, + { + name: 'THU', + data: generateDataHeat(24, { + min: 0, + max: 60 + }) + }, + { + name: 'FRI', + data: generateDataHeat(24, { + min: 0, + max: 60 + }) + }, + { + name: 'SAT', + data: generateDataHeat(24, { + min: 0, + max: 60 + }) + } + ], + xaxis: { + labels: { + show: false, + style: { + colors: labelColor, + fontSize: '13px' + } + }, + axisBorder: { + show: false + }, + axisTicks: { + show: false + } + }, + yaxis: { + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + } + }; + if (typeof heatMapEl !== undefined && heatMapEl !== null) { + const heatMapChart = new ApexCharts(heatMapEl, heatMapChartConfig); + heatMapChart.render(); + } + + // Radial Bar Chart + // -------------------------------------------------------------------- + const radialBarChartEl = document.querySelector('#radialBarChart'), + radialBarChartConfig = { + chart: { + height: 380, + type: 'radialBar' + }, + colors: [chartColors.donut.series1, chartColors.donut.series2, chartColors.donut.series4], + plotOptions: { + radialBar: { + size: 185, + hollow: { + size: '40%' + }, + track: { + margin: 10, + background: config.colors_label.secondary + }, + dataLabels: { + name: { + fontSize: '2rem', + fontFamily: 'Open Sans' + }, + value: { + fontSize: '1.2rem', + color: legendColor, + fontFamily: 'Open Sans' + }, + total: { + show: true, + fontWeight: 400, + fontSize: '1.3rem', + color: headingColor, + label: 'Comments', + formatter: function (w) { + return '80%'; + } + } + } + } + }, + grid: { + borderColor: borderColor, + padding: { + top: -25, + bottom: -20 + } + }, + legend: { + show: true, + position: 'bottom', + labels: { + colors: legendColor, + useSeriesColors: false + } + }, + stroke: { + lineCap: 'round' + }, + series: [80, 50, 35], + labels: ['Comments', 'Replies', 'Shares'] + }; + if (typeof radialBarChartEl !== undefined && radialBarChartEl !== null) { + const radialChart = new ApexCharts(radialBarChartEl, radialBarChartConfig); + radialChart.render(); + } + + // Radar Chart + // -------------------------------------------------------------------- + const radarChartEl = document.querySelector('#radarChart'), + radarChartConfig = { + chart: { + height: 350, + type: 'radar', + toolbar: { + show: false + }, + dropShadow: { + enabled: false, + blur: 8, + left: 1, + top: 1, + opacity: 0.2 + } + }, + legend: { + show: true, + position: 'bottom', + labels: { + colors: legendColor, + useSeriesColors: false + } + }, + plotOptions: { + radar: { + polygons: { + strokeColors: borderColor, + connectorColors: borderColor + } + } + }, + yaxis: { + show: false + }, + series: [ + { + name: 'iPhone 12', + data: [41, 64, 81, 60, 42, 42, 33, 23] + }, + { + name: 'Samsung s20', + data: [65, 46, 42, 25, 58, 63, 76, 43] + } + ], + colors: [chartColors.donut.series1, chartColors.donut.series3], + xaxis: { + categories: ['Battery', 'Brand', 'Camera', 'Memory', 'Storage', 'Display', 'OS', 'Price'], + labels: { + show: true, + style: { + colors: [labelColor, labelColor, labelColor, labelColor, labelColor, labelColor, labelColor, labelColor], + fontSize: '13px', + fontFamily: 'Open Sans' + } + } + }, + fill: { + opacity: [1, 0.8] + }, + stroke: { + show: false, + width: 0 + }, + markers: { + size: 0 + }, + grid: { + show: false, + padding: { + top: -20, + bottom: -20 + } + } + }; + if (typeof radarChartEl !== undefined && radarChartEl !== null) { + const radarChart = new ApexCharts(radarChartEl, radarChartConfig); + radarChart.render(); + } + + // Donut Chart + // -------------------------------------------------------------------- + const donutChartEl = document.querySelector('#donutChart'), + donutChartConfig = { + chart: { + height: 390, + type: 'donut' + }, + labels: ['Operational', 'Networking', 'Hiring', 'R&D'], + series: [42, 7, 25, 25], + colors: [ + chartColors.donut.series1, + chartColors.donut.series4, + chartColors.donut.series3, + chartColors.donut.series2 + ], + stroke: { + show: false, + curve: 'straight' + }, + dataLabels: { + enabled: true, + formatter: function (val, opt) { + return parseInt(val, 10) + '%'; + } + }, + legend: { + show: true, + position: 'bottom', + markers: { offsetX: -3 }, + itemMargin: { + vertical: 3, + horizontal: 10 + }, + labels: { + colors: legendColor, + useSeriesColors: false + } + }, + plotOptions: { + pie: { + donut: { + labels: { + show: true, + name: { + fontSize: '2rem', + fontFamily: 'Open Sans' + }, + value: { + fontSize: '1.2rem', + color: legendColor, + fontFamily: 'Open Sans', + formatter: function (val) { + return parseInt(val, 10) + '%'; + } + }, + total: { + show: true, + fontSize: '1.5rem', + color: headingColor, + label: 'Operational', + formatter: function (w) { + return '42%'; + } + } + } + } + } + }, + responsive: [ + { + breakpoint: 992, + options: { + chart: { + height: 380 + }, + legend: { + position: 'bottom', + labels: { + colors: legendColor, + useSeriesColors: false + } + } + } + }, + { + breakpoint: 576, + options: { + chart: { + height: 320 + }, + plotOptions: { + pie: { + donut: { + labels: { + show: true, + name: { + fontSize: '1.5rem' + }, + value: { + fontSize: '1rem' + }, + total: { + fontSize: '1.5rem' + } + } + } + } + }, + legend: { + position: 'bottom', + labels: { + colors: legendColor, + useSeriesColors: false + } + } + } + }, + { + breakpoint: 420, + options: { + chart: { + height: 280 + }, + legend: { + show: false + } + } + }, + { + breakpoint: 360, + options: { + chart: { + height: 250 + }, + legend: { + show: false + } + } + } + ] + }; + if (typeof donutChartEl !== undefined && donutChartEl !== null) { + const donutChart = new ApexCharts(donutChartEl, donutChartConfig); + donutChart.render(); + } +})(); diff --git a/httpdocs/themes/vuexy/js/charts-chartjs.js b/httpdocs/themes/vuexy/js/charts-chartjs.js new file mode 100755 index 00000000..0bbcd601 --- /dev/null +++ b/httpdocs/themes/vuexy/js/charts-chartjs.js @@ -0,0 +1,1122 @@ +/** + * Charts ChartsJS + */ +'use strict'; + +(function () { + // Color Variables + const purpleColor = '#836AF9', + yellowColor = '#ffe800', + cyanColor = '#28dac6', + orangeColor = '#FF8132', + orangeLightColor = '#FDAC34', + oceanBlueColor = '#299AFF', + greyColor = '#4F5D70', + greyLightColor = '#EDF1F4', + blueColor = '#2B9AFF', + blueLightColor = '#84D0FF'; + + let cardColor, headingColor, labelColor, borderColor, legendColor; + + if (isDarkStyle) { + cardColor = config.colors_dark.cardColor; + headingColor = config.colors_dark.headingColor; + labelColor = config.colors_dark.textMuted; + legendColor = config.colors_dark.bodyColor; + borderColor = config.colors_dark.borderColor; + } else { + cardColor = config.colors.cardColor; + headingColor = config.colors.headingColor; + labelColor = config.colors.textMuted; + legendColor = config.colors.bodyColor; + borderColor = config.colors.borderColor; + } + + // Set height according to their data-height + // -------------------------------------------------------------------- + const chartList = document.querySelectorAll('.chartjs'); + chartList.forEach(function (chartListItem) { + chartListItem.height = chartListItem.dataset.height; + }); + + // Bar Chart + // -------------------------------------------------------------------- + const barChart = document.getElementById('barChart'); + if (barChart) { + const barChartVar = new Chart(barChart, { + type: 'bar', + data: { + labels: [ + '7/12', + '8/12', + '9/12', + '10/12', + '11/12', + '12/12', + '13/12', + '14/12', + '15/12', + '16/12', + '17/12', + '18/12', + '19/12' + ], + datasets: [ + { + data: [275, 90, 190, 205, 125, 85, 55, 87, 127, 150, 230, 280, 190], + backgroundColor: cyanColor, + borderColor: 'transparent', + maxBarThickness: 15, + borderRadius: { + topRight: 15, + topLeft: 15 + } + } + ] + }, + options: { + responsive: true, + maintainAspectRatio: false, + animation: { + duration: 500 + }, + plugins: { + tooltip: { + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + }, + legend: { + display: false + } + }, + scales: { + x: { + grid: { + color: borderColor, + drawBorder: false, + borderColor: borderColor + }, + ticks: { + color: labelColor + } + }, + y: { + min: 0, + max: 400, + grid: { + color: borderColor, + drawBorder: false, + borderColor: borderColor + }, + ticks: { + stepSize: 100, + color: labelColor + } + } + } + } + }); + } + + // Horizontal Bar Chart + // -------------------------------------------------------------------- + + const horizontalBarChart = document.getElementById('horizontalBarChart'); + if (horizontalBarChart) { + const horizontalBarChartVar = new Chart(horizontalBarChart, { + type: 'bar', + data: { + labels: ['MON', 'TUE', 'WED ', 'THU', 'FRI', 'SAT', 'SUN'], + datasets: [ + { + data: [710, 350, 470, 580, 230, 460, 120], + backgroundColor: config.colors.info, + borderColor: 'transparent', + maxBarThickness: 15 + } + ] + }, + options: { + indexAxis: 'y', + responsive: true, + maintainAspectRatio: false, + animation: { + duration: 500 + }, + elements: { + bar: { + borderRadius: { + topRight: 15, + bottomRight: 15 + } + } + }, + plugins: { + tooltip: { + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + }, + legend: { + display: false + } + }, + scales: { + x: { + min: 0, + grid: { + color: borderColor, + borderColor: borderColor + }, + ticks: { + color: labelColor + } + }, + y: { + grid: { + borderColor: borderColor, + display: false, + drawBorder: false + }, + ticks: { + color: labelColor + } + } + } + } + }); + } + + // Line Chart + // -------------------------------------------------------------------- + + const lineChart = document.getElementById('lineChart'); + if (lineChart) { + const lineChartVar = new Chart(lineChart, { + type: 'line', + data: { + labels: [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140], + datasets: [ + { + data: [80, 150, 180, 270, 210, 160, 160, 202, 265, 210, 270, 255, 290, 360, 375], + label: 'Europe', + borderColor: config.colors.danger, + tension: 0.5, + pointStyle: 'circle', + backgroundColor: config.colors.danger, + fill: false, + pointRadius: 1, + pointHoverRadius: 5, + pointHoverBorderWidth: 5, + pointBorderColor: 'transparent', + pointHoverBorderColor: cardColor, + pointHoverBackgroundColor: config.colors.danger + }, + { + data: [80, 125, 105, 130, 215, 195, 140, 160, 230, 300, 220, 170, 210, 200, 280], + label: 'Asia', + borderColor: config.colors.primary, + tension: 0.5, + pointStyle: 'circle', + backgroundColor: config.colors.primary, + fill: false, + pointRadius: 1, + pointHoverRadius: 5, + pointHoverBorderWidth: 5, + pointBorderColor: 'transparent', + pointHoverBorderColor: cardColor, + pointHoverBackgroundColor: config.colors.primary + }, + { + data: [80, 99, 82, 90, 115, 115, 74, 75, 130, 155, 125, 90, 140, 130, 180], + label: 'Africa', + borderColor: yellowColor, + tension: 0.5, + pointStyle: 'circle', + backgroundColor: yellowColor, + fill: false, + pointRadius: 1, + pointHoverRadius: 5, + pointHoverBorderWidth: 5, + pointBorderColor: 'transparent', + pointHoverBorderColor: cardColor, + pointHoverBackgroundColor: yellowColor + } + ] + }, + options: { + responsive: true, + maintainAspectRatio: false, + scales: { + x: { + grid: { + color: borderColor, + drawBorder: false, + borderColor: borderColor + }, + ticks: { + color: labelColor + } + }, + y: { + scaleLabel: { + display: true + }, + min: 0, + max: 400, + ticks: { + color: labelColor, + stepSize: 100 + }, + grid: { + color: borderColor, + drawBorder: false, + borderColor: borderColor + } + } + }, + plugins: { + tooltip: { + // Updated default tooltip UI + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + }, + legend: { + position: 'top', + align: 'start', + rtl: isRtl, + labels: { + usePointStyle: true, + padding: 35, + boxWidth: 6, + boxHeight: 6, + color: legendColor + } + } + } + } + }); + } + + // Radar Chart + // -------------------------------------------------------------------- + + const radarChart = document.getElementById('radarChart'); + if (radarChart) { + // For radar gradient color + const gradientBlue = radarChart.getContext('2d').createLinearGradient(0, 0, 0, 150); + gradientBlue.addColorStop(0, 'rgba(85, 85, 255, 0.9)'); + gradientBlue.addColorStop(1, 'rgba(151, 135, 255, 0.8)'); + + const gradientRed = radarChart.getContext('2d').createLinearGradient(0, 0, 0, 150); + gradientRed.addColorStop(0, 'rgba(255, 85, 184, 0.9)'); + gradientRed.addColorStop(1, 'rgba(255, 135, 135, 0.8)'); + + const radarChartVar = new Chart(radarChart, { + type: 'radar', + data: { + labels: ['STA', 'STR', 'AGI', 'VIT', 'CHA', 'INT'], + datasets: [ + { + label: 'Donté Panlin', + data: [25, 59, 90, 81, 60, 82], + fill: true, + pointStyle: 'dash', + backgroundColor: gradientRed, + borderColor: 'transparent', + pointBorderColor: 'transparent' + }, + { + label: 'Mireska Sunbreeze', + data: [40, 100, 40, 90, 40, 90], + fill: true, + pointStyle: 'dash', + backgroundColor: gradientBlue, + borderColor: 'transparent', + pointBorderColor: 'transparent' + } + ] + }, + options: { + responsive: true, + maintainAspectRatio: false, + animation: { + duration: 500 + }, + scales: { + r: { + ticks: { + maxTicksLimit: 1, + display: false, + color: labelColor + }, + grid: { + color: borderColor + }, + angleLines: { color: borderColor }, + pointLabels: { + color: labelColor + } + } + }, + plugins: { + legend: { + rtl: isRtl, + position: 'top', + labels: { + padding: 25, + color: legendColor + } + }, + tooltip: { + // Updated default tooltip UI + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + } + } + } + }); + } + + // Polar Chart + // -------------------------------------------------------------------- + + const polarChart = document.getElementById('polarChart'); + if (polarChart) { + const polarChartVar = new Chart(polarChart, { + type: 'polarArea', + data: { + labels: ['Africa', 'Asia', 'Europe', 'America', 'Antarctica', 'Australia'], + datasets: [ + { + label: 'Population (millions)', + backgroundColor: [purpleColor, yellowColor, orangeColor, oceanBlueColor, greyColor, cyanColor], + data: [19, 17.5, 15, 13.5, 11, 9], + borderWidth: 0 + } + ] + }, + options: { + responsive: true, + maintainAspectRatio: false, + animation: { + duration: 500 + }, + scales: { + r: { + ticks: { + display: false, + color: labelColor + }, + grid: { + display: false + } + } + }, + plugins: { + tooltip: { + // Updated default tooltip UI + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + }, + legend: { + rtl: isRtl, + position: 'right', + labels: { + usePointStyle: true, + padding: 25, + boxWidth: 8, + boxHeight: 8, + color: legendColor + } + } + } + } + }); + } + + // Bubble Chart + // -------------------------------------------------------------------- + + const bubbleChart = document.getElementById('bubbleChart'); + if (bubbleChart) { + const bubbleChartVar = new Chart(bubbleChart, { + type: 'bubble', + data: { + animation: { + duration: 10000 + }, + datasets: [ + { + label: 'Dataset 1', + backgroundColor: purpleColor, + borderColor: purpleColor, + data: [ + { + x: 20, + y: 74, + r: 10 + }, + { + x: 10, + y: 110, + r: 5 + }, + { + x: 30, + y: 165, + r: 7 + }, + { + x: 40, + y: 200, + r: 20 + }, + { + x: 90, + y: 185, + r: 7 + }, + { + x: 50, + y: 240, + r: 7 + }, + { + x: 60, + y: 275, + r: 10 + }, + { + x: 70, + y: 305, + r: 5 + }, + { + x: 80, + y: 325, + r: 4 + }, + { + x: 100, + y: 310, + r: 5 + }, + { + x: 110, + y: 240, + r: 5 + }, + { + x: 120, + y: 270, + r: 7 + }, + { + x: 130, + y: 300, + r: 6 + } + ] + }, + { + label: 'Dataset 2', + backgroundColor: yellowColor, + borderColor: yellowColor, + data: [ + { + x: 30, + y: 72, + r: 5 + }, + { + x: 40, + y: 110, + r: 7 + }, + { + x: 20, + y: 135, + r: 6 + }, + { + x: 10, + y: 160, + r: 12 + }, + { + x: 50, + y: 285, + r: 5 + }, + { + x: 60, + y: 235, + r: 5 + }, + { + x: 70, + y: 275, + r: 7 + }, + { + x: 80, + y: 290, + r: 4 + }, + { + x: 90, + y: 250, + r: 10 + }, + { + x: 100, + y: 220, + r: 7 + }, + { + x: 120, + y: 230, + r: 4 + }, + { + x: 110, + y: 320, + r: 15 + }, + { + x: 130, + y: 330, + r: 7 + } + ] + } + ] + }, + options: { + responsive: true, + maintainAspectRatio: false, + + scales: { + x: { + min: 0, + max: 140, + grid: { + color: borderColor, + drawBorder: false, + borderColor: borderColor + }, + ticks: { + stepSize: 10, + color: labelColor + } + }, + y: { + min: 0, + max: 400, + grid: { + color: borderColor, + drawBorder: false, + borderColor: borderColor + }, + ticks: { + stepSize: 100, + color: labelColor + } + } + }, + plugins: { + legend: { + display: false + }, + tooltip: { + // Updated default tooltip UI + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + } + } + } + }); + } + + // LineArea Chart + // -------------------------------------------------------------------- + + const lineAreaChart = document.getElementById('lineAreaChart'); + if (lineAreaChart) { + const lineAreaChartVar = new Chart(lineAreaChart, { + type: 'line', + data: { + labels: [ + '7/12', + '8/12', + '9/12', + '10/12', + '11/12', + '12/12', + '13/12', + '14/12', + '15/12', + '16/12', + '17/12', + '18/12', + '19/12', + '20/12', + '' + ], + datasets: [ + { + label: 'Africa', + data: [40, 55, 45, 75, 65, 55, 70, 60, 100, 98, 90, 120, 125, 140, 155], + tension: 0, + fill: true, + backgroundColor: blueColor, + pointStyle: 'circle', + borderColor: 'transparent', + pointRadius: 0.5, + pointHoverRadius: 5, + pointHoverBorderWidth: 5, + pointBorderColor: 'transparent', + pointHoverBackgroundColor: blueColor, + pointHoverBorderColor: cardColor + }, + { + label: 'Asia', + data: [70, 85, 75, 150, 100, 140, 110, 105, 160, 150, 125, 190, 200, 240, 275], + tension: 0, + fill: true, + backgroundColor: blueLightColor, + pointStyle: 'circle', + borderColor: 'transparent', + pointRadius: 0.5, + pointHoverRadius: 5, + pointHoverBorderWidth: 5, + pointBorderColor: 'transparent', + pointHoverBackgroundColor: blueLightColor, + pointHoverBorderColor: cardColor + }, + { + label: 'Europe', + data: [240, 195, 160, 215, 185, 215, 185, 200, 250, 210, 195, 250, 235, 300, 315], + tension: 0, + fill: true, + backgroundColor: greyLightColor, + pointStyle: 'circle', + borderColor: 'transparent', + pointRadius: 0.5, + pointHoverRadius: 5, + pointHoverBorderWidth: 5, + pointBorderColor: 'transparent', + pointHoverBackgroundColor: greyLightColor, + pointHoverBorderColor: cardColor + } + ] + }, + options: { + responsive: true, + maintainAspectRatio: false, + plugins: { + legend: { + position: 'top', + rtl: isRtl, + align: 'start', + labels: { + usePointStyle: true, + padding: 35, + boxWidth: 6, + boxHeight: 6, + color: legendColor + } + }, + tooltip: { + // Updated default tooltip UI + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + } + }, + scales: { + x: { + grid: { + color: 'transparent', + borderColor: borderColor + }, + ticks: { + color: labelColor + } + }, + y: { + min: 0, + max: 400, + grid: { + color: 'transparent', + borderColor: borderColor + }, + ticks: { + stepSize: 100, + color: labelColor + } + } + } + } + }); + } + + // Doughnut Chart + // -------------------------------------------------------------------- + + const doughnutChart = document.getElementById('doughnutChart'); + if (doughnutChart) { + const doughnutChartVar = new Chart(doughnutChart, { + type: 'doughnut', + data: { + labels: ['Tablet', 'Mobile', 'Desktop'], + datasets: [ + { + data: [10, 10, 80], + backgroundColor: [cyanColor, orangeLightColor, config.colors.primary], + borderWidth: 0, + pointStyle: 'rectRounded' + } + ] + }, + options: { + responsive: true, + animation: { + duration: 500 + }, + cutout: '68%', + plugins: { + legend: { + display: false + }, + tooltip: { + callbacks: { + label: function (context) { + const label = context.labels || '', + value = context.parsed; + const output = ' ' + label + ' : ' + value + ' %'; + return output; + } + }, + // Updated default tooltip UI + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + } + } + } + }); + } + + // Scatter Chart + // -------------------------------------------------------------------- + + const scatterChart = document.getElementById('scatterChart'); + if (scatterChart) { + const scatterChartVar = new Chart(scatterChart, { + type: 'scatter', + data: { + datasets: [ + { + label: 'iPhone', + data: [ + { + x: 72, + y: 225 + }, + { + x: 81, + y: 270 + }, + { + x: 90, + y: 230 + }, + { + x: 103, + y: 305 + }, + { + x: 103, + y: 245 + }, + { + x: 108, + y: 275 + }, + { + x: 110, + y: 290 + }, + { + x: 111, + y: 315 + }, + { + x: 109, + y: 350 + }, + { + x: 116, + y: 340 + }, + { + x: 113, + y: 260 + }, + { + x: 117, + y: 275 + }, + { + x: 117, + y: 295 + }, + { + x: 126, + y: 280 + }, + { + x: 127, + y: 340 + }, + { + x: 133, + y: 330 + } + ], + backgroundColor: config.colors.primary, + borderColor: 'transparent', + pointBorderWidth: 2, + pointHoverBorderWidth: 2, + pointRadius: 5 + }, + { + label: 'Samsung Note', + data: [ + { + x: 13, + y: 95 + }, + { + x: 22, + y: 105 + }, + { + x: 17, + y: 115 + }, + { + x: 19, + y: 130 + }, + { + x: 21, + y: 125 + }, + { + x: 35, + y: 125 + }, + { + x: 13, + y: 155 + }, + { + x: 21, + y: 165 + }, + { + x: 25, + y: 155 + }, + { + x: 18, + y: 190 + }, + { + x: 26, + y: 180 + }, + { + x: 43, + y: 180 + }, + { + x: 53, + y: 202 + }, + { + x: 61, + y: 165 + }, + { + x: 67, + y: 225 + } + ], + backgroundColor: yellowColor, + borderColor: 'transparent', + pointRadius: 5 + }, + { + label: 'OnePlus', + data: [ + { + x: 70, + y: 195 + }, + { + x: 72, + y: 270 + }, + { + x: 98, + y: 255 + }, + { + x: 100, + y: 215 + }, + { + x: 87, + y: 240 + }, + { + x: 94, + y: 280 + }, + { + x: 99, + y: 300 + }, + { + x: 102, + y: 290 + }, + { + x: 110, + y: 275 + }, + { + x: 111, + y: 250 + }, + { + x: 94, + y: 280 + }, + { + x: 92, + y: 340 + }, + { + x: 100, + y: 335 + }, + { + x: 108, + y: 330 + } + ], + backgroundColor: cyanColor, + borderColor: 'transparent', + pointBorderWidth: 2, + pointHoverBorderWidth: 2, + pointRadius: 5 + } + ] + }, + options: { + responsive: true, + maintainAspectRatio: false, + animation: { + duration: 800 + }, + plugins: { + legend: { + position: 'top', + rtl: isRtl, + align: 'start', + labels: { + usePointStyle: true, + padding: 25, + boxWidth: 6, + boxHeight: 6, + color: legendColor + } + }, + tooltip: { + // Updated default tooltip UI + rtl: isRtl, + backgroundColor: cardColor, + titleColor: headingColor, + bodyColor: legendColor, + borderWidth: 1, + borderColor: borderColor + } + }, + scales: { + x: { + min: 0, + max: 140, + grid: { + color: borderColor, + drawTicks: false, + drawBorder: false, + borderColor: borderColor + }, + ticks: { + stepSize: 10, + color: labelColor + } + }, + y: { + min: 0, + max: 400, + grid: { + color: borderColor, + drawTicks: false, + drawBorder: false, + borderColor: borderColor + }, + ticks: { + stepSize: 100, + color: labelColor + } + } + } + } + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/config.js b/httpdocs/themes/vuexy/js/config.js new file mode 100755 index 00000000..a859075a --- /dev/null +++ b/httpdocs/themes/vuexy/js/config.js @@ -0,0 +1,113 @@ +/** + * Config + * ------------------------------------------------------------------------------------- + * ! IMPORTANT: Make sure you clear the browser local storage In order to see the config changes in the template. + * ! To clear local storage: (https://www.leadshook.com/help/how-to-clear-local-storage-in-google-chrome-browser/). + */ + +'use strict'; + +// JS global variables +let config = { + colors: { + primary: '#7367f0', + secondary: '#a8aaae', + success: '#28c76f', + info: '#00cfe8', + warning: '#ff9f43', + danger: '#ea5455', + dark: '#4b4b4b', + black: '#000', + white: '#fff', + cardColor: '#fff', + bodyBg: '#f8f7fa', + bodyColor: '#6f6b7d', + headingColor: '#5d596c', + textMuted: '#a5a3ae', + borderColor: '#dbdade' + }, + colors_label: { + primary: '#7367f029', + secondary: '#a8aaae29', + success: '#28c76f29', + info: '#00cfe829', + warning: '#ff9f4329', + danger: '#ea545529', + dark: '#4b4b4b29' + }, + colors_dark: { + cardColor: '#2f3349', + bodyBg: '#25293c', + bodyColor: '#b6bee3', + headingColor: '#cfd3ec', + textMuted: '#7983bb', + borderColor: '#434968' + }, + enableMenuLocalStorage: true // Enable menu state with local storage support +}; + +let assetsPath = document.documentElement.getAttribute('data-assets-path'), + templateName = document.documentElement.getAttribute('data-template'), + rtlSupport = true; // set true for rtl support (rtl + ltr), false for ltr only. + +/** + * TemplateCustomizer + * ! You must use(include) template-customizer.js to use TemplateCustomizer settings + * ----------------------------------------------------------------------------------------------- + */ + +// To use more themes, just push it to THEMES object. + +/* TemplateCustomizer.THEMES.push({ + name: 'theme-raspberry', + title: 'Raspberry' +}); */ + +// To add more languages, just push it to LANGUAGES object. +/* +TemplateCustomizer.LANGUAGES.fr = { ... }; +*/ + +/** + * TemplateCustomizer settings + * ------------------------------------------------------------------------------------- + * cssPath: Core CSS file path + * themesPath: Theme CSS file path + * displayCustomizer: true(Show customizer), false(Hide customizer) + * lang: To set default language, Add more langues and set default. Fallback language is 'en' + * controls: [ 'rtl','style','layoutType','showDropdownOnHover','layoutNavbarFixed','layoutFooterFixed','themes'] | Show/Hide customizer controls + * defaultTheme: 0(Default), 1(Semi Dark), 2(Bordered) + * defaultStyle: 'light', 'dark' (Mode) + * defaultTextDir: 'ltr', 'rtl' (rtlSupport must be true for rtl mode) + * defaultLayoutType: 'static', 'fixed' + * defaultMenuCollapsed: true, false + * defaultNavbarFixed: true, false + * defaultFooterFixed: true, false + * defaultShowDropdownOnHover : true, false (for horizontal layout only) + */ + +if (typeof TemplateCustomizer !== 'undefined') { + window.templateCustomizer = new TemplateCustomizer({ + cssPath: assetsPath + 'vendor/css' + (rtlSupport ? '/rtl' : '') + '/', + themesPath: assetsPath + 'vendor/css' + (rtlSupport ? '/rtl' : '') + '/', + displayCustomizer: true, + // lang: 'fr', + // defaultTheme: 2, + // defaultStyle: 'light', + // defaultTextDir: 'ltr', + // defaultLayoutType: 'fixed', + // defaultMenuCollapsed: true, + // defaultNavbarFixed: true, + // defaultFooterFixed: false + defaultShowDropdownOnHover: true + // controls: [ + // 'rtl', + // 'style', + // 'layoutType', + // 'showDropdownOnHover', + // 'layoutNavbarFixed', + // 'layoutFooterFixed', + // 'themes' + // ], + }); +} diff --git a/httpdocs/themes/vuexy/js/dashboards-analytics.js b/httpdocs/themes/vuexy/js/dashboards-analytics.js new file mode 100755 index 00000000..13de3e4c --- /dev/null +++ b/httpdocs/themes/vuexy/js/dashboards-analytics.js @@ -0,0 +1,662 @@ +/** + * Dashboard Analytics + */ + +'use strict'; + +(function () { + let cardColor, headingColor, labelColor, shadeColor, grayColor; + if (isDarkStyle) { + cardColor = config.colors_dark.cardColor; + labelColor = config.colors_dark.textMuted; + headingColor = config.colors_dark.headingColor; + shadeColor = 'dark'; + grayColor = '#5E6692'; // gray color is for stacked bar chart + } else { + cardColor = config.colors.cardColor; + labelColor = config.colors.textMuted; + headingColor = config.colors.headingColor; + shadeColor = ''; + grayColor = '#817D8D'; + } + + // swiper loop and autoplay + // -------------------------------------------------------------------- + const swiperWithPagination = document.querySelector('#swiper-with-pagination-cards'); + if (swiperWithPagination) { + new Swiper(swiperWithPagination, { + loop: true, + autoplay: { + delay: 2500, + disableOnInteraction: false + }, + pagination: { + clickable: true, + el: '.swiper-pagination' + } + }); + } + + // Revenue Generated Area Chart + // -------------------------------------------------------------------- + const revenueGeneratedEl = document.querySelector('#revenueGenerated'), + revenueGeneratedConfig = { + chart: { + height: 130, + type: 'area', + parentHeightOffset: 0, + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + markers: { + colors: 'transparent', + strokeColors: 'transparent' + }, + grid: { + show: false + }, + colors: [config.colors.success], + fill: { + type: 'gradient', + gradient: { + shade: shadeColor, + shadeIntensity: 0.8, + opacityFrom: 0.6, + opacityTo: 0.1 + } + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 2, + curve: 'smooth' + }, + series: [ + { + data: [300, 350, 330, 380, 340, 400, 380] + } + ], + xaxis: { + show: true, + lines: { + show: false + }, + labels: { + show: false + }, + stroke: { + width: 0 + }, + axisBorder: { + show: false + } + }, + yaxis: { + stroke: { + width: 0 + }, + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof revenueGeneratedEl !== undefined && revenueGeneratedEl !== null) { + const revenueGenerated = new ApexCharts(revenueGeneratedEl, revenueGeneratedConfig); + revenueGenerated.render(); + } + + // Earning Reports Bar Chart + // -------------------------------------------------------------------- + const weeklyEarningReportsEl = document.querySelector('#weeklyEarningReports'), + weeklyEarningReportsConfig = { + chart: { + height: 202, + parentHeightOffset: 0, + type: 'bar', + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + barHeight: '60%', + columnWidth: '38%', + startingShape: 'rounded', + endingShape: 'rounded', + borderRadius: 4, + distributed: true + } + }, + grid: { + show: false, + padding: { + top: -30, + bottom: 0, + left: -10, + right: -10 + } + }, + colors: [ + config.colors_label.primary, + config.colors_label.primary, + config.colors_label.primary, + config.colors_label.primary, + config.colors.primary, + config.colors_label.primary, + config.colors_label.primary + ], + dataLabels: { + enabled: false + }, + series: [ + { + data: [40, 65, 50, 45, 90, 55, 70] + } + ], + legend: { + show: false + }, + xaxis: { + categories: ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px', + fontFamily: 'Public Sans' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + tooltip: { + enabled: false + }, + responsive: [ + { + breakpoint: 1025, + options: { + chart: { + height: 199 + } + } + } + ] + }; + if (typeof weeklyEarningReportsEl !== undefined && weeklyEarningReportsEl !== null) { + const weeklyEarningReports = new ApexCharts(weeklyEarningReportsEl, weeklyEarningReportsConfig); + weeklyEarningReports.render(); + } + + // Support Tracker - Radial Bar Chart + // -------------------------------------------------------------------- + const supportTrackerEl = document.querySelector('#supportTracker'), + supportTrackerOptions = { + series: [85], + labels: ['Completed Task'], + chart: { + height: 360, + type: 'radialBar' + }, + plotOptions: { + radialBar: { + offsetY: 10, + startAngle: -140, + endAngle: 130, + hollow: { + size: '65%' + }, + track: { + background: cardColor, + strokeWidth: '100%' + }, + dataLabels: { + name: { + offsetY: -20, + color: labelColor, + fontSize: '13px', + fontWeight: '400', + fontFamily: 'Public Sans' + }, + value: { + offsetY: 10, + color: headingColor, + fontSize: '38px', + fontWeight: '600', + fontFamily: 'Public Sans' + } + } + } + }, + colors: [config.colors.primary], + fill: { + type: 'gradient', + gradient: { + shade: 'dark', + shadeIntensity: 0.5, + gradientToColors: [config.colors.primary], + inverseColors: true, + opacityFrom: 1, + opacityTo: 0.6, + stops: [30, 70, 100] + } + }, + stroke: { + dashArray: 10 + }, + grid: { + padding: { + top: -20, + bottom: 5 + } + }, + states: { + hover: { + filter: { + type: 'none' + } + }, + active: { + filter: { + type: 'none' + } + } + }, + responsive: [ + { + breakpoint: 1025, + options: { + chart: { + height: 330 + } + } + }, + { + breakpoint: 769, + options: { + chart: { + height: 280 + } + } + } + ] + }; + if (typeof supportTrackerEl !== undefined && supportTrackerEl !== null) { + const supportTracker = new ApexCharts(supportTrackerEl, supportTrackerOptions); + supportTracker.render(); + } + + // Total Earning Chart - Bar Chart + // -------------------------------------------------------------------- + const totalEarningChartEl = document.querySelector('#totalEarningChart'), + totalEarningChartOptions = { + series: [ + { + name: 'Earning', + data: [15, 10, 20, 8, 12, 18, 12, 5] + }, + { + name: 'Expense', + data: [-7, -10, -7, -12, -6, -9, -5, -8] + } + ], + chart: { + height: 230, + parentHeightOffset: 0, + stacked: true, + type: 'bar', + toolbar: { show: false } + }, + tooltip: { + enabled: false + }, + legend: { + show: false + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: '18%', + borderRadius: 5, + startingShape: 'rounded', + endingShape: 'rounded' + } + }, + colors: [config.colors.primary, grayColor], + dataLabels: { + enabled: false + }, + grid: { + show: false, + padding: { + top: -40, + bottom: -20, + left: -10, + right: -2 + } + }, + xaxis: { + labels: { + show: false + }, + axisTicks: { + show: false + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + show: false + } + }, + responsive: [ + { + breakpoint: 1468, + options: { + plotOptions: { + bar: { + columnWidth: '22%' + } + } + } + }, + { + breakpoint: 1197, + options: { + chart: { + height: 228 + }, + plotOptions: { + bar: { + borderRadius: 8, + columnWidth: '26%' + } + } + } + }, + { + breakpoint: 783, + options: { + chart: { + height: 232 + }, + plotOptions: { + bar: { + borderRadius: 6, + columnWidth: '28%' + } + } + } + }, + { + breakpoint: 589, + options: { + plotOptions: { + bar: { + columnWidth: '16%' + } + } + } + }, + { + breakpoint: 520, + options: { + plotOptions: { + bar: { + borderRadius: 6, + columnWidth: '18%' + } + } + } + }, + { + breakpoint: 426, + options: { + plotOptions: { + bar: { + borderRadius: 5, + columnWidth: '20%' + } + } + } + }, + { + breakpoint: 381, + options: { + plotOptions: { + bar: { + columnWidth: '24%' + } + } + } + } + ], + states: { + hover: { + filter: { + type: 'none' + } + }, + active: { + filter: { + type: 'none' + } + } + } + }; + if (typeof totalEarningChartEl !== undefined && totalEarningChartEl !== null) { + const totalEarningChart = new ApexCharts(totalEarningChartEl, totalEarningChartOptions); + totalEarningChart.render(); + } + + // For Datatable + // -------------------------------------------------------------------- + var dt_projects_table = $('.datatables-projects'); + + if (dt_projects_table.length) { + var dt_project = dt_projects_table.DataTable({ + ajax: assetsPath + 'json/user-profile.json', + columns: [ + { data: '' }, + { data: 'id' }, + { data: 'project_name' }, + { data: 'project_leader' }, + { data: '' }, + { data: 'status' }, + { data: '' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + searchable: false, + orderable: false, + responsivePriority: 2, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // For Checkboxes + targets: 1, + orderable: false, + searchable: false, + responsivePriority: 3, + checkboxes: true, + render: function () { + return ''; + }, + checkboxes: { + selectAllRender: '' + } + }, + { + // Avatar image/badge, Name and post + targets: 2, + responsivePriority: 4, + render: function (data, type, full, meta) { + var $user_img = full['project_img'], + $name = full['project_name'], + $date = full['date']; + if ($user_img) { + // For Avatar image + var $output = + 'Avatar'; + } else { + // For Avatar badge + var stateNum = Math.floor(Math.random() * 6); + var states = ['success', 'danger', 'warning', 'info', 'primary', 'secondary']; + var $state = states[stateNum], + $name = full['project_name'], + $initials = $name.match(/\b\w/g) || []; + $initials = (($initials.shift() || '') + ($initials.pop() || '')).toUpperCase(); + $output = '' + $initials + ''; + } + // Creates full output for row + var $row_output = + '
' + + '
' + + '
' + + $output + + '
' + + '
' + + '
' + + '' + + $name + + '' + + '' + + $date + + '' + + '
' + + '
'; + return $row_output; + } + }, + { + // Teams + targets: 4, + orderable: false, + searchable: false, + render: function (data, type, full, meta) { + var $team = full['team'], + $output; + $output = '
'; + for (var i = 0; i < $team.length; i++) { + $output += + '
' + + 'Avatar' + + '
'; + } + $output += '
'; + return $output; + } + }, + { + // Label + targets: -2, + render: function (data, type, full, meta) { + var $status_number = full['status']; + return ( + '
' + + '
' + + '
' + + '
' + + '' + + $status_number + + '
' + ); + } + }, + { + // Actions + targets: -1, + searchable: false, + title: 'Actions', + orderable: false, + render: function (data, type, full, meta) { + return ( + '
' + + '' + + '' + + '
' + ); + } + } + ], + order: [[2, 'desc']], + dom: '<"card-header pb-0 pt-sm-0"<"head-label text-center"><"d-flex justify-content-center justify-content-md-end"f>>t<"row mx-2"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>', + displayLength: 5, + lengthMenu: [5, 10, 25, 50, 75, 100], + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of "' + data['project_name'] + '" Project'; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
' + + col.title + + ':' + + '' + + col.data + + '
').append(data) : false; + } + } + } + }); + $('div.head-label').html('
Projects
'); + } + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +})(); diff --git a/httpdocs/themes/vuexy/js/dashboards-crm.js b/httpdocs/themes/vuexy/js/dashboards-crm.js new file mode 100755 index 00000000..590b631a --- /dev/null +++ b/httpdocs/themes/vuexy/js/dashboards-crm.js @@ -0,0 +1,859 @@ +/** + * Dashboard CRM + */ + +'use strict'; +(function () { + let cardColor, labelColor, shadeColor, legendColor, borderColor; + if (isDarkStyle) { + cardColor = config.colors_dark.cardColor; + labelColor = config.colors_dark.textMuted; + legendColor = config.colors_dark.bodyColor; + borderColor = config.colors_dark.borderColor; + shadeColor = 'dark'; + } else { + cardColor = config.colors.cardColor; + labelColor = config.colors.textMuted; + legendColor = config.colors.bodyColor; + borderColor = config.colors.borderColor; + shadeColor = ''; + } + + // Sales last year Area Chart + // -------------------------------------------------------------------- + const salesLastYearEl = document.querySelector('#salesLastYear'), + salesLastYearConfig = { + chart: { + height: 78, + type: 'area', + parentHeightOffset: 0, + toolbar: { + show: false + }, + sparkline: { + enabled: true + } + }, + markers: { + colors: 'transparent', + strokeColors: 'transparent' + }, + grid: { + show: false + }, + colors: [config.colors.success], + fill: { + type: 'gradient', + gradient: { + shade: shadeColor, + shadeIntensity: 0.8, + opacityFrom: 0.6, + opacityTo: 0.25 + } + }, + dataLabels: { + enabled: false + }, + stroke: { + width: 2, + curve: 'smooth' + }, + series: [ + { + data: [200, 55, 400, 250] + } + ], + xaxis: { + show: true, + lines: { + show: false + }, + labels: { + show: false + }, + stroke: { + width: 0 + }, + axisBorder: { + show: false + } + }, + yaxis: { + stroke: { + width: 0 + }, + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof salesLastYearEl !== undefined && salesLastYearEl !== null) { + const salesLastYear = new ApexCharts(salesLastYearEl, salesLastYearConfig); + salesLastYear.render(); + } + + // Sessions Last Month - Staked Bar Chart + // -------------------------------------------------------------------- + const sessionsLastMonthEl = document.querySelector('#sessionsLastMonth'), + sessionsLastMonthConfig = { + chart: { + type: 'bar', + height: 78, + parentHeightOffset: 0, + stacked: true, + toolbar: { + show: false + } + }, + series: [ + { + name: 'PRODUCT A', + data: [4, 3, 6, 4, 3] + }, + { + name: 'PRODUCT B', + data: [-3, -4, -3, -2, -3] + } + ], + plotOptions: { + bar: { + horizontal: false, + columnWidth: '30%', + barHeight: '100%', + borderRadius: 5, + startingShape: 'rounded', + endingShape: 'rounded' + } + }, + dataLabels: { + enabled: false + }, + tooltip: { + enabled: false + }, + stroke: { + curve: 'smooth', + width: 1, + lineCap: 'round', + colors: [cardColor] + }, + legend: { + show: false + }, + colors: [config.colors.primary, config.colors.success], + grid: { + show: false, + padding: { + top: -41, + right: -10, + left: -8, + bottom: -22 + } + }, + xaxis: { + categories: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], + labels: { + show: false + }, + axisBorder: { + show: false + }, + axisTicks: { + show: false + } + }, + yaxis: { + show: false + }, + responsive: [ + { + breakpoint: 1441, + options: { + plotOptions: { + bar: { + columnWidth: '40%' + } + } + } + }, + { + breakpoint: 1300, + options: { + plotOptions: { + bar: { + columnWidth: '50%' + } + } + } + }, + { + breakpoint: 1200, + options: { + plotOptions: { + bar: { + borderRadius: 6, + columnWidth: '20%' + } + } + } + }, + { + breakpoint: 1025, + options: { + plotOptions: { + bar: { + borderRadius: 6, + columnWidth: '20%' + } + }, + chart: { + height: 80 + } + } + }, + { + breakpoint: 900, + options: { + plotOptions: { + bar: { + borderRadius: 6 + } + } + } + }, + { + breakpoint: 782, + options: { + plotOptions: { + bar: { + columnWidth: '30%' + } + } + } + }, + { + breakpoint: 426, + options: { + plotOptions: { + bar: { + borderRadius: 5, + columnWidth: '35%' + } + }, + chart: { + height: 78 + } + } + }, + { + breakpoint: 376, + options: { + plotOptions: { + bar: { + borderRadius: 6 + } + } + } + } + ], + states: { + hover: { + filter: { + type: 'none' + } + }, + active: { + filter: { + type: 'none' + } + } + } + }; + if (typeof sessionsLastMonthEl !== undefined && sessionsLastMonthEl !== null) { + const sessionsLastMonth = new ApexCharts(sessionsLastMonthEl, sessionsLastMonthConfig); + sessionsLastMonth.render(); + } + + // Revenue Growth Chart + // -------------------------------------------------------------------- + const revenueGrowthEl = document.querySelector('#revenueGrowth'), + revenueGrowthConfig = { + chart: { + height: 170, + type: 'bar', + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + barHeight: '80%', + columnWidth: '30%', + startingShape: 'rounded', + endingShape: 'rounded', + borderRadius: 6, + distributed: true + } + }, + tooltip: { + enabled: false + }, + grid: { + show: false, + padding: { + top: -20, + bottom: -12, + left: -10, + right: 0 + } + }, + colors: [ + config.colors_label.success, + config.colors_label.success, + config.colors_label.success, + config.colors_label.success, + config.colors.success, + config.colors_label.success, + config.colors_label.success + ], + dataLabels: { + enabled: false + }, + series: [ + { + data: [25, 40, 55, 70, 85, 70, 55] + } + ], + legend: { + show: false + }, + xaxis: { + categories: ['M', 'T', 'W', 'T', 'F', 'S', 'S'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px', + fontFamily: 'Public Sans' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + states: { + hover: { + filter: { + type: 'none' + } + } + }, + responsive: [ + { + breakpoint: 1471, + options: { + plotOptions: { + bar: { + columnWidth: '50%' + } + } + } + }, + { + breakpoint: 1350, + options: { + plotOptions: { + bar: { + columnWidth: '57%' + } + } + } + }, + { + breakpoint: 1032, + options: { + plotOptions: { + bar: { + columnWidth: '60%' + } + } + } + }, + { + breakpoint: 992, + options: { + plotOptions: { + bar: { + columnWidth: '40%', + borderRadius: 8 + } + } + } + }, + { + breakpoint: 855, + options: { + plotOptions: { + bar: { + columnWidth: '50%', + borderRadius: 6 + } + } + } + }, + { + breakpoint: 440, + options: { + plotOptions: { + bar: { + columnWidth: '40%' + } + } + } + }, + { + breakpoint: 381, + options: { + plotOptions: { + bar: { + columnWidth: '45%' + } + } + } + } + ] + }; + if (typeof revenueGrowthEl !== undefined && revenueGrowthEl !== null) { + const revenueGrowth = new ApexCharts(revenueGrowthEl, revenueGrowthConfig); + revenueGrowth.render(); + } + + // Earning Reports Tabs Function + function EarningReportsBarChart(arrayData, highlightData) { + const basicColor = config.colors_label.primary, + highlightColor = config.colors.primary; + var colorArr = []; + + for (let i = 0; i < arrayData.length; i++) { + if (i === highlightData) { + colorArr.push(highlightColor); + } else { + colorArr.push(basicColor); + } + } + + const earningReportBarChartOpt = { + chart: { + height: 258, + parentHeightOffset: 0, + type: 'bar', + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + columnWidth: '32%', + startingShape: 'rounded', + borderRadius: 7, + distributed: true, + dataLabels: { + position: 'top' + } + } + }, + grid: { + show: false, + padding: { + top: 0, + bottom: 0, + left: -10, + right: -10 + } + }, + colors: colorArr, + dataLabels: { + enabled: true, + formatter: function (val) { + return val + 'k'; + }, + offsetY: -25, + style: { + fontSize: '15px', + colors: [legendColor], + fontWeight: '600', + fontFamily: 'Public Sans' + } + }, + series: [ + { + data: arrayData + } + ], + legend: { + show: false + }, + tooltip: { + enabled: false + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep'], + axisBorder: { + show: true, + color: borderColor + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px', + fontFamily: 'Public Sans' + } + } + }, + yaxis: { + labels: { + offsetX: -15, + formatter: function (val) { + return '$' + parseInt(val / 1) + 'k'; + }, + style: { + fontSize: '13px', + colors: labelColor, + fontFamily: 'Public Sans' + }, + min: 0, + max: 60000, + tickAmount: 6 + } + }, + responsive: [ + { + breakpoint: 1441, + options: { + plotOptions: { + bar: { + columnWidth: '41%' + } + } + } + }, + { + breakpoint: 590, + options: { + plotOptions: { + bar: { + columnWidth: '61%', + borderRadius: 5 + } + }, + yaxis: { + labels: { + show: false + } + }, + grid: { + padding: { + right: 0, + left: -20 + } + }, + dataLabels: { + style: { + fontSize: '12px', + fontWeight: '400' + } + } + } + } + ] + }; + return earningReportBarChartOpt; + } + var chartJson = 'earning-reports-charts.json'; + // Earning Chart JSON data + var earningReportsChart = $.ajax({ + url: assetsPath + 'json/' + chartJson, //? Use your own search api instead + dataType: 'json', + async: false + }).responseJSON; + + // Earning Reports Tabs Orders + // -------------------------------------------------------------------- + const earningReportsTabsOrdersEl = document.querySelector('#earningReportsTabsOrders'), + earningReportsTabsOrdersConfig = EarningReportsBarChart( + earningReportsChart['data'][0]['chart_data'], + earningReportsChart['data'][0]['active_option'] + ); + if (typeof earningReportsTabsOrdersEl !== undefined && earningReportsTabsOrdersEl !== null) { + const earningReportsTabsOrders = new ApexCharts(earningReportsTabsOrdersEl, earningReportsTabsOrdersConfig); + earningReportsTabsOrders.render(); + } + // Earning Reports Tabs Sales + // -------------------------------------------------------------------- + const earningReportsTabsSalesEl = document.querySelector('#earningReportsTabsSales'), + earningReportsTabsSalesConfig = EarningReportsBarChart( + earningReportsChart['data'][1]['chart_data'], + earningReportsChart['data'][1]['active_option'] + ); + if (typeof earningReportsTabsSalesEl !== undefined && earningReportsTabsSalesEl !== null) { + const earningReportsTabsSales = new ApexCharts(earningReportsTabsSalesEl, earningReportsTabsSalesConfig); + earningReportsTabsSales.render(); + } + // Earning Reports Tabs Profit + // -------------------------------------------------------------------- + const earningReportsTabsProfitEl = document.querySelector('#earningReportsTabsProfit'), + earningReportsTabsProfitConfig = EarningReportsBarChart( + earningReportsChart['data'][2]['chart_data'], + earningReportsChart['data'][2]['active_option'] + ); + if (typeof earningReportsTabsProfitEl !== undefined && earningReportsTabsProfitEl !== null) { + const earningReportsTabsProfit = new ApexCharts(earningReportsTabsProfitEl, earningReportsTabsProfitConfig); + earningReportsTabsProfit.render(); + } + // Earning Reports Tabs Income + // -------------------------------------------------------------------- + const earningReportsTabsIncomeEl = document.querySelector('#earningReportsTabsIncome'), + earningReportsTabsIncomeConfig = EarningReportsBarChart( + earningReportsChart['data'][3]['chart_data'], + earningReportsChart['data'][3]['active_option'] + ); + if (typeof earningReportsTabsIncomeEl !== undefined && earningReportsTabsIncomeEl !== null) { + const earningReportsTabsIncome = new ApexCharts(earningReportsTabsIncomeEl, earningReportsTabsIncomeConfig); + earningReportsTabsIncome.render(); + } + + // Sales Last 6 Months - Radar Chart + // -------------------------------------------------------------------- + const salesLastMonthEl = document.querySelector('#salesLastMonth'), + salesLastMonthConfig = { + series: [ + { + name: 'Sales', + data: [32, 27, 27, 30, 25, 25] + }, + { + name: 'Visits', + data: [25, 35, 20, 20, 20, 20] + } + ], + chart: { + height: 340, + type: 'radar', + toolbar: { + show: false + } + }, + plotOptions: { + radar: { + polygons: { + strokeColors: borderColor, + connectorColors: borderColor + } + } + }, + stroke: { + show: false, + width: 0 + }, + legend: { + show: true, + fontSize: '13px', + position: 'bottom', + labels: { + colors: legendColor, + useSeriesColors: false + }, + markers: { + height: 10, + width: 10, + offsetX: -3 + }, + itemMargin: { + horizontal: 10 + }, + onItemHover: { + highlightDataSeries: false + } + }, + colors: [config.colors.primary, config.colors.info], + fill: { + opacity: [1, 0.85] + }, + markers: { + size: 0 + }, + grid: { + show: false, + padding: { + top: 0, + bottom: -5 + } + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'], + labels: { + show: true, + style: { + colors: [labelColor, labelColor, labelColor, labelColor, labelColor, labelColor], + fontSize: '13px', + fontFamily: 'Public Sans' + } + } + }, + yaxis: { + show: false, + min: 0, + max: 40, + tickAmount: 4 + }, + responsive: [ + { + breakpoint: 769, + options: { + chart: { + height: 400 + } + } + } + ] + }; + if (typeof salesLastMonthEl !== undefined && salesLastMonthEl !== null) { + const salesLastMonth = new ApexCharts(salesLastMonthEl, salesLastMonthConfig); + salesLastMonth.render(); + } + + // Progress Chart + // -------------------------------------------------------------------- + // Radial bar chart functions + function radialBarChart(color, value) { + const radialBarChartOpt = { + chart: { + height: 53, + width: 43, + type: 'radialBar' + }, + plotOptions: { + radialBar: { + hollow: { + size: '33%' + }, + dataLabels: { + show: false + }, + track: { + background: config.colors_label.secondary + } + } + }, + stroke: { + lineCap: 'round' + }, + colors: [color], + grid: { + padding: { + top: -15, + bottom: -15, + left: -5, + right: -15 + } + }, + series: [value], + labels: ['Progress'] + }; + return radialBarChartOpt; + } + // All progress chart + const chartProgressList = document.querySelectorAll('.chart-progress'); + if (chartProgressList) { + chartProgressList.forEach(function (chartProgressEl) { + const color = config.colors[chartProgressEl.dataset.color], + series = chartProgressEl.dataset.series; + const optionsBundle = radialBarChart(color, series); + const chart = new ApexCharts(chartProgressEl, optionsBundle); + chart.render(); + }); + } + + // Project Status - Line Chart + // -------------------------------------------------------------------- + const projectStatusEl = document.querySelector('#projectStatusChart'), + projectStatusConfig = { + chart: { + height: 240, + type: 'area', + toolbar: false + }, + markers: { + strokeColor: 'transparent' + }, + series: [ + { + data: [2000, 2000, 4000, 4000, 3050, 3050, 2000, 2000, 3050, 3050, 4700, 4700, 2750, 2750, 5700, 5700] + } + ], + dataLabels: { + enabled: false + }, + grid: { + show: false, + padding: { + left: -10, + right: -5 + } + }, + stroke: { + width: 3, + curve: 'straight' + }, + colors: [config.colors.warning], + fill: { + type: 'gradient', + gradient: { + opacityFrom: 0.6, + opacityTo: 0.15, + stops: [0, 95, 100] + } + }, + xaxis: { + labels: { + show: false + }, + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + lines: { + show: false + } + }, + yaxis: { + labels: { + show: false + }, + min: 1000, + max: 6000, + tickAmount: 5 + }, + tooltip: { + enabled: false + } + }; + if (typeof projectStatusEl !== undefined && projectStatusEl !== null) { + const projectStatus = new ApexCharts(projectStatusEl, projectStatusConfig); + projectStatus.render(); + } +})(); diff --git a/httpdocs/themes/vuexy/js/dashboards-ecommerce.js b/httpdocs/themes/vuexy/js/dashboards-ecommerce.js new file mode 100755 index 00000000..4119479e --- /dev/null +++ b/httpdocs/themes/vuexy/js/dashboards-ecommerce.js @@ -0,0 +1,984 @@ +/** + * Dashboard eCommerce + */ + +'use strict'; + +(function () { + let cardColor, labelColor, headingColor, borderColor, legendColor; + + if (isDarkStyle) { + cardColor = config.colors_dark.cardColor; + labelColor = config.colors_dark.textMuted; + legendColor = config.colors_dark.bodyColor; + headingColor = config.colors_dark.headingColor; + borderColor = config.colors_dark.borderColor; + } else { + cardColor = config.colors.cardColor; + labelColor = config.colors.textMuted; + legendColor = config.colors.bodyColor; + headingColor = config.colors.headingColor; + borderColor = config.colors.borderColor; + } + + // Donut Chart Colors + const chartColors = { + donut: { + series1: config.colors.success, + series2: '#28c76fb3', + series3: '#28c76f80', + series4: config.colors_label.success + } + }; + + // Expenses Radial Bar Chart + // -------------------------------------------------------------------- + const expensesRadialChartEl = document.querySelector('#expensesChart'), + expensesRadialChartConfig = { + chart: { + height: 145, + sparkline: { + enabled: true + }, + parentHeightOffset: 0, + type: 'radialBar' + }, + colors: [config.colors.warning], + series: [78], + plotOptions: { + radialBar: { + offsetY: 0, + startAngle: -90, + endAngle: 90, + hollow: { + size: '65%' + }, + track: { + strokeWidth: '45%', + background: borderColor + }, + dataLabels: { + name: { + show: false + }, + value: { + fontSize: '22px', + color: headingColor, + fontWeight: 600, + offsetY: -5 + } + } + } + }, + grid: { + show: false, + padding: { + bottom: 5 + } + }, + stroke: { + lineCap: 'round' + }, + labels: ['Progress'], + responsive: [ + { + breakpoint: 1442, + options: { + chart: { + height: 120 + }, + plotOptions: { + radialBar: { + dataLabels: { + value: { + fontSize: '18px' + } + }, + hollow: { + size: '60%' + } + } + } + } + }, + { + breakpoint: 1025, + options: { + chart: { + height: 136 + }, + plotOptions: { + radialBar: { + hollow: { + size: '65%' + }, + dataLabels: { + value: { + fontSize: '18px' + } + } + } + } + } + }, + { + breakpoint: 769, + options: { + chart: { + height: 120 + }, + plotOptions: { + radialBar: { + hollow: { + size: '55%' + } + } + } + } + }, + { + breakpoint: 426, + options: { + chart: { + height: 145 + }, + plotOptions: { + radialBar: { + hollow: { + size: '65%' + } + } + }, + dataLabels: { + value: { + offsetY: 0 + } + } + } + }, + { + breakpoint: 376, + options: { + chart: { + height: 105 + }, + plotOptions: { + radialBar: { + hollow: { + size: '60%' + } + } + } + } + } + ] + }; + if (typeof expensesRadialChartEl !== undefined && expensesRadialChartEl !== null) { + const expensesRadialChart = new ApexCharts(expensesRadialChartEl, expensesRadialChartConfig); + expensesRadialChart.render(); + } + + // Profit last month Line Chart + // -------------------------------------------------------------------- + const profitLastMonthEl = document.querySelector('#profitLastMonth'), + profitLastMonthConfig = { + chart: { + height: 90, + type: 'line', + parentHeightOffset: 0, + toolbar: { + show: false + } + }, + grid: { + borderColor: borderColor, + strokeDashArray: 6, + xaxis: { + lines: { + show: true, + colors: '#000' + } + }, + yaxis: { + lines: { + show: false + } + }, + padding: { + top: -18, + left: -4, + right: 7, + bottom: -10 + } + }, + colors: [config.colors.info], + stroke: { + width: 2 + }, + series: [ + { + data: [0, 25, 10, 40, 25, 55] + } + ], + tooltip: { + shared: false, + intersect: true, + x: { + show: false + } + }, + xaxis: { + labels: { + show: false + }, + axisTicks: { + show: false + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + show: false + } + }, + tooltip: { + enabled: false + }, + markers: { + size: 3.5, + fillColor: config.colors.info, + strokeColors: 'transparent', + strokeWidth: 3.2, + discrete: [ + { + seriesIndex: 0, + dataPointIndex: 5, + fillColor: cardColor, + strokeColor: config.colors.info, + size: 5, + shape: 'circle' + } + ], + hover: { + size: 5.5 + } + }, + responsive: [ + { + breakpoint: 1442, + options: { + chart: { + height: 100 + } + } + }, + { + breakpoint: 1025, + options: { + chart: { + height: 86 + } + } + }, + { + breakpoint: 769, + options: { + chart: { + height: 93 + } + } + } + ] + }; + if (typeof profitLastMonthEl !== undefined && profitLastMonthEl !== null) { + const profitLastMonth = new ApexCharts(profitLastMonthEl, profitLastMonthConfig); + profitLastMonth.render(); + } + + // Generated Leads Chart + // -------------------------------------------------------------------- + const generatedLeadsChartEl = document.querySelector('#generatedLeadsChart'), + generatedLeadsChartConfig = { + chart: { + height: 147, + width: 130, + parentHeightOffset: 0, + type: 'donut' + }, + labels: ['Electronic', 'Sports', 'Decor', 'Fashion'], + series: [45, 58, 30, 50], + colors: [ + chartColors.donut.series1, + chartColors.donut.series2, + chartColors.donut.series3, + chartColors.donut.series4 + ], + stroke: { + width: 0 + }, + dataLabels: { + enabled: false, + formatter: function (val, opt) { + return parseInt(val) + '%'; + } + }, + legend: { + show: false + }, + tooltip: { + theme: false + }, + grid: { + padding: { + top: 15, + right: -20, + left: -20 + } + }, + states: { + hover: { + filter: { + type: 'none' + } + } + }, + plotOptions: { + pie: { + donut: { + size: '70%', + labels: { + show: true, + value: { + fontSize: '1.375rem', + fontFamily: 'Public Sans', + color: headingColor, + fontWeight: 600, + offsetY: -15, + formatter: function (val) { + return parseInt(val) + '%'; + } + }, + name: { + offsetY: 20, + fontFamily: 'Public Sans' + }, + total: { + show: true, + showAlways: true, + color: config.colors.success, + fontSize: '.8125rem', + label: 'Total', + fontFamily: 'Public Sans', + formatter: function (w) { + return '184'; + } + } + } + } + } + }, + responsive: [ + { + breakpoint: 1025, + options: { + chart: { + height: 172, + width: 160 + } + } + }, + { + breakpoint: 769, + options: { + chart: { + height: 178 + } + } + }, + { + breakpoint: 426, + options: { + chart: { + height: 147 + } + } + } + ] + }; + if (typeof generatedLeadsChartEl !== undefined && generatedLeadsChartEl !== null) { + const generatedLeadsChart = new ApexCharts(generatedLeadsChartEl, generatedLeadsChartConfig); + generatedLeadsChart.render(); + } + + // Total Revenue Report Chart - Bar Chart + // -------------------------------------------------------------------- + const totalRevenueChartEl = document.querySelector('#totalRevenueChart'), + totalRevenueChartOptions = { + series: [ + { + name: 'Earning', + data: [270, 210, 180, 200, 250, 280, 250, 270, 150] + }, + { + name: 'Expense', + data: [-140, -160, -180, -150, -100, -60, -80, -100, -180] + } + ], + chart: { + height: 365, + parentHeightOffset: 0, + stacked: true, + type: 'bar', + toolbar: { show: false } + }, + tooltip: { + enabled: false + }, + plotOptions: { + bar: { + horizontal: false, + columnWidth: '40%', + borderRadius: 10, + startingShape: 'rounded', + endingShape: 'rounded' + } + }, + colors: [config.colors.primary, config.colors.warning], + dataLabels: { + enabled: false + }, + stroke: { + curve: 'smooth', + width: 6, + lineCap: 'round', + colors: [cardColor] + }, + legend: { + show: true, + horizontalAlign: 'left', + position: 'top', + fontFamily: 'Public Sans', + markers: { + height: 12, + width: 12, + radius: 12, + offsetX: -3, + offsetY: 2 + }, + labels: { + colors: legendColor + }, + itemMargin: { + horizontal: 5 + } + }, + grid: { + show: false, + padding: { + bottom: -8, + top: 20 + } + }, + xaxis: { + categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep'], + labels: { + style: { + fontSize: '13px', + colors: labelColor, + fontFamily: 'Public Sans' + } + }, + axisTicks: { + show: false + }, + axisBorder: { + show: false + } + }, + yaxis: { + labels: { + offsetX: -16, + style: { + fontSize: '13px', + colors: labelColor, + fontFamily: 'Public Sans' + } + }, + min: -200, + max: 300, + tickAmount: 5 + }, + responsive: [ + { + breakpoint: 1700, + options: { + plotOptions: { + bar: { + columnWidth: '43%' + } + } + } + }, + { + breakpoint: 1441, + options: { + plotOptions: { + bar: { + columnWidth: '52%' + } + }, + chart: { + height: 375 + } + } + }, + { + breakpoint: 1300, + options: { + plotOptions: { + bar: { + columnWidth: '62%' + } + } + } + }, + { + breakpoint: 1025, + options: { + plotOptions: { + bar: { + columnWidth: '70%' + } + }, + chart: { + height: 390 + } + } + }, + { + breakpoint: 991, + options: { + plotOptions: { + bar: { + columnWidth: '38%' + } + } + } + }, + { + breakpoint: 850, + options: { + plotOptions: { + bar: { + columnWidth: '48%' + } + } + } + }, + { + breakpoint: 449, + options: { + plotOptions: { + bar: { + columnWidth: '70%' + } + }, + chart: { + height: 360 + }, + xaxis: { + labels: { + offsetY: -5 + } + } + } + }, + { + breakpoint: 394, + options: { + plotOptions: { + bar: { + columnWidth: '88%' + } + } + } + } + ], + states: { + hover: { + filter: { + type: 'none' + } + }, + active: { + filter: { + type: 'none' + } + } + } + }; + if (typeof totalRevenueChartEl !== undefined && totalRevenueChartEl !== null) { + const totalRevenueChart = new ApexCharts(totalRevenueChartEl, totalRevenueChartOptions); + totalRevenueChart.render(); + } + + // Total Revenue Report Budget Line Chart + const budgetChartEl = document.querySelector('#budgetChart'), + budgetChartOptions = { + chart: { + height: 100, + toolbar: { show: false }, + zoom: { enabled: false }, + type: 'line' + }, + series: [ + { + name: 'Last Month', + data: [20, 10, 30, 16, 24, 5, 40, 23, 28, 5, 30] + }, + { + name: 'This Month', + data: [50, 40, 60, 46, 54, 35, 70, 53, 58, 35, 60] + } + ], + stroke: { + curve: 'smooth', + dashArray: [5, 0], + width: [1, 2] + }, + legend: { + show: false + }, + colors: [borderColor, config.colors.primary], + grid: { + show: false, + borderColor: borderColor, + padding: { + top: -30, + bottom: -15, + left: 25 + } + }, + markers: { + size: 0 + }, + xaxis: { + labels: { + show: false + }, + axisTicks: { + show: false + }, + axisBorder: { + show: false + } + }, + yaxis: { + show: false + }, + tooltip: { + enabled: false + } + }; + if (typeof budgetChartEl !== undefined && budgetChartEl !== null) { + const budgetChart = new ApexCharts(budgetChartEl, budgetChartOptions); + budgetChart.render(); + } + + // Earning Reports Bar Chart + // -------------------------------------------------------------------- + const reportBarChartEl = document.querySelector('#reportBarChart'), + reportBarChartConfig = { + chart: { + height: 230, + type: 'bar', + toolbar: { + show: false + } + }, + plotOptions: { + bar: { + barHeight: '60%', + columnWidth: '60%', + startingShape: 'rounded', + endingShape: 'rounded', + borderRadius: 4, + distributed: true + } + }, + grid: { + show: false, + padding: { + top: -20, + bottom: 0, + left: -10, + right: -10 + } + }, + colors: [ + config.colors_label.primary, + config.colors_label.primary, + config.colors_label.primary, + config.colors_label.primary, + config.colors.primary, + config.colors_label.primary, + config.colors_label.primary + ], + dataLabels: { + enabled: false + }, + series: [ + { + data: [40, 95, 60, 45, 90, 50, 75] + } + ], + legend: { + show: false + }, + xaxis: { + categories: ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'], + axisBorder: { + show: false + }, + axisTicks: { + show: false + }, + labels: { + style: { + colors: labelColor, + fontSize: '13px' + } + } + }, + yaxis: { + labels: { + show: false + } + }, + responsive: [ + { + breakpoint: 1025, + options: { + chart: { + height: 190 + } + } + }, + { + breakpoint: 769, + options: { + chart: { + height: 250 + } + } + } + ] + }; + if (typeof reportBarChartEl !== undefined && reportBarChartEl !== null) { + const barChart = new ApexCharts(reportBarChartEl, reportBarChartConfig); + barChart.render(); + } + + // Variable declaration for table + var dt_invoice_table = $('.datatable-invoice'); + // Invoice datatable + // -------------------------------------------------------------------- + if (dt_invoice_table.length) { + var dt_invoice = dt_invoice_table.DataTable({ + ajax: assetsPath + 'json/invoice-list.json', // JSON file to add data + columns: [ + // columns according to JSON + { data: '' }, + { data: 'invoice_id' }, + { data: 'invoice_status' }, + { data: 'total' }, + { data: 'issued_date' }, + { data: 'invoice_status' }, + { data: 'action' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + responsivePriority: 2, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // Invoice ID + targets: 1, + render: function (data, type, full, meta) { + var $invoice_id = full['invoice_id']; + // Creates full output for row + var $row_output = '#' + $invoice_id + ''; + return $row_output; + } + }, + { + // Invoice status + targets: 2, + render: function (data, type, full, meta) { + var $invoice_status = full['invoice_status'], + $due_date = full['due_date'], + $balance = full['balance']; + var roleBadgeObj = { + Sent: '', + Draft: + '', + 'Past Due': + '', + 'Partial Payment': + '', + Paid: '', + Downloaded: + '' + }; + return ( + " Balance: ' + + $balance + + '
Due Date: ' + + $due_date + + "
'>" + + roleBadgeObj[$invoice_status] + + '' + ); + } + }, + { + // Total Invoice Amount + targets: 3, + render: function (data, type, full, meta) { + var $total = full['total']; + return '$' + $total; + } + }, + { + // Actions + targets: -1, + title: 'Actions', + orderable: false, + render: function (data, type, full, meta) { + return ( + '
' + + '' + + '' + + '' + + '
' + ); + } + }, + { + // Invoice Status + targets: -2, + visible: false + } + ], + order: [[1, 'desc']], + dom: + '<"row ms-2 me-3"' + + '<"col-12 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start gap-2"l<"dt-action-buttons text-xl-end text-lg-start text-md-end text-start mt-md-0 mt-3"B>>' + + '<"col-12 col-md-6 d-flex align-items-center justify-content-end flex-column flex-md-row pe-3 gap-md-2"f<"invoice_status mb-3 mb-md-0">>' + + '>t' + + '<"row mx-2"' + + '<"col-sm-12 col-md-6"i>' + + '<"col-sm-12 col-md-6"p>' + + '>', + displayLength: 7, + lengthMenu: [7, 10, 25, 50, 75, 100], + language: { + sLengthMenu: '_MENU_', + search: '', + searchPlaceholder: 'Search Invoice' + }, + // Buttons + buttons: [ + { + text: 'Create Invoice', + className: 'btn btn-primary', + action: function (e, dt, button, config) { + window.location = 'app-invoice-add.html'; + } + } + ], + // For responsive popup + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
' + + col.title + + ':' + + '' + + col.data + + '
').append(data) : false; + } + } + }, + initComplete: function () { + // Adding role filter once table initialized + this.api() + .columns(5) + .every(function () { + var column = this; + var select = $( + '' + ) + .appendTo('.invoice_status') + .on('change', function () { + var val = $.fn.dataTable.util.escapeRegex($(this).val()); + column.search(val ? '^' + val + '$' : '', true, false).draw(); + }); + + column + .data() + .unique() + .sort() + .each(function (d, j) { + select.append(''); + }); + }); + } + }); + } + // On each datatable draw, initialize tooltip + dt_invoice_table.on('draw.dt', function () { + var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl, { + boundary: document.body + }); + }); + }); + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +})(); diff --git a/httpdocs/themes/vuexy/js/datatables-editor/dataTables.editor.js b/httpdocs/themes/vuexy/js/datatables-editor/dataTables.editor.js new file mode 100755 index 00000000..8c4343a8 --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/dataTables.editor.js @@ -0,0 +1,6830 @@ +/*! DataTables Editor v2.1.3 + * + * ©2012-2023 SpryMedia Ltd, all rights reserved. + * License: editor.datatables.net/license + */ + +(function( factory ){ + if ( typeof define === 'function' && define.amd ) { + // AMD + define( ['jquery', 'datatables.net'], function ( $ ) { + return factory( $, window, document ); + } ); + } + else if ( typeof exports === 'object' ) { + // CommonJS + var jq = require('jquery'); + var cjsRequires = function (root, $) { + if ( ! $.fn.dataTable ) { + require('datatables.net')(root, $); + } + }; + + if (typeof window === 'undefined') { + module.exports = function (root, $) { + if ( ! root ) { + // CommonJS environments without a window global must pass a + // root. This will give an error otherwise + root = window; + } + + if ( ! $ ) { + $ = jq( root ); + } + + cjsRequires( root, $ ); + return factory( $, root, root.document ); + }; + } + else { + cjsRequires( window, jq ); + module.exports = factory( jq, window, window.document ); + } + } + else { + // Browser + factory( jQuery, window, document ); + } +}(function( $, window, document, undefined ) { +'use strict'; +var DataTable = $.fn.dataTable; + +var formOptions = { + buttons: true, + drawType: false, + focus: 0, + message: true, + nest: false, + onBackground: 'blur', + onBlur: 'close', + onComplete: 'close', + onEsc: 'close', + onFieldError: 'focus', + onReturn: 'submit', + scope: 'row', + submit: 'all', + submitHtml: '▶', + submitTrigger: null, + title: true +}; + +var defaults$1 = { + /** + * Parameter name to use to submit data to the server. + * + * @type string + */ + actionName: 'action', + /** + * Control how the Ajax call to update data on the server. + * + * This option matches the `dt-init ajax` option in that is can be provided + * in one of three different ways: + * + * * string - As a string, the value given is used as the url to target + * the Ajax request to, using the default Editor Ajax options. Note that + * for backwards compatibility you can use the form "METHOD URL" - for + * example: `"PUT api/users"`, although it is recommended you use the + * object form described below. + * * object - As an object, the `ajax` property has two forms: + * * Used to extend and override the default Ajax options that Editor + * uses. This can be very useful for adding extra data for example, or + * changing the HTTP request type. + * * With `create`, `edit` and `remove` properties, Editor will use the + * option for the action that it is taking, which can be useful for + * REST style interfaces. The value of each property can be a string, + * object or function, using exactly the same options as the main `ajax` + * option. All three options must be defined if this form is to be used. + * * function - As a function this gives complete control over the method + * used to update the server (if indeed a server is being used!). For + * example, you could use a different data store such as localStorage, + * Firebase or route the data through a web-socket. + * + * @example + * // As a string - all actions are submitted to this URI as POST requests + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": 'php/index.php', + * "table": "#example" + * } ); + * } ); + * + * @example + * // As an object - using GET rather than POST + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": { + * "type": 'GET', + * "url": 'php/index.php + * }, + * "table": "#example" + * } ); + * } ); + * + * @example + * // As an object - each action is submitted to a different URI as POST requests + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": { + * "create": "/rest/user/create", + * "edit": "/rest/user/_id_/edit", + * "remove": "/rest/user/_id_/delete" + * }, + * "table": "#example" + * } ); + * } ); + * + * @example + * // As an object - with different HTTP methods for each action + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": { + * "create": { + * type: 'POST', + * url: '/rest/user/create' + * }, + * "edit": { + * type: 'PUT', + * url: '/rest/user/edit/_id_' + * }, + * "remove": { + * type: 'DELETE', + * url: '/rest/user/delete' + * } + * }, + * "table": "#example" + * } ); + * } ); + * + * // As a function - Making a custom `$.ajax` call + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "table": "#example", + * "ajax": function ( method, url, data, successCallback, errorCallback ) { + * $.ajax( { + * "type": method, + * "url": url, + * "data": data, + * "dataType": "json", + * "success": function (json) { + * successCallback( json ); + * }, + * "error": function (xhr, error, thrown) { + * errorCallback( xhr, error, thrown ); + * } + * } ); + * } + * } ); + * } ); + */ + ajax: null, + /** + * The display controller for the form. The form itself is just a collection of + * DOM elements which require a display container. This display controller allows + * the visual appearance of the form to be significantly altered without major + * alterations to the Editor code. There are two display controllers built into + * Editor *lightbox* and *envelope*. The value of this property will + * be used to access the display controller defined in {@link Editor.display} + * for the given name. Additional display controllers can be added by adding objects + * to that object, through extending the displayController model: + * {@link Editor.models.displayController}. + * + * @type string + * @default lightbox + * + * @example + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": "php/index.php", + * "table": "#example", + * "display": 'envelope' + * } ); + * } ); + */ + display: 'lightbox', + /** + * Events / callbacks - event handlers can be assigned as an individual function + * during initialisation using the parameters in this name space. The names, and + * the parameters passed to each callback match their event equivalent in the + * {@link Editor} object. + * + * @namespace + * @deprecated Since 1.3. Use the `on()` API method instead. Note that events + * passed in do still operate as they did in 1.2- but are no longer + * individually documented. + */ + events: {}, + /** + * Fields to initialise the form with - see {@link Editor.models.field} for + * a full list of the options available to each field. Note that if fields are not + * added to the form at initialisation time using this option, they can be added using + * the {@link Editor#add} API method. + * + * @type array + * @default [] + * + * @example + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": "php/index.php", + * "table": "#example", + * "fields": [ { + * "label": "User name:", + * "name": "username" + * } + * // More fields would typically be added here! + * } ] + * } ); + * } ); + */ + fields: [], + formOptions: { + bubble: $.extend({}, formOptions, { + buttons: '_basic', + message: false, + submit: 'changed', + title: false + }), + inline: $.extend({}, formOptions, { + buttons: false, + submit: 'changed' + }), + main: $.extend({}, formOptions) + }, + /** + * Internationalisation options for Editor. All client-side strings that the + * end user can see in the interface presented by Editor can be modified here. + * + * You may also wish to refer to the + * DataTables internationalisation options to provide a fully language + * customised table interface. + * + * @namespace + * + * @example + * // Set the 'create' button text. All other strings used are the + * // default values. + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "create": { + * "button": "New user" + * } + * } + * } ); + * + * @example + * // Set the submit text for all three actions + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "create": { + * "submit": "Create new user" + * }, + * "edit": { + * "submit": "Update user" + * }, + * "remove": { + * "submit": "Remove user" + * } + * } + * } ); + */ + i18n: { + /** + * Close button title text + * + * @type string + * @default Close + */ + close: 'Close', + /** + * Strings used when working with the Editor 'create' action (creating new + * records). + * + * @namespace + */ + create: { + /** + * Buttons button text + * + * @type string + * @default New + */ + button: 'New', + /** + * Submit button text + * + * @type string + * @default Create + */ + submit: 'Create', + /** + * Display container title (when showing the editor display) + * + * @type string + * @default Create new entry + */ + title: 'Create new entry' + }, + datetime: { + amPm: ['am', 'pm'], + hours: 'Hour', + minutes: 'Minute', + months: [ + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' + ], + next: 'Next', + previous: 'Previous', + seconds: 'Second', + unknown: '-', + weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + }, + /** + * Strings used when working with the Editor 'edit' action (editing existing + * records). + * + * @namespace + */ + edit: { + /** + * Buttons button text + * + * @type string + * @default Edit + */ + button: 'Edit', + /** + * Submit button text + * + * @type string + * @default Update + */ + submit: 'Update', + /** + * Display container title (when showing the editor display) + * + * @type string + * @default Edit entry + */ + title: 'Edit entry' + }, + /** + * Strings used for error conditions. + * + * @namespace + */ + error: { + /** + * Generic server error message + * + * @type string + * @default + * A system error has occurred (More information) + */ + system: 'A system error has occurred (More information).' + }, + /** + * Strings used for multi-value editing + * + * @namespace + */ + multi: { + /** + * Shown below the multi title text, although only the first + * instance of this text is shown in the form to reduce redundancy + */ + info: 'The selected items contain different values for this input. To edit and set all items for this input to the same value, click or tap here, otherwise they will retain their individual values.', + /** + * Disabled for multi-row editing + */ + noMulti: 'This input can be edited individually, but not part of a group.', + /** + * Shown below the field input when group editing a value to allow + * the user to return to the original multiple values + */ + restore: 'Undo changes', + /** + * Shown in place of the field value when a field has multiple values + */ + title: 'Multiple values' + }, + /** + * Strings used when working with the Editor 'delete' action (deleting + * existing records). + * + * @namespace + */ + remove: { + /** + * Buttons button text + * + * @type string + * @default Delete + */ + button: 'Delete', + /** + * Deletion confirmation message. + * + * As Editor has the ability to delete either a single or multiple rows + * at a time, this option can be given as either a string (which will be + * used regardless of how many records are selected) or as an object + * where the property "_" will be used (with %d substituted for the number + * of records to be deleted) as the delete message, unless there is a + * key with the number of records to be deleted. This allows Editor + * to consider the different pluralisation characteristics of different + * languages. + * + * @type object|string + * @default Are you sure you wish to delete %d rows? + * + * @example + * // String - no plural consideration + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "remove": { + * "confirm": "Are you sure you wish to delete %d record(s)?" + * } + * } + * } ); + * + * @example + * // Basic 1 (singular) or _ (plural) + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "remove": { + * "confirm": { + * "_": "Confirm deletion of %d records.", + * "1": "Confirm deletion of record." + * } + * } + * } ); + * + * @example + * // Singular, dual and plural + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "remove": { + * "confirm": { + * "_": "Confirm deletion of %d records.", + * "1": "Confirm deletion of record.", + * "2": "Confirm deletion of both record." + * } + * } + * } ); + * + */ + confirm: { + 1: 'Are you sure you wish to delete 1 row?', + _: 'Are you sure you wish to delete %d rows?' + }, + /** + * Submit button text + * + * @type string + * @default Delete + */ + submit: 'Delete', + /** + * Display container title (when showing the editor display) + * + * @type string + * @default Delete + */ + title: 'Delete', + } + }, + /** + * JSON property from which to read / write the row's ID property (i.e. its + * unique column index that identifies the row to the database). By default + * Editor will use the `DT_RowId` property from the data source object + * (DataTable's magic property to set the DOM id for the row). + * + * If you want to read a parameter from the data source object instead of + * using `DT_RowId`, set this option to the property name to use. + * + * Like other data source options the `srcId` option can be given in dotted + * object notation to read nested objects. + * + * @type null|string + * @default DT_RowId + * + * @example + * // Using a data source such as: + * // { "id":12, "browser":"Chrome", ... } + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": "php/index.php", + * "table": "#example", + * "idSrc": "id" + * } ); + * } ); + */ + idSrc: 'DT_RowId', + /** + * jQuery selector that can be used to identify the table you wish to apply + * this editor instance to. + * + * In previous versions of Editor (1.2 and earlier), this parameter was + * called `table`. The name has been altered in 1.3+ to simplify the + * initialisation. This is a backwards compatible change - if you pass in + * a `table` option it will be used. + * + * @type string + * @default Empty string + * + * @example + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": "php/index.php", + * "table": "#example" + * } ); + * } ); + */ + table: null, +}; + +var settings = { + action: null, + actionName: 'action', + ajax: null, + bubbleNodes: [], + bubbleBottom: false, + closeCb: null, + closeIcb: null, + dataSource: null, + displayController: null, + displayed: false, + editCount: 0, + editData: {}, + editFields: {}, + editOpts: {}, + fields: {}, + formOptions: { + bubble: $.extend({}, formOptions), + inline: $.extend({}, formOptions), + main: $.extend({}, formOptions), + }, + globalError: '', + id: -1, + idSrc: null, + includeFields: [], + mode: null, + modifier: null, + opts: null, + order: [], + processing: false, + setFocus: null, + table: null, + template: null, + unique: 0 +}; + +var DataTable$6 = $.fn.dataTable; +var DtInternalApi = DataTable$6.ext.oApi; +function objectKeys(o) { + var out = []; + for (var key in o) { + if (o.hasOwnProperty(key)) { + out.push(key); + } + } + return out; +} +function el(tag, ctx) { + if (ctx === undefined) { + ctx = document; + } + return $('*[data-dte-e="' + tag + '"]', ctx); +} +function safeDomId(id, prefix) { + if (prefix === void 0) { prefix = '#'; } + return typeof id === 'string' ? + prefix + id.replace(/\./g, '-') : + prefix + id; +} +function safeQueryId(id, prefix) { + if (prefix === void 0) { prefix = '#'; } + return typeof id === 'string' ? + prefix + id.replace(/(:|\.|\[|\]|,)/g, '\\$1') : + prefix + id; +} +function dataGet(src) { + return DtInternalApi._fnGetObjectDataFn(src); +} +function dataSet(src) { + return DtInternalApi._fnSetObjectDataFn(src); +} +var extend = DtInternalApi._fnExtend; +function pluck(a, prop) { + var out = []; + $.each(a, function (idx, elIn) { + out.push(elIn[prop]); + }); + return out; +} +/** + * Compare parameters for difference - diving into arrays and objects if + * needed, allowing the object reference to be different, but the contents to + * match. + * + * Please note that LOOSE type checking is used + */ +function deepCompare(o1, o2) { + if (typeof o1 !== 'object' || typeof o2 !== 'object') { + return o1 == o2; + } + var o1Props = objectKeys(o1); + var o2Props = objectKeys(o2); + if (o1Props.length !== o2Props.length) { + return false; + } + for (var i = 0, ien = o1Props.length; i < ien; i++) { + var propName = o1Props[i]; + if (typeof o1[propName] === 'object') { + if (!deepCompare(o1[propName], o2[propName])) { + return false; + } + } + else if (o1[propName] != o2[propName]) { + return false; + } + } + return true; +} + +/* - - - - - - - - - - + * DataTables editor interface + */ +var _dtIsSsp = function (dt, editor) { + // If the draw type is `none`, then we still need to use the DT API to + // update the display with the new data + return dt.settings()[0].oFeatures.bServerSide && + editor.s.editOpts.drawType !== 'none'; +}; +var _dtApi = function (table) { + return table instanceof $.fn.dataTable.Api + ? table + : $(table).DataTable(); +}; +var _dtHighlight = function (node) { + // Highlight a row using CSS transitions. The timeouts need to match the + // transition duration from the CSS + node = $(node); + setTimeout(function () { + node.addClass('highlight'); + setTimeout(function () { + node + .addClass('noHighlight') + .removeClass('highlight'); + setTimeout(function () { + node.removeClass('noHighlight'); + }, 550); + }, 500); + }, 20); +}; +var _dtRowSelector = function (out, dt, identifier, fields, idFn) { + dt.rows(identifier).indexes().each(function (idx) { + var row = dt.row(idx); + var data = row.data(); + var idSrc = idFn(data); + if (idSrc === undefined) { + Editor.error('Unable to find row identifier', 14); + } + out[idSrc] = { + data: data, + fields: fields, + idSrc: idSrc, + node: row.node(), + type: 'row' + }; + }); +}; +var _dtFieldsFromIdx = function (dt, fields, idx, ignoreUnknown) { + var col = dt.settings()[0].aoColumns[idx]; + var dataSrc = col.editField !== undefined ? + col.editField : + col.mData; + var resolvedFields = {}; + var run = function (field, dataSrcIn) { + if (field.name() === dataSrcIn) { + resolvedFields[field.name()] = field; + } + }; + $.each(fields, function (name, fieldInst) { + if (Array.isArray(dataSrc)) { + for (var _i = 0, dataSrc_1 = dataSrc; _i < dataSrc_1.length; _i++) { + var data = dataSrc_1[_i]; + run(fieldInst, data); + } + } + else { + run(fieldInst, dataSrc); + } + }); + if ($.isEmptyObject(resolvedFields) && !ignoreUnknown) { + Editor.error('Unable to automatically determine field from source. Please specify the field name.', 11); + } + return resolvedFields; +}; +var _dtCellSelector = function (out, dt, identifier, allFields, idFn, forceFields) { + if (forceFields === void 0) { forceFields = null; } + var cells = dt.cells(identifier); + cells.indexes().each(function (idx) { + var cell = dt.cell(idx); + var row = dt.row(idx.row); + var data = row.data(); + var idSrc = idFn(data); + var fields = forceFields || _dtFieldsFromIdx(dt, allFields, idx.column, cells.count() > 1); + var isNode = (typeof identifier === 'object' && identifier.nodeName) || identifier instanceof $; + var prevDisplayFields; + var prevAttach; + var prevAttachFields; + // Only add if a field was found to edit + if (Object.keys(fields).length) { + // The row selector will create a new `out` object for the identifier, and the + // cell selector might be called multiple times for a row, so we need to save + // our specific items + if (out[idSrc]) { + prevAttach = out[idSrc].attach; + prevAttachFields = out[idSrc].attachFields; + prevDisplayFields = out[idSrc].displayFields; + } + // Use the row selector to get the row information + _dtRowSelector(out, dt, idx.row, allFields, idFn); + out[idSrc].attachFields = prevAttachFields || []; + out[idSrc].attachFields.push(Object.keys(fields)); + out[idSrc].attach = prevAttach || []; + out[idSrc].attach.push(isNode ? + $(identifier).get(0) : + cell.fixedNode ? // If its under a fixed column, get the floating node + cell.fixedNode() : + cell.node()); + out[idSrc].displayFields = prevDisplayFields || {}; + $.extend(out[idSrc].displayFields, fields); + } + }); +}; +var _dtColumnSelector = function (out, dt, identifier, fields, idFn) { + dt.cells(null, identifier).indexes().each(function (idx) { + _dtCellSelector(out, dt, idx, fields, idFn); + }); +}; +var dataSource$1 = { + commit: function (action, identifier, data, store) { + // Updates complete - redraw + var that = this; + var dt = _dtApi(this.s.table); + var ssp = dt.settings()[0].oFeatures.bServerSide; + var ids = store.rowIds; + // On edit, if there are any rows left in the `store.rowIds`, then they + // were not returned by the server and should be removed (they might not + // meet filtering requirements any more for example) + if (!_dtIsSsp(dt, this) && action === 'edit' && store.rowIds.length) { + var row = void 0; + var compare = function (id) { + return function (rowIdx, rowData, rowNode) { + return id == dataSource$1.id.call(that, rowData); + }; + }; + for (var i = 0, ien = ids.length; i < ien; i++) { + // Find the row to edit - attempt to do an id look up first for speed + try { + row = dt.row(safeQueryId(ids[i])); + } + catch (e) { + row = dt; + } + // If not found, then we need to do it the slow way + if (!row.any()) { + row = dt.row(compare(ids[i])); + } + if (row.any() && !ssp) { + row.remove(); + } + } + } + var drawType = this.s.editOpts.drawType; + if (drawType !== 'none') { + var dtAny = dt; + // SSP highlighting has to go after the draw, but this can't be + // merged with client-side processing highlight as we want that + // to work even when there isn't a draw happening. + if (ssp && ids && ids.length) { + dt.one('draw', function () { + for (var i = 0, ien = ids.length; i < ien; i++) { + var row = dt.row(safeQueryId(ids[i])); + if (row.any()) { + _dtHighlight(row.node()); + } + } + }); + } + dt.draw(drawType); + // Responsive needs to take account of new data column widths + if (dtAny.responsive) { + dtAny.responsive.recalc(); + } + // Rebuild searchpanes + if (typeof dtAny.searchPanes === 'function' && !ssp) { + dtAny.searchPanes.rebuildPane(undefined, true); + } + // Rebuild searchbuilder + if (dtAny.searchBuilder !== undefined && typeof dtAny.searchBuilder.rebuild === 'function' && !ssp) { + dtAny.searchBuilder.rebuild(dtAny.searchBuilder.getDetails()); + } + } + }, + create: function (fields, data) { + var dt = _dtApi(this.s.table); + if (!_dtIsSsp(dt, this)) { + var row = dt.row.add(data); + _dtHighlight(row.node()); + } + }, + edit: function (identifier, fields, data, store) { + var that = this; + var dt = _dtApi(this.s.table); + // No point in doing anything when server-side processing - the commit + // will redraw the table + if (!_dtIsSsp(dt, this) || this.s.editOpts.drawType === 'none') { + // The identifier can select one or more rows, but the data will + // refer to just a single row. We need to determine which row from + // the set is the one to operator on. + var rowId_1 = dataSource$1.id.call(this, data); + var row = void 0; + // Find the row to edit - attempt to do an id look up first for speed + try { + row = dt.row(safeQueryId(rowId_1)); + } + catch (e) { + row = dt; + } + // If not found, then we need to do it the slow way + if (!row.any()) { + row = dt.row(function (rowIdx, rowData, rowNode) { + return rowId_1 == dataSource$1.id.call(that, rowData); + }); + } + if (row.any()) { + // Merge data to allow for a sub-set to be returned + var toSave = extend({}, row.data(), true); + toSave = extend(toSave, data, true); + row.data(toSave); + // Remove the item from the list of indexes now that is has been + // updated + var idx = $.inArray(rowId_1, store.rowIds); + store.rowIds.splice(idx, 1); + } + else { + // If not found, then its a new row (change in pkey possibly) + row = dt.row.add(data); + } + _dtHighlight(row.node()); + } + }, + fakeRow: function (insertPoint) { + var dt = _dtApi(this.s.table); + var tr = $(''); + var attachFields = []; + var attach = []; + var displayFields = {}; + var tbody = dt.table(undefined).body(); + for (var i = 0, ien = dt.columns(':visible').count(); i < ien; i++) { + var visIdx = dt.column(i + ':visible').index(); + var td = $('
').appendTo(tr); + var fields = _dtFieldsFromIdx(dt, this.s.fields, visIdx, true); + var settings = dt.settings()[0]; + var className = settings.aoColumns[visIdx].sClass; + if (className) { + td.addClass(className); + } + if (Object.keys(fields).length) { + attachFields.push(Object.keys(fields)); + attach.push(td[0]); + $.extend(displayFields, fields); + } + } + var append = function () { + // Remove the data empty message + if (dt.page.info().recordsDisplay === 0) { + $(tbody).empty(); + } + var action = insertPoint === 'end' + ? 'appendTo' + : 'prependTo'; + tr[action](tbody); + }; + this.__dtFakeRow = tr; + // Insert into the table + append(); + dt.on('draw.dte-createInline', function () { + append(); + }); + return { + 0: { + attach: attach, + attachFields: attachFields, + displayFields: displayFields, + fields: this.s.fields, + type: 'row' + } + }; + }, + fakeRowEnd: function () { + var dt = _dtApi(this.s.table); + dt.off('draw.dte-createInline'); + this.__dtFakeRow.remove(); + this.__dtFakeRow = null; + // Restore data empty row + if (dt.page.info().recordsDisplay === 0) { + dt.draw(false); + } + }, + // get idSrc, fields to edit, data and node for each item + fields: function (identifier) { + var idFn = dataGet(this.s.idSrc); + var dt = _dtApi(this.s.table); + var fields = this.s.fields; + var out = {}; + if ($.isPlainObject(identifier) && + (identifier.rows !== undefined || identifier.columns !== undefined || identifier.cells !== undefined)) { + // Multi-item type selector + if (identifier.rows !== undefined) { + _dtRowSelector(out, dt, identifier.rows, fields, idFn); + } + if (identifier.columns !== undefined) { + _dtColumnSelector(out, dt, identifier.columns, fields, idFn); + } + if (identifier.cells !== undefined) { + _dtCellSelector(out, dt, identifier.cells, fields, idFn); + } + } + else { + // Just a rows selector + _dtRowSelector(out, dt, identifier, fields, idFn); + } + return out; + }, + id: function (data) { + var idFn = dataGet(this.s.idSrc); + return idFn(data); + }, + individual: function (identifier, fieldNames) { + var idFn = dataGet(this.s.idSrc); + var dt = _dtApi(this.s.table); + var fields = this.s.fields; + var out = {}; + var forceFields; + if (fieldNames) { + if (!Array.isArray(fieldNames)) { + fieldNames = [fieldNames]; + } + forceFields = {}; + $.each(fieldNames, function (i, name) { + forceFields[name] = fields[name]; + }); + } + _dtCellSelector(out, dt, identifier, fields, idFn, forceFields); + return out; + }, + prep: function (action, identifier, submit, json, store) { + var _this = this; + // Get the id of the rows created / edited + if (action === 'create') { + store.rowIds = $.map(json.data, function (row) { return dataSource$1.id.call(_this, row); }); + } + if (action === 'edit') { + var cancelled_1 = json.cancelled || []; + store.rowIds = $.map(submit.data, function (val, key) { + return !$.isEmptyObject(submit.data[key]) && // was submitted + $.inArray(key, cancelled_1) === -1 ? // was not cancelled on the server-side + key : + undefined; + }); + } + else if (action === 'remove') { + store.cancelled = json.cancelled || []; + } + }, + refresh: function () { + // Reload a table's data - used when nested data is changed + var dt = _dtApi(this.s.table); + dt.ajax.reload(null, false); + }, + remove: function (identifier, fields, store) { + // No confirmation from the server + var that = this; + var dt = _dtApi(this.s.table); + var cancelled = store.cancelled; + if (cancelled.length === 0) { + // No rows were cancelled on the server-side, remove them all + dt.rows(identifier).remove(); + } + else { + // One or more rows were cancelled, so we need to identify them + // and not remove those rows + var indexes_1 = []; + dt.rows(identifier).every(function () { + var id = dataSource$1.id.call(that, this.data()); + if ($.inArray(id, cancelled) === -1) { + // Don't use `remove` here - it messes up the indexes + indexes_1.push(this.index()); + } + }); + dt.rows(indexes_1).remove(); + } + } +}; + +/* - - - - - - - - + * HTML editor interface + */ +function _htmlId(identifier) { + if (identifier === 'keyless') { + return $(document); + } + var specific = $('[data-editor-id="' + identifier + '"]'); + if (specific.length === 0) { + specific = typeof identifier === 'string' ? + $(safeQueryId(identifier)) : + $(identifier); + } + if (specific.length === 0) { + throw new Error('Could not find an element with `data-editor-id` or `id` of: ' + identifier); + } + return specific; +} +function _htmlEl(identifier, name) { + var context = _htmlId(identifier); + return $('[data-editor-field="' + name + '"]', context); +} +function _htmlEls(identifier, names) { + var out = $(); + for (var i = 0, ien = names.length; i < ien; i++) { + out = out.add(_htmlEl(identifier, names[i])); + } + return out; +} +function _htmlGet(identifier, dataSrc) { + var el = _htmlEl(identifier, dataSrc); + return el.filter('[data-editor-value]').length ? + el.attr('data-editor-value') : + el.html(); +} +function _htmlSet(identifier, fields, data) { + $.each(fields, function (name, field) { + var val = field.valFromData(data); + if (val !== undefined) { + var el = _htmlEl(identifier, field.dataSrc()); + if (el.filter('[data-editor-value]').length) { + el.attr('data-editor-value', val); + } + else { + el.each(function () { + // This is very frustrating, but in IE if you just write directly + // to innerHTML, and elements that are overwritten are GC'ed, + // even if there is a reference to them elsewhere + while (this.childNodes.length) { + this.removeChild(this.firstChild); + } + }) + .html(val); + } + } + }); +} +var dataSource = { + create: function (fields, data) { + // If there is an element with the id that has been created, then use it + // to assign the values + if (data) { + var id = dataSource.id.call(this, data); + try { + if (_htmlId(id).length) { + _htmlSet(id, fields, data); + } + } + catch (e) { + // noop - use `postCreate` to add items to the DOM + } + } + }, + edit: function (identifier, fields, data) { + // Get the ids from the returned data or `keyless` if not found + var id = dataSource.id.call(this, data) || 'keyless'; + _htmlSet(id, fields, data); + }, + // get idSrc, fields to edit, data and node for each item + fields: function (identifier) { + var out = {}; + // Allow multi-point editing + if (Array.isArray(identifier)) { + for (var i = 0, ien = identifier.length; i < ien; i++) { + var res = dataSource.fields.call(this, identifier[i]); + out[identifier[i]] = res[identifier[i]]; + } + return out; + } + // else + var data = {}; + var fields = this.s.fields; + if (!identifier) { + identifier = 'keyless'; + } + $.each(fields, function (name, field) { + var val = _htmlGet(identifier, field.dataSrc()); + // If no HTML element is present, jQuery returns null. We want undefined + field.valToData(data, val === null ? undefined : val); + }); + out[identifier] = { + data: data, + fields: fields, + idSrc: identifier, + node: document, + type: 'row' + }; + return out; + }, + id: function (data) { + var idFn = dataGet(this.s.idSrc); + return idFn(data); + }, + individual: function (identifier, fieldNames) { + var attachEl; + // Auto detection of the field name and id + if (identifier instanceof $ || identifier.nodeName) { + attachEl = identifier; + if (!fieldNames) { + fieldNames = [$(identifier).attr('data-editor-field')]; + } + var back = $.fn.addBack ? 'addBack' : 'andSelf'; + identifier = $(identifier).parents('[data-editor-id]')[back]().data('editor-id'); + } + // no id given and none found + if (!identifier) { + identifier = 'keyless'; + } + // no field name - cannot continue + if (fieldNames && !Array.isArray(fieldNames)) { + fieldNames = [fieldNames]; + } + if (!fieldNames || fieldNames.length === 0) { + throw new Error('Cannot automatically determine field name from data source'); + } + var out = dataSource.fields.call(this, identifier); + var fields = this.s.fields; + var forceFields = {}; + $.each(fieldNames, function (i, name) { + forceFields[name] = fields[name]; + }); + $.each(out, function (id, set) { + set.type = 'cell'; + set.attachFields = [fieldNames]; + set.attach = attachEl ? + $(attachEl) : + _htmlEls(identifier, fieldNames).toArray(); + set.fields = fields; + set.displayFields = forceFields; + }); + return out; + }, + initField: function (cfg) { + // This is before the field has been initialised so can't use it API + var label = $('[data-editor-label="' + (cfg.data || cfg.name) + '"]'); + if (!cfg.label && label.length) { + cfg.label = label.html(); + } + }, + remove: function (identifier, fields) { + // If there is an element with an ID property matching the identifier, + // remove it + if (identifier !== 'keyless') { + _htmlId(identifier).remove(); + } + } +}; + +/** + * Class names that are used by Editor for its various display components. + * A copy of this object is taken when an Editor instance is initialised, thus + * allowing different classes to be used in different instances if required. + * Class name changes can be useful for easy integration with CSS frameworks, + * for example Twitter Bootstrap. + * + * @namespace + */ +var classNames = { + /** + * Action classes - these are added to the Editor base element ("wrapper") + * and allows styling based on the type of form view that is being employed. + * + * @namespace + */ + actions: { + /** + * Editor is in 'create' state + */ + create: 'DTE_Action_Create', + /** + * Editor is in 'edit' state + */ + edit: 'DTE_Action_Edit', + /** + * Editor is in 'remove' state + */ + remove: 'DTE_Action_Remove' + }, + /** + * Display body classes + * + * @namespace + */ + body: { + /** + * Liner for the body content + */ + content: 'DTE_Body_Content', + /** + * Container for the body elements + */ + wrapper: 'DTE_Body' + }, + /** + * Bubble editing classes - these are used to display the bubble editor + * + * @namespace + */ + bubble: { + /** + * Fixed background + */ + bg: 'DTE_Bubble_Background', + /** + * Close button + */ + close: 'icon close', + /** + * Bubble content liner + */ + liner: 'DTE_Bubble_Liner', + /** + * Pointer shown which node is being edited + */ + pointer: 'DTE_Bubble_Triangle', + /** + * Bubble table display wrapper, so the buttons and form can be shown + * as table cells (via css) + */ + table: 'DTE_Bubble_Table', + /** + * Bubble container element + */ + wrapper: 'DTE DTE_Bubble' + }, + /** + * Field classes + * + * @namespace + */ + field: { + /** + * Field is disabled + */ + 'disabled': 'disabled', + /** + * Field error state (added to the field.wrapper element when in error state + */ + 'error': 'DTE_Field_StateError', + /** + * Field input container + */ + 'input': 'DTE_Field_Input', + /** + * Input elements wrapper + */ + 'inputControl': 'DTE_Field_InputControl', + /** + * Field label + */ + 'label': 'DTE_Label', + /** + * Error information text + */ + 'msg-error': 'DTE_Field_Error', + /** + * General information text + */ + 'msg-info': 'DTE_Field_Info', + /** + * Label information text + */ + 'msg-label': 'DTE_Label_Info', + /** + * Live messaging (API) information text + */ + 'msg-message': 'DTE_Field_Message', + /** + * Multi-value information descriptive text + */ + 'multiInfo': 'multi-info', + /** + * Multi-value not editable (field.multiEditable) + */ + 'multiNoEdit': 'multi-noEdit', + /** + * Multi-value information display + */ + 'multiRestore': 'multi-restore', + /** + * Multi-value information display wrapper + */ + 'multiValue': 'multi-value', + /** + * Class prefix for the field name - field name is added to the end allowing + * styling based on field name. + */ + 'namePrefix': 'DTE_Field_Name_', + /** + * Field's processing element + */ + 'processing': 'DTE_Processing_Indicator', + /** + * Class prefix for the field type - field type is added to the end allowing + * styling based on field type. + */ + 'typePrefix': 'DTE_Field_Type_', + /** + * Container for each field + */ + 'wrapper': 'DTE_Field' + }, + /** + * Display footer classes + * + * @namespace + */ + footer: { + /** + * Liner for the footer content + */ + content: 'DTE_Footer_Content', + /** + * Container for the footer elements + */ + wrapper: 'DTE_Footer' + }, + /** + * Form classes + * + * @namespace + */ + form: { + /** + * Button + */ + button: 'btn', + /** + * Button inside the form + */ + buttonInternal: 'btn', + /** + * Buttons container + */ + buttons: 'DTE_Form_Buttons', + /** + * Liner for the form content + */ + content: 'DTE_Form_Content', + /** + * Global error imformation + */ + error: 'DTE_Form_Error', + /** + * Global form information + */ + info: 'DTE_Form_Info', + /** + * Applied to the
tag + */ + tag: '', + /** + * Container for the form elements + */ + wrapper: 'DTE_Form' + }, + /** + * Display header classes + * + * @namespace + */ + header: { + /** + * Liner for the header content + */ + content: 'DTE_Header_Content', + /** + * Title tag + */ + title: { + tag: null, + class: '' + }, + /** + * Container for the header elements + */ + wrapper: 'DTE_Header' + }, + /** + * Inline editing classes - these are used to display the inline editor + * + * @namespace + */ + inline: { + buttons: 'DTE_Inline_Buttons', + liner: 'DTE_Inline_Field', + wrapper: 'DTE DTE_Inline', + }, + /** + * Processing classes + * + * @namespace + */ + processing: { + /** + * Added to the base element ("wrapper") when the form is "processing" + */ + active: 'processing', + /** + * Processing indicator element + */ + indicator: 'DTE_Processing_Indicator' + }, + /** + * Applied to the base DIV element that contains all other Editor elements + */ + wrapper: 'DTE' +}; + +var displayed$2 = false; +var cssBackgroundOpacity = 1; +var dom$1 = { + background: $('
')[0], + close: $('
')[0], + content: null, + wrapper: $('
' + + '
' + + '
' + + '
')[0] +}; +function findAttachRow(editor, attach) { + var dt = new $.fn.dataTable.Api(editor.s.table); + // Figure out where we want to put the form display + if (attach === 'head') { + return dt.table(undefined).header(); // typing error in DT type file + } + else if (editor.s.action === 'create') { + return dt.table(undefined).header(); + } + else { + return dt.row(editor.s.modifier).node(); + } +} +function heightCalc$1(dte) { + // Set the max-height for the form content + var header = $('div.DTE_Header', dom$1.wrapper).outerHeight(); + var footer = $('div.DTE_Footer', dom$1.wrapper).outerHeight(); + var maxHeight = $(window).height() - (envelope.conf.windowPadding * 2) - + header - footer; + $('div.DTE_Body_Content', dom$1.wrapper).css('maxHeight', maxHeight); + return $(dte.dom.wrapper).outerHeight(); +} +function hide$2(dte, callback) { + if (!callback) { + callback = function () { }; + } + if (displayed$2) { + $(dom$1.content).animate({ + top: -(dom$1.content.offsetHeight + 50) + }, 600, function () { + $([dom$1.wrapper, dom$1.background]).fadeOut('normal', function () { + $(this).detach(); + callback(); + }); + }); + displayed$2 = false; + } +} +function init$1() { + dom$1.content = $('div.DTED_Envelope_Container', dom$1.wrapper)[0]; + cssBackgroundOpacity = $(dom$1.background).css('opacity'); +} +function show$2(dte, callback) { + if (!callback) { + callback = function () { }; + } + $('body') + .append(dom$1.background) + .append(dom$1.wrapper); + // Adjust size for the content + dom$1.content.style.height = 'auto'; + if (!displayed$2) { + var style = dom$1.wrapper.style; + style.opacity = '0'; + style.display = 'block'; + var height = heightCalc$1(dte); + var targetRow = findAttachRow(dte, envelope.conf.attach); + var width = targetRow.offsetWidth; + style.display = 'none'; + style.opacity = '1'; + // Prep the display + dom$1.wrapper.style.width = width + 'px'; + dom$1.wrapper.style.marginLeft = -(width / 2) + 'px'; + dom$1.wrapper.style.top = ($(targetRow).offset().top + targetRow.offsetHeight) + 'px'; + dom$1.content.style.top = ((-1 * height) - 20) + 'px'; + // Start animating in the background + dom$1.background.style.opacity = '0'; + dom$1.background.style.display = 'block'; + $(dom$1.background).animate({ + opacity: cssBackgroundOpacity + }, 'normal'); + // Animate in the display + $(dom$1.wrapper).fadeIn(); + $(dom$1.content).animate({ top: 0 }, 600, callback); + } + // Event handlers + $(dom$1.close) + .attr('title', dte.i18n.close) + .off('click.DTED_Envelope') + .on('click.DTED_Envelope', function (e) { + dte.close(); + }); + $(dom$1.background) + .off('click.DTED_Envelope') + .on('click.DTED_Envelope', function (e) { + dte.background(); + }); + $('div.DTED_Lightbox_Content_Wrapper', dom$1.wrapper) + .off('click.DTED_Envelope') + .on('click.DTED_Envelope', function (e) { + if ($(e.target).hasClass('DTED_Envelope_Content_Wrapper')) { + dte.background(); + } + }); + $(window) + .off('resize.DTED_Envelope') + .on('resize.DTED_Envelope', function () { + heightCalc$1(dte); + }); + displayed$2 = true; +} +var envelope = { + close: function (dte, callback) { + hide$2(dte, callback); + }, + conf: { + attach: 'row', + windowPadding: 50 + }, + destroy: function (dte) { + hide$2(); + }, + init: function (dte) { + init$1(); + return envelope; + }, + node: function (dte) { + return dom$1.wrapper[0]; + }, + open: function (dte, append, callback) { + $(dom$1.content).children().detach(); + dom$1.content.appendChild(append); + dom$1.content.appendChild(dom$1.close); + show$2(dte, callback); + } +}; + +function isMobile() { + return typeof window.orientation !== 'undefined' && window.outerWidth <= 576 + ? true + : false; +} +var displayed$1 = false; +var ready = false; +var scrollTop = 0; +var dom = { + background: $('
'), + close: $('
'), + content: null, + wrapper: $('
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
') +}; +function heightCalc() { + var headerFooter = $('div.DTE_Header', dom.wrapper).outerHeight() + + $('div.DTE_Footer', dom.wrapper).outerHeight(); + if (isMobile()) { + $('div.DTE_Body_Content', dom.wrapper).css('maxHeight', 'calc(100vh - ' + headerFooter + 'px)'); + } + else { + // Set the max-height for the form content + var maxHeight = $(window).height() - (self.conf.windowPadding * 2) - headerFooter; + $('div.DTE_Body_Content', dom.wrapper).css('maxHeight', maxHeight); + } +} +function hide$1(dte, callback) { + if (!callback) { + callback = function () { }; + } + // Restore scroll state + $('body').scrollTop(scrollTop); + dte._animate(dom.wrapper, { + opacity: 0, + top: self.conf.offsetAni + }, function () { + $(this).detach(); + callback(); + }); + dte._animate(dom.background, { + opacity: 0 + }, function () { + $(this).detach(); + }); + displayed$1 = false; + $(window).off('resize.DTED_Lightbox'); +} +function init() { + if (ready) { + return; + } + dom.content = $('div.DTED_Lightbox_Content', dom.wrapper); + dom.wrapper.css('opacity', 0); + dom.background.css('opacity', 0); + ready = true; +} +function show$1(dte, callback) { + // Mobiles have very poor position fixed abilities, so we need to know + // when using mobile A media query isn't good enough + if (isMobile()) { + $('body').addClass('DTED_Lightbox_Mobile'); + } + $('body') + .append(dom.background) + .append(dom.wrapper); + heightCalc(); + if (!displayed$1) { + displayed$1 = true; + dom.content.css('height', 'auto'); + dom.wrapper.css({ + top: -self.conf.offsetAni + }); + dte._animate(dom.wrapper, { + opacity: 1, + top: 0 + }, callback); + dte._animate(dom.background, { + opacity: 1 + }); + $(window).on('resize.DTED_Lightbox', function () { + heightCalc(); + }); + scrollTop = $('body').scrollTop(); + } + // Event handlers - assign on show, premoving previous bindings + dom.close + .attr('title', dte.i18n.close) + .off('click.DTED_Lightbox') + .on('click.DTED_Lightbox', function (e) { + dte.close(); + }); + dom.background + .off('click.DTED_Lightbox') + .on('click.DTED_Lightbox', function (e) { + e.stopImmediatePropagation(); + dte.background(); + }); + $('div.DTED_Lightbox_Content_Wrapper', dom.wrapper) + .off('click.DTED_Lightbox') + .on('click.DTED_Lightbox', function (e) { + if ($(e.target).hasClass('DTED_Lightbox_Content_Wrapper')) { + e.stopImmediatePropagation(); + dte.background(); + } + }); +} +var self = { + close: function (dte, callback) { + hide$1(dte, callback); + }, + conf: { + offsetAni: 25, + windowPadding: 25 + }, + destroy: function (dte) { + if (displayed$1) { + hide$1(dte); + } + }, + init: function (dte) { + init(); + return self; + }, + node: function (dte) { + return dom.wrapper[0]; + }, + open: function (dte, append, callback) { + var content = dom.content; + content.children().detach(); + content + .append(append) + .append(dom.close); + show$1(dte, callback); + }, +}; + +var DataTable$5 = $.fn.dataTable; +/** + * Add a new field to the from. This is the method that is called automatically when + * fields are given in the initialisation objects as `Editor.defaults.fields`. + * + * @param this Editor instance + * @param cfg The object that describes the field (the full + * object is described by `Editor.model.field`. Note that multiple + * fields can be given by passing in an array of field definitions. + * @param after Existing field to insert the new field after. This + * can be `undefined` (insert at end), `null` (insert at start) or `string` + * the field name to insert after. + * @param reorder INTERNAL for array adding performance only + * @returns Editor instance + */ +function add(cfg, after, reorder) { + if (reorder === void 0) { reorder = true; } + // Allow multiple fields to be added at the same time + if (Array.isArray(cfg)) { + // Do it in reverse to allow fields to appear in the same order given, otherwise, + // the would appear in reverse if given an `after` + if (after !== undefined) { + cfg.reverse(); + } + for (var _i = 0, cfg_1 = cfg; _i < cfg_1.length; _i++) { + var cfgDp = cfg_1[_i]; + this.add(cfgDp, after, false); + } + this._displayReorder(this.order()); + return this; + } + var name = cfg.name; + if (name === undefined) { + throw new Error('Error adding field. The field requires a `name` option'); + } + if (this.s.fields[name]) { + throw new Error('Error adding field \'' + name + '\'. A field already exists with this name'); + } + // Allow the data source to add / modify the field properties + // Dev: would this be better as an event `preAddField`? And have the + // data sources init only once, but can listen for such events? More + // complexity, but probably more flexible... + this._dataSource('initField', cfg); + var editorField = new Editor.Field(cfg, this.classes.field, this); + // If in an editing mode, we need to set the field up for the data + if (this.s.mode) { + var editFields = this.s.editFields; + editorField.multiReset(); + $.each(editFields, function (idSrc, editIn) { + var value; + if (editIn.data) { + value = editorField.valFromData(editIn.data); + } + editorField.multiSet(idSrc, value !== undefined ? + value : + editorField.def()); + }); + } + this.s.fields[name] = editorField; + if (after === undefined) { + this.s.order.push(name); + } + else if (after === null) { + this.s.order.unshift(name); + } + else { + var idx = $.inArray(after, this.s.order); + this.s.order.splice(idx + 1, 0, name); + } + if (reorder !== false) { + this._displayReorder(this.order()); + } + return this; +} +function ajax(newAjax) { + if (newAjax) { + this.s.ajax = newAjax; + return this; + } + return this.s.ajax; +} +/** + * Perform background activation tasks. + * + * This is NOT publicly documented on the Editor web-site, but rather can be + * used by display controller plug-ins to perform the required task on + * background activation. + * + * @param this Editor instance + * @returns Editor instance + */ +function background() { + var onBackground = this.s.editOpts.onBackground; + if (typeof onBackground === 'function') { + onBackground(this); + } + else if (onBackground === 'blur') { + this.blur(); + } + else if (onBackground === 'close') { + this.close(); + } + else if (onBackground === 'submit') { + this.submit(); + } + return this; +} +/** + * Blur the currently displayed editor. + * + * A blur is different from a `close()` in that it might cause either a close or + * the form to be submitted. A typical example of a blur would be clicking on + * the background of the bubble or main editing forms - i.e. it might be a + * close, or it might submit depending upon the configuration, while a click on + * the close box is a very definite close. + * + * @returns Editor instance + */ +function blur() { + this._blur(); + return this; +} +function bubble(cells, fieldNames, showIn, opts) { + var _this = this; + if (showIn === void 0) { showIn = true; } + var that = this; + // Some other field in inline edit mode? + if (this._tidy(function () { + that.bubble(cells, fieldNames, opts); + })) { + return this; + } + // Argument shifting + if ($.isPlainObject(fieldNames)) { + opts = fieldNames; + fieldNames = undefined; + showIn = true; + } + else if (typeof fieldNames === 'boolean') { + showIn = fieldNames; + fieldNames = undefined; + opts = undefined; + } + if ($.isPlainObject(showIn)) { + opts = showIn; + showIn = true; + } + if (showIn === undefined) { + showIn = true; + } + opts = $.extend({}, this.s.formOptions.bubble, opts); + var editFields = this._dataSource('individual', cells, fieldNames); + this._edit(cells, editFields, 'bubble', opts, function () { + var namespace = _this._formOptions(opts); + var ret = _this._preopen('bubble'); + if (!ret) { + return _this; + } + // Keep the bubble in position on resize + $(window).on('resize.' + namespace + ' scroll.' + namespace, function () { + _this.bubblePosition(); + }); + // Store the nodes this are being used so the bubble can be positioned + var nodes = []; + _this.s.bubbleNodes = nodes.concat.apply(nodes, pluck(editFields, 'attach')); + // Create container display + var classes = _this.classes.bubble; + var backgroundNode = $('
'); + var container = $('
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
'); + if (showIn) { + container.appendTo('body'); + backgroundNode.appendTo('body'); + } + var liner = container.children().eq(0); + var tableNode = liner.children(); + var closeNode = tableNode.children(); + liner.append(_this.dom.formError); + tableNode.prepend(_this.dom.form); + if (opts.message) { + liner.prepend(_this.dom.formInfo); + } + if (opts.title) { + liner.prepend(_this.dom.header); + } + if (opts.buttons) { + tableNode.append(_this.dom.buttons); + } + // Need to use a small anon function here as the animate callback is the scope + // of the element being animated and TS won't allow access to the private methods + var finish = function () { + _this._clearDynamicInfo(); + _this._event('closed', ['bubble']); + }; + var pair = $().add(container).add(backgroundNode); + _this._closeReg(function (submitComplete) { + _this._animate(pair, { opacity: 0 }, function () { + if (this === container[0]) { + pair.detach(); + $(window).off('resize.' + namespace + ' scroll.' + namespace); + finish(); + } + }); + }); + // Close event handlers + backgroundNode.on('click', function () { + _this.blur(); + }); + closeNode.on('click', function () { + _this._close(); + }); + _this.bubblePosition(); + _this._postopen('bubble', false); + var opened = function () { + _this._focus(_this.s.includeFields, opts.focus); + _this._event('opened', ['bubble', _this.s.action]); + }; + _this._animate(pair, { opacity: 1 }, function () { + // Otherwise the callback will happen on both elements + if (this === container[0]) { + opened(); + } + }); + }); + return this; +} +/** + * Reposition the editing bubble (`bubble()`) when it is visible. This can be + * used to update the bubble position if other elements on the page change + * position. Editor will automatically call this method on window resize. + * + * @returns Editor instance + */ +function bubblePosition() { + var wrapper = $('div.DTE_Bubble'); + var liner = $('div.DTE_Bubble_Liner'); + var nodes = this.s.bubbleNodes; + // Average the node positions to insert the container + var position = { bottom: 0, left: 0, right: 0, top: 0 }; + $.each(nodes, function (i, nodeIn) { + var pos = $(nodeIn).offset(); + nodeIn = $(nodeIn).get(0); + position.top += pos.top; + position.left += pos.left; + position.right += pos.left + nodeIn.offsetWidth; + position.bottom += pos.top + nodeIn.offsetHeight; + }); + position.top /= nodes.length; + position.left /= nodes.length; + position.right /= nodes.length; + position.bottom /= nodes.length; + var top = position.top; + var left = (position.left + position.right) / 2; + var width = liner.outerWidth(); + var height = liner.outerHeight(); + var visLeft = left - (width / 2); + var visRight = visLeft + width; + var docWidth = $(window).width(); + var viewportTop = $(window).scrollTop(); + var padding = 15; + // Show above or below depending on bubbleBottom + wrapper.css({ + left: left, + top: this.s.bubbleBottom ? position.bottom : top + }); + if (this.s.bubbleBottom) { + wrapper.addClass('below'); + } + var curPosition = wrapper.position(); + // Correct for overflow below the fold + if (liner.length && curPosition.top + height > viewportTop + window.innerHeight) { + wrapper + .css('top', top) + .removeClass('below'); + this.s.bubbleBottom = false; + } + else if (liner.length && curPosition.top - height < viewportTop) { + // Correct for overflow from the top of the document by positioning below + // the field if needed + wrapper + .css('top', position.bottom) + .addClass('below'); + this.s.bubbleBottom = true; + } + // Attempt to correct for overflow to the right of the document + if (visRight + padding > docWidth) { + var diff = visRight - docWidth; + // If left overflowing, that takes priority + liner.css('left', visLeft < padding ? + -(visLeft - padding) : + -(diff + padding)); + } + else { + // Correct overflow to the left + liner.css('left', visLeft < padding ? -(visLeft - padding) : 0); + } + return this; +} +/** + * Setup the buttons that will be shown in the footer of the form - calling this + * method will replace any buttons which are currently shown in the form. + * + * @param this Editor instance + * @param buttonsIn A single button definition to add to the form or + * an array of objects with the button definitions to add more than one button. + * The options for the button definitions are fully defined by the + * @returns Editor instance + */ +function buttons(buttonsIn) { + var _this = this; + if (buttonsIn === '_basic') { + // Special string to create a basic button - undocumented + buttonsIn = [{ + action: function () { + this.submit(); + }, + text: this.i18n[this.s.action].submit + }]; + } + else if (!Array.isArray(buttonsIn)) { + // Allow a single button to be passed in as an object with an array + buttonsIn = [buttonsIn]; + } + $(this.dom.buttons).empty(); + $.each(buttonsIn, function (i, btn) { + if (typeof btn === 'string') { + btn = { + action: function () { + this.submit(); + }, + text: btn + }; + } + var text = btn.text || btn.label; // legacy support + var action = btn.action || btn.fn; // legacy support + var attr = btn.attr || {}; + $('', { + class: _this.classes.form.button + (btn.className ? ' ' + btn.className : '') + }) + .html(typeof text === 'function' ? + text(_this) : + text || '') + .attr('tabindex', btn.tabIndex !== undefined ? btn.tabIndex : 0) + .attr(attr) + .on('keyup', function (e) { + if (e.which === 13 && action) { + action.call(_this); + } + }) + .on('keypress', function (e) { + // Stop the browser activating the click event - if we don't + // have this and the Ajax return is fast, the keyup in + // `_formOptions()` might trigger another submit + if (e.which === 13) { + e.preventDefault(); + } + }) + .on('click', function (e) { + e.preventDefault(); + if (action) { + action.call(_this, e); + } + }) + .appendTo(_this.dom.buttons); + }); + return this; +} +/** + * Remove fields from the form. + * + * @param this Editor instance + * @param fieldName Field to remove + * @returns Editor instance + */ +function clear(fieldName) { + var that = this; + var sFields = this.s.fields; + if (typeof fieldName === 'string') { + // Remove an individual form element + that.field(fieldName).destroy(); + delete sFields[fieldName]; + var orderIdx = $.inArray(fieldName, this.s.order); + this.s.order.splice(orderIdx, 1); + var includeIdx = $.inArray(fieldName, this.s.includeFields); + if (includeIdx !== -1) { + this.s.includeFields.splice(includeIdx, 1); + } + } + else { + $.each(this._fieldNames(fieldName), function (i, name) { + that.clear(name); + }); + } + return this; +} +/** + * Close the form display. + * + * @param this Editor instance + * @returns Editor instance + */ +function close() { + this._close(false); + return this; +} +function create(arg1, arg2, arg3, arg4) { + var _this = this; + var that = this; + var sFields = this.s.fields; + var count = 1; + // Some other field in inline edit mode? + if (this._tidy(function () { + that.create(arg1, arg2, arg3, arg4); + })) { + return this; + } + // Multi-row creation support (only supported by the 1.3+ style of calling + // this method, so a max of three arguments + if (typeof arg1 === 'number') { + count = arg1; + arg1 = arg2; + arg2 = arg3; + } + // Set up the edit fields for submission + this.s.editFields = {}; + for (var i = 0; i < count; i++) { + this.s.editFields[i] = { + fields: this.s.fields + }; + } + var argOpts = this._crudArgs(arg1, arg2, arg3, arg4); + this.s.mode = 'main'; + this.s.action = 'create'; + this.s.modifier = null; + this.dom.form.style.display = 'block'; + this._actionClass(); + // Allow all fields to be displayed for the create form + this._displayReorder(this.fields()); + // Set the default for the fields + $.each(sFields, function (name, fieldIn) { + var def = fieldIn.def(); + fieldIn.multiReset(); + // Set a value marker for each multi, so the field + // knows what the id's are (ints in this case) + for (var i = 0; i < count; i++) { + fieldIn.multiSet(i, def); + } + fieldIn.set(def); + }); + this._event('initCreate', null, function () { + _this._assembleMain(); + _this._formOptions(argOpts.opts); + argOpts.maybeOpen(); + }); + return this; +} +/** + * Remove dependent links from a field + * + * @param this Editor instance + * @param parent The name of the field to remove the existing dependencies + * @returns Editor instance + */ +function undependent(parent) { + if (Array.isArray(parent)) { + for (var i = 0, ien = parent.length; i < ien; i++) { + this.undependent(parent[i]); + } + return this; + } + $(this.field(parent).node()).off('.edep'); + return this; +} +/** + * Create a dependent link between two or more fields. This method is used to + * listen for a change in a field's value which will trigger updating of the + * form. This update can consist of updating an options list, changing values + * or making fields hidden / visible. + * + * @param this Editor instance + * @param parent Field(s) to attach a dependency to + * @param url Action to perform on data change + * @param optsIn Configuration options + * @returns Editor instance + */ +function dependent(parent, url, optsIn) { + var _this = this; + if (Array.isArray(parent)) { + for (var i = 0, ien = parent.length; i < ien; i++) { + this.dependent(parent[i], url, optsIn); + } + return this; + } + var that = this; + var parentField = this.field(parent); + var ajaxOpts = { + dataType: 'json', + type: 'POST' + }; + var opts = $.extend({}, { + data: null, + event: 'change', + postUpdate: null, + preUpdate: null + }, optsIn); + var update = function (json) { + if (opts.preUpdate) { + opts.preUpdate(json); + } + // Field specific + $.each({ + errors: 'error', + labels: 'label', + messages: 'message', + options: 'update', + values: 'val' + }, function (jsonProp, fieldFn) { + if (json[jsonProp]) { + $.each(json[jsonProp], function (fieldIn, valIn) { + that.field(fieldIn)[fieldFn](valIn); + }); + } + }); + // Form level + $.each(['hide', 'show', 'enable', 'disable'], function (i, key) { + if (json[key]) { + that[key](json[key], json.animate); + } + }); + if (opts.postUpdate) { + opts.postUpdate(json); + } + parentField.processing(false); + }; + // Use a delegate handler to account for field elements which are added and + // removed after `depenedent` has been called + $(parentField.node()).on(opts.event + '.edep', function (e) { + // Make sure that it was one of the field's elements that triggered the ev + if ($(parentField.node()).find(e.target).length === 0) { + return; + } + parentField.processing(true); + var data = {}; + data.rows = _this.s.editFields ? + pluck(_this.s.editFields, 'data') : + null; + data.row = data.rows ? + data.rows[0] : + null; + data.values = _this.val(); + if (opts.data) { + var ret = opts.data(data); + if (ret) { + data = ret; + } + } + if (typeof url === 'function') { + var o = url.call(_this, parentField.val(), data, update, e); + if (o) { + if (typeof o === 'object' && typeof o.then === 'function') { + o.then(function (resolved) { + if (resolved) { + update(resolved); + } + }); + } + else { + update(o); + } + } + } + else { + if ($.isPlainObject(url)) { + $.extend(ajaxOpts, url); + } + else { + ajaxOpts.url = url; + } + $.ajax($.extend(ajaxOpts, { + data: data, + success: update + })); + } + }); + return this; +} +/** + * Destroy the Editor instance, cleaning up fields, display and event handlers + */ +function destroy() { + if (this.s.displayed) { + this.close(); + } + this.clear(); + // Stick the template back into the document so it can be reused + if (this.s.template) { + $('body').append(this.s.template); + } + var controller = this.s.displayController; + if (controller.destroy) { + controller.destroy(this); + } + $(document).off('.dte' + this.s.unique); + this.dom = null; + this.s = null; +} +/** + * Disable one or more field inputs, disallowing subsequent user interaction with the + * fields until they are re-enabled. + * + * @param this Editor instance + * @param name Field(s) to disable. Disables all if not given. + * @returns Editor instance + */ +function disable(name) { + var that = this; + $.each(this._fieldNames(name), function (i, n) { + that.field(n).disable(); + }); + return this; +} +function display(showIn) { + if (showIn === undefined) { + return this.s.displayed; + } + return this[showIn ? 'open' : 'close'](); +} +/** + * Get a list of the fields that are currently shown in the Editor form. + * + * @param this Editor instance + * @returns Array of field names + */ +function displayed() { + return $.map(this.s.fields, function (fieldIn, name) { + return fieldIn.displayed() ? name : null; + }); +} +/** + * Get display controller node + * + * @returns Display controller host element + */ +function displayNode() { + return this.s.displayController.node(this); +} +function edit(items, arg1, arg2, arg3, arg4) { + var _this = this; + var that = this; + // Some other field in inline edit mode? + if (this._tidy(function () { + that.edit(items, arg1, arg2, arg3, arg4); + })) { + return this; + } + var argOpts = this._crudArgs(arg1, arg2, arg3, arg4); + this._edit(items, this._dataSource('fields', items), 'main', argOpts.opts, function () { + _this._assembleMain(); + _this._formOptions(argOpts.opts); + argOpts.maybeOpen(); + }); + return this; +} +/** + * Enable one or more field inputs, restoring user interaction with the fields. + * + * @param this Editor instance + * @param name Field(s) to enable. If not given, all fields in the form are enabled + * @returns Editor instance + */ +function enable(name) { + var that = this; + $.each(this._fieldNames(name), function (i, n) { + that.field(n).enable(); + }); + return this; +} +function error$1(name, msg) { + var wrapper = $(this.dom.wrapper); + if (msg === undefined) { + // Global error + this._message(this.dom.formError, name, true, function () { + wrapper.toggleClass('inFormError', name !== undefined && name !== ''); + }); + // Store the error message so `inError` can check if there is an + // error or not without considering animation + this.s.globalError = name; + } + else { + // Field error + this.field(name).error(msg); + } + return this; +} +/** + * Get a field object, configured for a named field, which can then be + * manipulated through its API. + * + * @param this Editor instance + * @param name Field to get + * @returns Field instance + */ +function field(name) { + var sFields = this.s.fields; + if (!sFields[name]) { + throw new Error('Unknown field name - ' + name); + } + return sFields[name]; +} +/** + * Get a list of the fields that are used by the Editor instance. + * + * @param this Editor instance + * @returns Editor instance + */ +function fields() { + return $.map(this.s.fields, function (fieldIn, name) { + return name; + }); +} +/** + * Get data object for a file from a table and id + * + * @param name Table name + * @param id Primary key identifier + * @returns File information + */ +function file(name, id) { + var tableFromFile = this.files(name); // can throw. `this` will be Editor or + var fileFromTable = tableFromFile[id]; // DataTables.Api context. Both work. + if (!fileFromTable) { + throw new Error('Unknown file id ' + id + ' in table ' + name); + } + return tableFromFile[id]; +} +function files(name) { + if (!name) { + return Editor.files; + } + var editorTable = Editor.files[name]; + if (!editorTable) { + throw new Error('Unknown file table name: ' + name); + } + return editorTable; +} +function get(name) { + var that = this; + if (!name) { + name = this.fields(); + } + if (Array.isArray(name)) { + var out_1 = {}; + $.each(name, function (i, n) { + out_1[n] = that.field(n).get(); + }); + return out_1; + } + return this.field(name).get(); +} +/** + * Hide one or more fields from the form display. + * + * @param this Editor instance + * @param names Fields to hide. Will hide all if not given + * @param animate Animate (default true) + * @returns Editor instance + */ +function hide(names, animate) { + var that = this; + $.each(this._fieldNames(names), function (i, n) { + that.field(n).hide(animate); + }); + return this; +} +/** + * Get the ids of the rows being edited + * + * @param includeHash Include a prefixed `#`, useful if to be used as a selector + */ +function ids(includeHash) { + if (includeHash === void 0) { includeHash = false; } + return $.map(this.s.editFields, function (editIn, idSrc) { + return includeHash === true ? + '#' + idSrc : + idSrc; + }); +} +/** + * Determine if there is an error state in the form, either the form's global + * error message, or one or more fields. + * + * @param this Editor instance + * @param inNames Fields to check. All checked if not given + * @returns true if in error, false otherwise + */ +function inError(inNames) { + $(this.dom.formError); + // Is there a global error? + if (this.s.globalError) { + return true; + } + // Field specific + var names = this._fieldNames(inNames); + for (var i = 0, ien = names.length; i < ien; i++) { + if (this.field(names[i]).inError()) { + return true; + } + } + return false; +} +function inline(cell, fieldName, opts) { + var _this = this; + var that = this; + // Argument shifting + if ($.isPlainObject(fieldName)) { + opts = fieldName; + fieldName = undefined; + } + opts = $.extend({}, this.s.formOptions.inline, opts); + var editFields = this._dataSource('individual', cell, fieldName); + var keys = Object.keys(editFields); + // Only a single row + if (keys.length > 1) { + throw new Error('Cannot edit more than one row inline at a time'); + } + var editRow = editFields[keys[0]]; + // Remap so easier to use + var hosts = []; + for (var _i = 0, _a = editRow.attach; _i < _a.length; _i++) { + var row = _a[_i]; + hosts.push(row); + } + // Already in edit mode for this cell? + if ($('div.DTE_Field', hosts).length) { + return this; + } + // Some other field in inline edit mode? + if (this._tidy(function () { + that.inline(cell, fieldName, opts); + })) { + return this; + } + // Start a full row edit, but don't display - we will be showing the field + this._edit(cell, editFields, 'inline', opts, function () { + _this._inline(editFields, opts); + }); + return this; +} +/** + * Inline creation of data. + * + * @param this Editor instance + * @param insertPoint Where to insert the create row + * @param opts Form options + * @returns Editor instance + */ +function inlineCreate(insertPoint, opts) { + var _this = this; + // Argument juggling - allow no insert point, just options + if ($.isPlainObject(insertPoint)) { + opts = insertPoint; + insertPoint = null; + } + if (this._tidy(function () { + _this.inlineCreate(insertPoint, opts); + })) { + return this; + } + // Set the default for the fields + $.each(this.s.fields, function (name, fieldIn) { + fieldIn.multiReset(); + fieldIn.multiSet(0, fieldIn.def()); + fieldIn.set(fieldIn.def()); + }); + this.s.mode = 'main'; + this.s.action = 'create'; + this.s.modifier = null; + this.s.editFields = this._dataSource('fakeRow', insertPoint); + opts = $.extend({}, this.s.formOptions.inline, opts); + this._actionClass(); + this._inline(this.s.editFields, opts, function () { + // When the form is closed (cancelled or submitted) we need to remove the + // fake row + _this._dataSource('fakeRowEnd'); + }); + this._event('initCreate', null); + return this; +} +function message(name, msg) { + if (msg === undefined) { + // Global message + this._message(this.dom.formInfo, name); + } + else { + // Field message + this.field(name).message(msg); + } + return this; +} +function mode(modeIn) { + if (!modeIn) { + return this.s.action; + } + if (!this.s.action) { + throw new Error('Not currently in an editing mode'); + } + else if (this.s.action === 'create' && modeIn !== 'create') { + throw new Error('Changing from create mode is not supported'); + } + this.s.action = modeIn; + return this; +} +/** + * Get the modifier that was used to trigger the edit or delete action. + * + * @returns The identifier that was used for the editing / remove method + * called. + */ +function modifier() { + return this.s.modifier; +} +/** + * Get the values for one or more fields (multi-row editing aware). + * + * @param this Editor instance + * @param fieldNames Fields to get values for, or all fields if not given + * @returns Editor instance + */ +function multiGet(fieldNames) { + var that = this; + if (fieldNames === undefined) { + fieldNames = this.fields(); + } + if (Array.isArray(fieldNames)) { + var out_2 = {}; + $.each(fieldNames, function (i, name) { + out_2[name] = that.field(name).multiGet(); + }); + return out_2; + } + // String + return this.field(fieldNames).multiGet(); +} +function multiSet(fieldNames, valIn) { + var that = this; + if ($.isPlainObject(fieldNames) && valIn === undefined) { + $.each(fieldNames, function (name, value) { + that.field(name).multiSet(value); + }); + } + else { + this.field(fieldNames).multiSet(valIn); + } + return this; +} +function node(name) { + var that = this; + if (!name) { + name = this.order(); + } + return Array.isArray(name) ? + $.map(name, function (n) { + return that.field(n).node(); + }) : + this.field(name).node(); +} +/** + * Remove a bound event listener to the editor instance. + * + * @param this Editor instance + * @param name Event name to remove + * @param fn Handler to remove, or all if not specified + * @returns Editor instance + */ +function off(name, fn) { + $(this).off(this._eventName(name), fn); + return this; +} +/** + * Listen for an event which is fired off by Editor when it performs certain + * actions. + * + * @param this Editor instance + * @param name Event to listen for + * @param fn Event handler to apply + * @returns Editor instance + */ +function on(name, fn) { + $(this).on(this._eventName(name), fn); + return this; +} +/** + * Listen for a single event event which is fired off by Editor when it performs + * certain actions + * + * @param this Editor instance + * @param name Event to listen for + * @param fn Event handler to apply + * @returns Editor instance + */ +function one(name, fn) { + $(this).one(this._eventName(name), fn); + return this; +} +/** + * Display the main form editor to the end user in the web-browser. + * + * @param this Editor instance + * @returns Editor instance + */ +function open() { + var _this = this; + // Insert the display elements in order + this._displayReorder(); + // Define how to do a close + this._closeReg(function () { + _this._nestedClose(function () { + _this._clearDynamicInfo(); + _this._event('closed', ['main']); + }); + }); + // Run the standard open with common events + var ret = this._preopen('main'); + if (!ret) { + return this; + } + this._nestedOpen(function () { + _this._focus($.map(_this.s.order, function (name) { return _this.s.fields[name]; }), _this.s.editOpts.focus); + _this._event('opened', ['main', _this.s.action]); + }, this.s.editOpts.nest); + this._postopen('main', false); + return this; +} +function order(setIn /* , ... */) { + if (!setIn) { + return this.s.order; + } + // Allow new layout to be passed in as arguments + if (arguments.length && !Array.isArray(setIn)) { + setIn = Array.prototype.slice.call(arguments); + } + // Sanity check - array must exactly match the fields we have available + if (this.s.order.slice().sort().join('-') !== setIn.slice().sort().join('-')) { + throw new Error('All fields, and no additional fields, must be provided for ordering.'); + } + // Copy the new array into the order (so the reference is maintained) + $.extend(this.s.order, setIn); + this._displayReorder(); + return this; +} +function remove(items, arg1, arg2, arg3, arg4) { + var _this = this; + var that = this; + // Some other field in inline edit mode? + if (this._tidy(function () { + that.remove(items, arg1, arg2, arg3, arg4); + })) { + return this; + } + if (!items && !this.s.table) { + items = 'keyless'; + } + // Allow a single row node to be passed in to remove, Can't use Array.isArray + // as we also allow array like objects to be passed in (API, jQuery) + if (items.length === undefined) { + items = [items]; + } + var argOpts = this._crudArgs(arg1, arg2, arg3, arg4); + var editFields = this._dataSource('fields', items); + this.s.action = 'remove'; + this.s.modifier = items; + this.s.editFields = editFields; + this.dom.form.style.display = 'none'; + this._actionClass(); + this._event('initRemove', [ + pluck(editFields, 'node'), + pluck(editFields, 'data'), + items + ], function () { + _this._event('initMultiRemove', // undocumented and to be removed in v2 + [editFields, items], function () { + _this._assembleMain(); + _this._formOptions(argOpts.opts); + argOpts.maybeOpen(); + var opts = _this.s.editOpts; + if (opts.focus !== null) { + $('button', _this.dom.buttons).eq(opts.focus).focus(); + } + }); + }); + return this; +} +function set(setIn, valIn) { + var that = this; + if (!$.isPlainObject(setIn)) { + var o = {}; + o[setIn] = valIn; + setIn = o; + } + $.each(setIn, function (n, v) { + that.field(n).set(v); + }); + return this; +} +/** + * Show fields in the display that were previously hidden. + * + * @param this Editor instance + * @param names Field(s) to show. All if not given. + * @param animate Animate the visual change or not + * @returns Editor instance + */ +function show(names, animate) { + var that = this; + $.each(this._fieldNames(names), function (i, n) { + that.field(n).show(animate); + }); + return this; +} +/** + * Submit a form for processing. + * + * @param this Editor instance + * @param successCallback Function executed when submit is completed + * @param errorCallback Function executed on error + * @param formatdata Data formatting function + * @param hideIn Disable default close action by passing in false + * @returns Editor instance + */ +function submit(successCallback, errorCallback, formatdata, hideIn) { + var _this = this; + var fields = this.s.fields; + var errorFields = []; + var errorReady = 0; + var sent = false; + if (this.s.processing || !this.s.action) { + return this; + } + this._processing(true); + // If there are fields in error, we want to wait for the error notification + // to be cleared before the form is submitted - errorFields tracks the + // fields which are in the error state, while errorReady tracks those which + // are ready to submit + var send = function () { + if (errorFields.length !== errorReady || sent) { + return; + } + _this._event('initSubmit', [_this.s.action], function (result) { + if (result === false) { + _this._processing(false); + return; + } + sent = true; + _this._submit(successCallback, errorCallback, formatdata, hideIn); + }); + }; + // Blur the current focus if it is a form input element - this allows any + // actions on change event (e.g. dpendent) to happen + var active = document.activeElement; + if ($(active).closest('div.DTE_Field').length !== 0) { + active.blur(); + } + // Remove the global error (don't know if the form is still in an error + // state!) + this.error(); + // Count how many fields are in error + $.each(fields, function (name, fieldIn) { + if (fieldIn.inError()) { + errorFields.push(name); + } + }); + // Remove the error display + $.each(errorFields, function (i, name) { + fields[name].error('', function () { + errorReady++; + send(); + }); + }); + send(); + return this; +} +function table(setIn) { + if (setIn === undefined) { + return this.s.table; + } + this.s.table = setIn; + return this; +} +function template(setIn) { + if (setIn === undefined) { + return this.s.template; + } + this.s.template = setIn === null ? + null : + $(setIn); + return this; +} +function title(titleIn) { + var header = $(this.dom.header).children('div.' + this.classes.header.content); + var titleClass = this.classes.header.title; + if (titleIn === undefined) { + return header.data('title'); + } + if (typeof titleIn === 'function') { + titleIn = titleIn(this, new DataTable$5.Api(this.s.table)); + } + var set = titleClass.tag + ? $("<" + titleClass.tag + ">Uploading file'); + reader.onload = function (e) { + var data = new FormData(); + var ajax; + data.append('action', 'upload'); + data.append('uploadField', conf.name); + data.append('upload', files[counter]); + if (conf.ajaxData) { + conf.ajaxData(data, files[counter], counter); + } + if (conf.ajax) { + ajax = conf.ajax; + } + else if ($.isPlainObject(editor.s.ajax)) { + ajax = editor.s.ajax.upload ? + editor.s.ajax.upload : + editor.s.ajax; + } + else if (typeof editor.s.ajax === 'string') { + ajax = editor.s.ajax; + } + if (!ajax) { + throw new Error('No Ajax option specified for upload plug-in'); + } + if (typeof ajax === 'string') { + ajax = { url: ajax }; + } + // Handle the case when the ajax data is given as a function + if (typeof ajax.data === 'function') { + var d = {}; + var ret = ajax.data(d); + // Allow the return to be used, or the object passed in + if (ret !== undefined && typeof ret !== 'string') { + d = ret; + } + $.each(d, function (key, value) { + data.append(key, value); + }); + } + else if ($.isPlainObject(ajax.data)) { + throw new Error('Upload feature cannot use `ajax.data` with an object. Please use it as a function instead.'); + } + // Dev cancellable event + editor._event('preUpload', [conf.name, files[counter], data], function (preRet) { + // Upload was cancelled + if (preRet === false) { + // If there are other files still to read, spin through them + if (counter < files.length - 1) { + counter++; + reader.readAsDataURL(files[counter]); + } + else { + completeCallback.call(editor, ids); + } + return; + } + // Use preSubmit to stop form submission during an upload, since the + // value won't be known until that point. + var submit = false; + editor + .on('preSubmit.DTE_Upload', function () { + submit = true; + return false; + }); + $.ajax($.extend({}, ajax, { + contentType: false, + data: data, + dataType: 'json', + error: function (xhr) { + var errors = conf.errors; + editor.off('preSubmit.DTE_Upload'); + editor.error(conf.name, errors && errors[xhr.status] + ? errors[xhr.status] + : generalError); + editor._event('uploadXhrError', [conf.name, xhr]); + progressCallback(conf); + }, + processData: false, + success: function (json) { + editor.off('preSubmit.DTE_Upload'); + editor._event('uploadXhrSuccess', [conf.name, json]); + if (json.fieldErrors && json.fieldErrors.length) { + var errors = json.fieldErrors; + for (var i = 0, ien = errors.length; i < ien; i++) { + editor.error(errors[i].name, errors[i].status); + } + completeCallback.call(editor, ids, true); + } + else if (json.error) { + editor.error(json.error); + completeCallback.call(editor, ids, true); + } + else if (!json.upload || !json.upload.id) { + editor.error(conf.name, generalError); + completeCallback.call(editor, ids, true); + } + else { + if (json.files) { + // Loop over the tables that are defined + $.each(json.files, function (table, filesIn) { + if (!Editor.files[table]) { + Editor.files[table] = {}; + } + $.extend(Editor.files[table], filesIn); + }); + } + ids.push(json.upload.id); + if (counter < files.length - 1) { + counter++; + reader.readAsDataURL(files[counter]); + } + else { + completeCallback.call(editor, ids); + if (submit) { + editor.submit(); + } + } + } + progressCallback(conf); + }, + type: 'post', + xhr: function () { + var xhr = $.ajaxSettings.xhr(); + if (xhr.upload) { + xhr.upload.onprogress = function (e) { + if (e.lengthComputable) { + var percent = (e.loaded / e.total * 100).toFixed(0) + '%'; + progressCallback(conf, files.length === 1 ? + percent : + counter + ':' + files.length + ' ' + percent); + } + }; + xhr.upload.onloadend = function () { + progressCallback(conf, conf.processingText || 'Processing'); + }; + } + return xhr; + } + })); + }); + }; + // Convert to a plain array + files = $.map(files, function (val) { + return val; + }); + // Truncate the selected files if needed + if (conf._limitLeft !== undefined) { + files.splice(conf._limitLeft, files.length); + } + reader.readAsDataURL(files[0]); +} +/** + * CommonJS factory function pass through. Matches DataTables. + * @param {*} root Window + * @param {*} jq jQUery + * @returns {boolean} Indicator + */ +function factory(root, jq) { + var is = false; + // Test if the first parameter is a window object + if (root && root.document) { + window = root; + document = root.document; + } + // Test if the second parameter is a jQuery object + if (jq && jq.fn && jq.fn.jquery) { + $ = jq; + is = true; + } + return is; +} + +var DataTable$4 = $.fn.dataTable; +var _inlineCounter = 0; +/** + * Set the class on the form to relate to the action that is being performed. + * This allows styling to be applied to the form to reflect the state that + * it is in. + * + * @private + */ +function _actionClass() { + var classesActions = this.classes.actions; + var action = this.s.action; + var wrapper = $(this.dom.wrapper); + wrapper.removeClass([classesActions.create, classesActions.edit, classesActions.remove].join(' ')); + if (action === 'create') { + wrapper.addClass(classesActions.create); + } + else if (action === 'edit') { + wrapper.addClass(classesActions.edit); + } + else if (action === 'remove') { + wrapper.addClass(classesActions.remove); + } +} +/** + * Create an Ajax request in the same style as DataTables 1.10, with full + * backwards compatibility for Editor 1.2. + * + * @param {object} data Data to submit + * @param {function} success Success callback + * @param {function} error Error callback + * @param {object} submitParams Submitted data + * @private + */ +function _ajax(data, success, error, submitParams) { + var action = this.s.action; + var thrown; + var opts = { + complete: [function (xhr, text) { + // Use `complete` rather than `success` so that all status codes are + // caught and can return valid JSON (useful when working with REST + // services). + var json = null; + if (xhr.status === 204 || xhr.responseText === 'null') { + json = {}; + } + else { + try { + // jQuery 1.12 or newer for responseJSON, but its the only + // way to get the JSON from a JSONP. So if you want to use + // JSONP with Editor you have to use jQuery 1.12+. + json = xhr.responseJSON ? + xhr.responseJSON : + JSON.parse(xhr.responseText); + } + catch (e) { } + } + if ($.isPlainObject(json) || Array.isArray(json)) { + success(json, xhr.status >= 400, xhr); + } + else { + error(xhr, text, thrown); + } + }], + data: null, + dataType: 'json', + error: [function (xhr, text, err) { + thrown = err; + }], + success: [], + type: 'POST' + }; + var a; + var ajaxSrc = this.s.ajax; + var id = action === 'edit' || action === 'remove' ? + pluck(this.s.editFields, 'idSrc').join(',') : + null; + // Get the correct object for rest style + if ($.isPlainObject(ajaxSrc) && ajaxSrc[action]) { + ajaxSrc = ajaxSrc[action]; + } + if (typeof ajaxSrc === 'function') { + // As a function, execute it, passing in the required parameters + ajaxSrc.call(this, null, null, data, success, error); + return; + } + else if (typeof ajaxSrc === 'string') { + // As a string it gives the URL. For backwards compatibility it can also + // give the method. + if (ajaxSrc.indexOf(' ') !== -1) { + a = ajaxSrc.split(' '); + opts.type = a[0]; + opts.url = a[1]; + } + else { + opts.url = ajaxSrc; + } + } + else { + // As an object, we extend the Editor defaults - with the exception of + // the error and complete functions which get added in so the user can + // specify their own in addition to ours + var optsCopy = $.extend({}, ajaxSrc || {}); + if (optsCopy.complete) { + opts.complete.unshift(optsCopy.complete); + delete optsCopy.complete; + } + if (optsCopy.error) { + opts.error.unshift(optsCopy.error); + delete optsCopy.error; + } + opts = $.extend({}, opts, optsCopy); + } + // URL macros + if (opts.replacements) { + $.each(opts.replacements, function (key, repl) { + opts.url = opts.url.replace('{' + key + '}', repl.call(this, key, id, action, data)); + }); + } + opts.url = opts.url + .replace(/_id_/, id) + .replace(/{id}/, id); + // Data processing option like in DataTables + if (opts.data) { + var isFn = typeof opts.data === 'function'; + var newData = isFn ? + opts.data(data) : // fn can manipulate data or return an object + opts.data; // object or array to merge + // If the function returned something, use that alone + data = isFn && newData ? + newData : + $.extend(true, data, newData); + } + opts.data = data; + // If a DELETE method is used there are a number of servers which will + // reject the request if it has a body. So we need to append to the URL. + // + // http://stackoverflow.com/questions/15088955 + // http://bugs.jquery.com/ticket/11586 + if (opts.type === 'DELETE' && (opts.deleteBody === undefined || opts.deleteBody === true)) { + var params = $.param(opts.data); + opts.url += opts.url.indexOf('?') === -1 ? + '?' + params : + '&' + params; + delete opts.data; + } + // Finally, make the ajax call + $.ajax(opts); +} +/** + * Abstraction for jQuery's animate method, to support jQuery slim which doesn't + * include the animate module + * + * @private + */ +function _animate(target, style, time, callback) { + if ($.fn.animate) { + target + .stop() + .animate(style, time, callback); + } + else { + target.css(style); + var scope = target.length && target.length > 1 + ? target[0] + : target; + if (typeof time === 'function') { + time.call(scope); + } + else if (callback) { + callback.call(scope); + } + } +} +/** + * Create the DOM structure from the source elements for the main form. + * This is required since the elements can be moved around for other form types + * (bubble). + * + * @private + */ +function _assembleMain() { + var dom = this.dom; + $(dom.wrapper) + .prepend(dom.header); + $(dom.footer) + .append(dom.formError) + .append(dom.buttons); + $(dom.bodyContent) + .append(dom.formInfo) + .append(dom.form); +} +/** + * Blur the editing window. A blur is different from a close in that it might + * cause either a close or the form to be submitted. A typical example of a + * blur would be clicking on the background of the bubble or main editing forms + * - i.e. it might be a close, or it might submit depending upon the + * configuration, while a click on the close box is a very definite close. + * + * @private + */ +function _blur() { + var opts = this.s.editOpts; + var onBlur = opts.onBlur; + if (this._event('preBlur') === false) { + return; + } + if (typeof onBlur === 'function') { + onBlur(this); + } + else if (onBlur === 'submit') { + this.submit(); + } + else if (onBlur === 'close') { + this._close(); + } +} +/** + * Clear all of the information that might have been dynamically set while + * the form was visible - specifically errors and dynamic messages + * + * @private + */ +function _clearDynamicInfo(errorsOnly) { + if (errorsOnly === void 0) { errorsOnly = false; } + // Can be triggered due to a destroy if the editor is open + if (!this.s) { + return; + } + var errorClass = this.classes.field.error; + var fields = this.s.fields; + $('div.' + errorClass, this.dom.wrapper).removeClass(errorClass); + $.each(fields, function (name, field) { + field.error(''); + if (!errorsOnly) { + field.message(''); + } + }); + this.error(''); + if (!errorsOnly) { + this.message(''); + } +} +/** + * Close an editing display, firing callbacks and events as needed + * + * @param {function} submitComplete Function to call after the preClose event + * @param {string} mode Editing mode that is just finished + * @private + */ +function _close(submitComplete, mode) { + var closed; + // Allow preClose event to cancel the opening of the display + if (this._event('preClose') === false) { + return; + } + if (this.s.closeCb) { + closed = this.s.closeCb(submitComplete, mode); + this.s.closeCb = null; + } + if (this.s.closeIcb) { + this.s.closeIcb(); + this.s.closeIcb = null; + } + // Remove focus control + $('body').off('focus.editor-focus'); + this.s.displayed = false; + this._event('close'); + if (closed) { + // Note that `bubble` will call this itself due to the animation + this._event('closed', [closed]); + } +} +/** + * Register a function to be called when the editing display is closed. This is + * used by function that create the editing display to tidy up the display on + * close - for example removing event handlers to prevent memory leaks. + * + * @param {function} fn Function to call on close + * @private + */ +function _closeReg(fn) { + this.s.closeCb = fn; +} +/** + * Argument shifting for the create(), edit() and remove() methods. In Editor + * 1.3 the preferred form of calling those three methods is with just two + * parameters (one in the case of create() - the id and the show flag), while in + * previous versions four / three parameters could be passed in, including the + * buttons and title options. In 1.3 the chaining API is preferred, but we want + * to support the old form as well, so this function is provided to perform + * that argument shifting, common to all three. + * + * @private + */ +function _crudArgs(arg1, arg2, arg3, arg4) { + var that = this; + var title; + var buttons; + var show; + var opts; + if ($.isPlainObject(arg1)) { + // Form options passed in as the first option + opts = arg1; + } + else if (typeof arg1 === 'boolean') { + // Show / hide passed in as the first option - form options second + show = arg1; + opts = arg2; // can be undefined + } + else { + // Old style arguments + title = arg1; // can be undefined + buttons = arg2; // can be undefined + show = arg3; // can be undefined + opts = arg4; // can be undefined + } + // If all undefined, then fall into here + if (show === undefined) { + show = true; + } + if (title) { + that.title(title); + } + if (buttons) { + that.buttons(buttons); + } + return { + maybeOpen: function () { + if (show) { + that.open(); + } + }, + opts: $.extend({}, this.s.formOptions.main, opts) + }; +} +/** + * Execute the data source abstraction layer functions. This is simply a case + * of executing the function with the Editor scope, passing in the remaining + * parameters. + * + * @param {string} name Function name to execute + * @private + */ +function _dataSource(name) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var dataSource = this.s.table + ? Editor.dataSources.dataTable + : Editor.dataSources.html; + var fn = dataSource[name]; + if (fn) { + return fn.apply(this, args); + } +} +/** + * Insert the fields into the DOM, in the correct order + * + * @private + */ +function _displayReorder(includeFields) { + var _this = this; + var formContent = $(this.dom.formContent); + var fields = this.s.fields; + var order = this.s.order; + var template = this.s.template; + var mode = this.s.mode || 'main'; + if (includeFields) { + this.s.includeFields = includeFields; + } + else { + includeFields = this.s.includeFields; + } + // Empty before adding in the required fields + formContent.children().detach(); + $.each(order, function (i, name) { + if (_this._weakInArray(name, includeFields) !== -1) { + if (template && mode === 'main') { + template.find('editor-field[name="' + name + '"]').after(fields[name].node()); + template.find('[data-editor-template="' + name + '"]').append(fields[name].node()); + } + else { + formContent.append(fields[name].node()); + } + } + }); + if (template && mode === 'main') { + template.appendTo(formContent); + } + this._event('displayOrder', [ + this.s.displayed, + this.s.action, + formContent + ]); +} +/** + * Generic editing handler. This can be called by the three editing modes (main, + * bubble and inline) to configure Editor for a row edit, and fire the required + * events to ensure that the editing interfaces all provide a common API. + * + * @param {*} rows Identifier for the item(s) to be edited + * @param {string} type Editing type - for the initEdit event + * @private + */ +function _edit(items, editFields, type, formOptions, setupDone) { + var _this = this; + var fields = this.s.fields; + var usedFields = []; + var includeInOrder; + var editData = {}; + this.s.editFields = editFields; + this.s.editData = editData; + this.s.modifier = items; + this.s.action = 'edit'; + this.dom.form.style.display = 'block'; + this.s.mode = type; + this._actionClass(); + // Setup the field values for editing + $.each(fields, function (name, field) { + field.multiReset(); + includeInOrder = false; + editData[name] = {}; + $.each(editFields, function (idSrc, edit) { + if (edit.fields[name]) { + var val = field.valFromData(edit.data); + var nullDefault = field.nullDefault(); + // Save the set data values so we can decided in submit if data has changed + // Note that `null` is stored as an empty string since fields do not currently + // have the ability to store a null value - when they are read back (in the + // submit) they would be an empty string. When null handling is added to + // fields, this will need to be removed. + editData[name][idSrc] = val === null ? + '' : + Array.isArray(val) ? + val.slice() : + val; + // If scoped to edit the whole row, then set all of the fields + if (!formOptions || formOptions.scope === 'row') { + field.multiSet(idSrc, val === undefined || (nullDefault && val === null) ? + field.def() : + val, false); + if (!edit.displayFields || edit.displayFields[name]) { + includeInOrder = true; + } + } + else { + // Limit editing to only those fields selected if any are selected + if (!edit.displayFields || edit.displayFields[name]) { + field.multiSet(idSrc, val === undefined || (nullDefault && val === null) ? + field.def() : + val, false); + includeInOrder = true; + } + } + } + }); + // Loop finished - can do a multi-value check for display of the field now + field._multiValueCheck(); + // If the field is used, then add it to the fields to be shown + if (field.multiIds().length !== 0 && includeInOrder) { + usedFields.push(name); + } + }); + // Remove the fields that are not required from the display + var currOrder = this.order().slice(); + for (var i = currOrder.length - 1; i >= 0; i--) { + // Use `toString()` to convert numbers to strings, since usedFields + // contains strings (object property names) + if ($.inArray(currOrder[i].toString(), usedFields) === -1) { + currOrder.splice(i, 1); + } + } + this._displayReorder(currOrder); + // Events + this._event('initEdit', [ + pluck(editFields, 'node')[0], + pluck(editFields, 'data')[0], + items, + type + ], function () { + _this._event('initMultiEdit', // undocumented and to be removed in v2 + [editFields, items, type], function () { + setupDone(); + }); + }); +} +/** + * Fire callback functions and trigger events. + * + * @param {string|array} trigger Name(s) of the jQuery custom event to trigger + * @param {array} args Array of arguments to pass to the triggered event + * @return {*} Return from the event + * @private + */ +function _event(trigger, args, promiseComplete) { + if (args === void 0) { args = []; } + if (promiseComplete === void 0) { promiseComplete = undefined; } + // Allow an array to be passed in for the trigger to fire multiple events + if (Array.isArray(trigger)) { + for (var i = 0, ien = trigger.length; i < ien; i++) { + this._event(trigger[i], args); + } + } + else { + var e = $.Event(trigger); + $(this).triggerHandler(e, args); + var result = e.result; + // Automatically trigger a cancelled event if a `pre` event handler + // was cancelled by the callback + if (trigger.indexOf('pre') === 0 && result === false) { + $(this).triggerHandler($.Event(trigger + 'Cancelled'), args); + } + // Allow for a promise to be returned and execute a callback + if (promiseComplete) { + if (result && typeof result === 'object' && result.then) { + // jQuery and "real" promises both provide "then" + result.then(promiseComplete); + } + else { + // If there wasn't a promise returned, then execute immediately + promiseComplete(result); + } + } + return result; + } +} +/** + * 'Modernise' event names, from the old style `on[A-Z]` names to camelCase. + * This is done to provide backwards compatibility with Editor 1.2- event names. + * The names themselves were updated for consistency with DataTables. + * + * @param {string} Event name to modernise + * @return {string} String with new event name structure + * @private + */ +function _eventName(input) { + var name; + var names = input.split(' '); + for (var i = 0, ien = names.length; i < ien; i++) { + name = names[i]; + // Strip the 'on' part and lowercase the first character + var onStyle = name.match(/^on([A-Z])/); + if (onStyle) { + name = onStyle[1].toLowerCase() + name.substring(3); + } + names[i] = name; + } + return names.join(' '); +} +/** + * Find a field from a DOM node. All children are searched. + * + * @param {node} node DOM node to search for + * @return {Field} Field instance + */ +function _fieldFromNode(node) { + var foundField = null; + $.each(this.s.fields, function (name, field) { + if ($(field.node()).find(node).length) { + foundField = field; + } + }); + return foundField; +} +/** + * Convert a field name input parameter to an array of field names. + * + * Many of the API methods provide the ability to pass `undefined` a string or + * array of strings to identify fields. This method harmonises that. + * + * @param {array|string} [fieldNames] Field names to get + * @return {array} Field names + * @private + */ +function _fieldNames(fieldNames) { + if (fieldNames === undefined) { + return this.fields(); + } + else if (!Array.isArray(fieldNames)) { + return [fieldNames]; + } + return fieldNames; +} +/** + * Focus on a field. Providing the logic to allow complex focus expressions + * + * @param {array} fields Array of Field instances or field names for the fields + * that are shown + * @param {null|string|integer} focus Field identifier to focus on + * @private + */ +function _focus(fieldsIn, focus) { + var _this = this; + // Can't focus on a field when in remove mode (they aren't shown). + if (this.s.action === 'remove') { + return; + } + var field; + var fields = $.map(fieldsIn, function (fieldOrName) { return typeof fieldOrName === 'string' ? + _this.s.fields[fieldOrName] : + fieldOrName; }); + if (typeof focus === 'number') { + field = fields[focus]; + } + else if (focus) { + if (focus.indexOf('jq:') === 0) { + field = $('div.DTE ' + focus.replace(/^jq:/, '')); + } + else { + field = this.s.fields[focus]; + } + } + else { + document.activeElement.blur(); + } + this.s.setFocus = field; + if (field) { + field.focus(); + } +} +/** + * Form options - common function so all editing methods can provide the same + * basic options, DRY. + * + * @param {object} opts Editing options. See model.formOptions + * @private + */ +function _formOptions(opts) { + var _this = this; + var that = this; + var inlineCount = _inlineCounter++; + var namespace = '.dteInline' + inlineCount; + // Backwards compatibility with 1.4 + // if ( opts.closeOnComplete !== undefined ) { + // opts.onComplete = opts.closeOnComplete ? 'close' : 'none'; + // } + // if ( opts.submitOnBlur !== undefined ) { + // opts.onBlur = opts.submitOnBlur ? 'submit' : 'close'; + // } + // if ( opts.submitOnReturn !== undefined ) { + // opts.onReturn = opts.submitOnReturn ? 'submit' : 'none'; + // } + // if ( opts.blurOnBackground !== undefined ) { + // opts.onBackground = opts.blurOnBackground ? 'blur' : 'none'; + // } + this.s.editOpts = opts; + // When submitting by Ajax we don't want to close a form that has been + // opened during the ajax request, so we keep a count of the form opening + this.s.editCount = inlineCount; + if (typeof opts.title === 'string' || typeof opts.title === 'function') { + this.title(opts.title); + opts.title = true; + } + if (typeof opts.message === 'string' || typeof opts.message === 'function') { + this.message(opts.message); + opts.message = true; + } + if (typeof opts.buttons !== 'boolean') { + this.buttons(opts.buttons); + opts.buttons = true; + } + // Prevent submit by a host `` + $(document).on('keydown' + namespace, function (e) { + if (e.which === 13 && _this.s.displayed) { // return + var el = $(document.activeElement); + if (el) { + var field = _this._fieldFromNode(el); + if (field && typeof field.canReturnSubmit === 'function' && field.canReturnSubmit(el)) { + e.preventDefault(); + } + } + } + }); + $(document).on('keyup' + namespace, function (e) { + var el = $(document.activeElement); + if (e.which === 13 && _this.s.displayed) { // return + var field = _this._fieldFromNode(el); + // Allow the field plug-in to say if we can submit or not + if (field && typeof field.canReturnSubmit === 'function' && field.canReturnSubmit(el)) { + if (opts.onReturn === 'submit') { + e.preventDefault(); + _this.submit(); + } + else if (typeof opts.onReturn === 'function') { + e.preventDefault(); + opts.onReturn(_this, e); + } + } + } + else if (e.which === 27) { // esc + e.preventDefault(); + if (typeof opts.onEsc === 'function') { + opts.onEsc(that, e); + } + else if (opts.onEsc === 'blur') { + that.blur(); + } + else if (opts.onEsc === 'close') { + that.close(); + } + else if (opts.onEsc === 'submit') { + that.submit(); + } + } + else if (el.parents('.DTE_Form_Buttons').length) { + if (e.which === 37) { // left + el.prev('button').trigger('focus'); + } + else if (e.which === 39) { // right + el.next('button').trigger('focus'); + } + } + }); + this.s.closeIcb = function () { + $(document).off('keydown' + namespace); + $(document).off('keyup' + namespace); + }; + return namespace; +} +/** + * Inline editing insertion of fields + */ +function _inline(editFields, opts, closeCb) { + var _this = this; + if (closeCb === void 0) { closeCb = null; } + var closed = false; + var classes = this.classes.inline; + var keys = Object.keys(editFields); + var editRow = editFields[keys[0]]; + var lastAttachPoint; + var elements = []; + for (var i = 0; i < editRow.attach.length; i++) { + var name_1 = editRow.attachFields[i][0]; + elements.push({ + field: this.s.fields[name_1], + name: name_1, + node: $(editRow.attach[i]), + }); + } + var namespace = this._formOptions(opts); + var ret = this._preopen('inline'); + if (!ret) { + return this; + } + for (var _i = 0, elements_1 = elements; _i < elements_1.length; _i++) { + var el = elements_1[_i]; + var node = el.node; + el.children = node.contents().detach(); + // Note the wdith setting shouldn't be required, but Edge increases the column's + // width if a % width is used (even 1%). This is the workaround + var style = navigator.userAgent.indexOf('Edge/') !== -1 ? + 'style="width:' + node.width() + 'px"' : + ''; + node.append($('
' + + '
' + + '
' + + '
' + + '
' + + '
')); + node.find('div.' + classes.liner.replace(/ /g, '.')) + .append(el.field.node()) + .append(this.dom.formError); + // Need the last insert point to allow for number submitTrigger + lastAttachPoint = el.field.node(); + if (opts.buttons) { + // Use prepend for the CSS, so we can float the buttons right + node.find('div.' + classes.buttons.replace(/ /g, '.')).append(this.dom.buttons); + } + } + // If there is a submit trigger target, we need to modify the document to allow submission + var submitClose = this._inputTrigger('submit', opts, lastAttachPoint); + var cancelClose = this._inputTrigger('cancel', opts, lastAttachPoint); + this._closeReg(function (submitComplete, action) { + // Mark that this specific inline edit has closed + closed = true; + $(document).off('click' + namespace); + // If there was no submit, we need to put the DOM back as it was. If + // there was a submit, the write of the new value will set the DOM to + // how it should be. Note also, check if it was an edit action, if not + // a create will create new row so we tidy this one up + if (!submitComplete || action !== 'edit') { + elements.forEach(function (el) { + el.node.contents().detach(); + el.node.append(el.children); + }); + } + submitClose(); + cancelClose(); + // Clear error messages "offline" + _this._clearDynamicInfo(); + if (closeCb) { + closeCb(); + } + return 'inline'; // trigger `closed` + }); + // Submit and blur actions + setTimeout(function () { + // If already closed, possibly due to some other aspect of the event + // that triggered the inline call, don't add the event listener - it + // isn't needed (and is dangerous) + if (closed) { + return; + } + // andSelf is deprecated in jQ1.8, but we want 1.7 compat + var back = $.fn.addBack ? 'addBack' : 'andSelf'; + // Chrome uses the target as the element where the mouse up happens, + // but we want the target being where the mouse down is, to allow for + // text selection in an input - so listen on mousedown as well. + var target; + $(document) + .on('mousedown' + namespace, function (e) { + target = e.target; + }) + .on('keydown' + namespace, function (e) { + target = e.target; + }) + .on('click' + namespace, function (e) { + // Was the click inside or owned by one of the editing nodes? If + // not, then come out of editing mode. + var isIn = false; + for (var _i = 0, elements_2 = elements; _i < elements_2.length; _i++) { + var el = elements_2[_i]; + if (el.field._typeFn('owns', target) || + $.inArray(el.node[0], $(target).parents()[back]()) !== -1) { + isIn = true; + } + } + if (!isIn) { + _this.blur(); + } + }); + }, 0); + this._focus($.map(elements, function (el) { return el.field; }), opts.focus); + this._postopen('inline', true); +} +/** + * Add a triggering action for inline editing, with a return function that + * will tidy up the events. + * + * @param type Action + * @param opts Form options object + * @param insertPoint Insert point in the DOM + * @private + */ +function _inputTrigger(type, opts, insertPoint) { + var _this = this; + var trigger = opts[type + 'Trigger']; + var html = opts[type + 'Html']; + var event = 'click.dte-' + type; + var tr = $(insertPoint).closest('tr'); + if (trigger === undefined) { + return function () { }; + } + // Allow the input to be a column index, including a negative to count from right + if (typeof trigger === 'number') { + var kids = tr.children(); + trigger = trigger < 0 + ? kids[kids.length + trigger] + : kids[trigger]; + } + // Use childNodes to get text nodes as well + var children = $(trigger, tr).length + ? Array.prototype.slice.call($(trigger, tr)[0].childNodes) + : []; + $(children).detach(); + // Event handler to submit the form and do nothing else + var triggerEl = $(trigger, tr) + .on(event, function (e) { + e.stopImmediatePropagation(); + if (type === 'cancel') { + _this.close(); + } + else { + _this.submit(); + } + }) + .append(html); + return function () { + triggerEl + .off(event) + .empty() + .append(children); + }; +} +/** + * Update the field options from a JSON data source + * + * @param {object} json JSON object from the server + * @private + */ +function _optionsUpdate(json) { + var that = this; + if (json && json.options) { + $.each(this.s.fields, function (name, field) { + if (json.options[name] !== undefined) { + var fieldInst = that.field(name); + if (fieldInst && fieldInst.update) { + fieldInst.update(json.options[name]); + } + } + }); + } +} +/** + * Show a message in the form. This can be used for error messages or dynamic + * messages (information display) as the structure for each is basically the + * same. This method will take into account if the form is visible or not - if + * so then the message is shown with an effect for the end user, otherwise + * it is just set immediately. + * + * @param {element} el The field display node to use + * @param {string|function} msg The message to show + * @private + */ +function _message(el, msg, title, fn) { + // Allow for jQuery slim + var canAnimate = $.fn.animate ? true : false; + if (title === undefined) { + title = false; + } + if (!fn) { + fn = function () { }; + } + if (typeof msg === 'function') { + msg = msg(this, new DataTable$4.Api(this.s.table)); + } + el = $(el); + if (canAnimate) { + el.stop(); + } + if (!msg) { + if (this.s.displayed && canAnimate) { + // Clear the message with visual effect since the form is visible + el + .fadeOut(function () { + el.html(''); + fn(); + }); + } + else { + // Clear the message without visual effect + el + .html('') + .css('display', 'none'); + fn(); + } + if (title) { + el.removeAttr('title'); + } + } + else { + fn(); + if (this.s.displayed && canAnimate) { + // Show the message with visual effect + el + .html(msg) + .fadeIn(); + } + else { + // Show the message without visual effect + el + .html(msg) + .css('display', 'block'); + } + if (title) { + el.attr('title', msg); + } + } +} +/** + * Update the multi-value information display to not show redundant information + * + * @private + */ +function _multiInfo() { + var fields = this.s.fields; + var include = this.s.includeFields; + var show = true; + var state; + if (!include) { + return; + } + for (var i = 0, ien = include.length; i < ien; i++) { + var field = fields[include[i]]; + var multiEditable = field.multiEditable(); + if (field.isMultiValue() && multiEditable && show) { + // Multi-row editable. Only show first message + state = true; + show = false; + } + else if (field.isMultiValue() && !multiEditable) { + // Not multi-row editable. Always show message + state = true; + } + else { + state = false; + } + fields[include[i]].multiInfoShown(state); + } +} +/** + * Close the current form, which can result in the display controller + * hiding its display, or showing a form from a level up if nesting + */ +function _nestedClose(cb) { + var disCtrl = this.s.displayController; + var show = disCtrl._show; + if (!show || !show.length) { + // Nothing shown just now + if (cb) { + cb(); + } + } + else if (show.length > 1) { + // Got nested forms - remove current and go one layer up + show.pop(); + // Get the one to show + var last = show[show.length - 1]; + if (cb) { + cb(); + } + this.s.displayController.open(last.dte, last.append, last.callback); + } + else { + this.s.displayController.close(this, cb); + show.length = 0; + } +} +/** + * Display a form, adding it to the display stack for nesting + */ +function _nestedOpen(cb, nest) { + var disCtrl = this.s.displayController; + // This needs to be per display controller, but the controller + // itself doesn't know anything about the nesting, so we add a + // "hidden" property to it, used here, but not by the controller + // itself. + if (!disCtrl._show) { + disCtrl._show = []; + } + if (!nest) { + disCtrl._show.length = 0; + } + disCtrl._show.push({ + append: this.dom.wrapper, + callback: cb, + dte: this, + }); + this.s.displayController.open(this, this.dom.wrapper, cb); +} +/** + * Common display editing form method called by all editing methods after the + * form has been configured and displayed. This is to ensure all fire the same + * events. + * + * @param {string} type Editing type + * @param {boolean} immediate indicate if the open is immediate (in which case + * `opened` is also triggered). + * @return {boolean} `true` + * @private + */ +function _postopen(type, immediate) { + var _this = this; + var focusCapture = this.s.displayController.captureFocus; + if (focusCapture === undefined) { + focusCapture = true; + } + $(this.dom.form) + .off('submit.editor-internal') + .on('submit.editor-internal', function (e) { + e.preventDefault(); + }); + // Focus capture - when the Editor form is shown we capture the browser's + // focus action. Without doing this is would result in the user being able + // to control items under the Editor display - triggering actions that + // shouldn't be possible while the editing is shown. + if (focusCapture && (type === 'main' || type === 'bubble')) { + $('body').on('focus.editor-focus', function () { + if ($(document.activeElement).parents('.DTE').length === 0 && + $(document.activeElement).parents('.DTED').length === 0) { + if (_this.s.setFocus) { + _this.s.setFocus.focus(); + } + } + }); + } + this._multiInfo(); + this._event('open', [type, this.s.action]); + if (immediate) { + this._event('opened', [type, this.s.action]); + } + return true; +} +/** + * Common display editing form method called by all editing methods before the + * form has been configured and displayed. This is to ensure all fire the same + * events. + * + * @param {string} Editing type + * @return {boolean} `false` if the open is cancelled by the preOpen event, + * otherwise `true` + * @private + */ +function _preopen(type) { + // Allow preOpen event to cancel the opening of the display + if (this._event('preOpen', [type, this.s.action]) === false) { + // Tidy- this would normally be done on close, but we never get that far + this._clearDynamicInfo(); + this._event('cancelOpen', [type, this.s.action]); + // inline and bubble methods cannot be opened using `open()`, they + // have to be called again, so we need to clean up the event + // listener added by _formOptions + if ((this.s.mode === 'inline' || this.s.mode === 'bubble') && this.s.closeIcb) { + this.s.closeIcb(); + } + this.s.closeIcb = null; + return false; + } + this._clearDynamicInfo(true); + this.s.displayed = type; + return true; +} +/** + * Set the form into processing mode or take it out of processing mode. In + * processing mode a processing indicator is shown and user interaction with the + * form buttons is blocked + * + * @param {boolean} processing true if to go into processing mode and false if + * to come out of processing mode + * @private + */ +function _processing(processing) { + var procClass = this.classes.processing.active; + $(['div.DTE', this.dom.wrapper]).toggleClass(procClass, processing); + this.s.processing = processing; + this._event('processing', [processing]); +} +/** + * Check if any of the fields are processing for the submit to carry on. It + * can recurse. + * + * @private + */ +function _noProcessing(args) { + var processing = false; + $.each(this.s.fields, function (name, field) { + if (field.processing()) { + processing = true; + } + }); + if (processing) { + this.one('processing-field', function () { + // Are any other fields in a processing state? - Might need to wait again + if (this._noProcessing(args) === true) { + this._submit.apply(this, args); + } + }); + } + return !processing; +} +/** + * Submit a form to the server for processing. This is the private method that is used + * by the 'submit' API method, which should always be called in preference to calling + * this method directly. + * + * @param {function} [successCallback] Callback function that is executed once the + * form has been successfully submitted to the server and no errors occurred. + * @param {function} [errorCallback] Callback function that is executed if the + * server reports an error due to the submission (this includes a JSON formatting + * error should the error return invalid JSON). + * @param {function} [formatdata] Callback function that is passed in the data + * that will be submitted to the server, allowing pre-formatting of the data, + * removal of data or adding of extra fields. + * @param {boolean} [hide=true] When the form is successfully submitted, by default + * the form display will be hidden - this option allows that to be overridden. + * @private + */ +function _submit(successCallback, errorCallback, formatdata, hide) { + var _this = this; + var changed = false; + var allData = {}; + var changedData = {}; + var setBuilder = dataSet; + var fields = this.s.fields; + var editCount = this.s.editCount; + var editFields = this.s.editFields; + var editData = this.s.editData; + var opts = this.s.editOpts; + var changedSubmit = opts.submit; + var submitParamsLocal; + // First - are any of the fields currently "processing"? If so, then we + // want to let them complete before submitting + if (this._noProcessing(arguments) === false) { + Editor.error('Field is still processing', 16, false); + return; + } + // After initSubmit to allow `mode()` to be used as a setter + var action = this.s.action; + var submitParams = { + data: {} + }; + submitParams[this.s.actionName] = action; + // Gather the data that is to be submitted + if (action === 'create' || action === 'edit') { + $.each(editFields, function (idSrc, edit) { + var allRowData = {}; + var changedRowData = {}; + $.each(fields, function (name, field) { + if (edit.fields[name] && field.submittable()) { + var multiGet = field.multiGet(); + var builder = setBuilder(name); + // If it wasn't an edit field, we still need to get the original + // data, so we can submit it if `all` or `allIfChanged` + if (multiGet[idSrc] === undefined) { + var originalVal = field.valFromData(edit.data); + builder(allRowData, originalVal); + return; + } + var value = multiGet[idSrc]; + var manyBuilder = Array.isArray(value) && typeof name === 'string' && name.indexOf('[]') !== -1 ? + setBuilder(name.replace(/\[.*$/, '') + '-many-count') : + null; + builder(allRowData, value); + // We need to tell the server-side if an array submission + // actually has no elements so it knows if the array was + // being submitted or not (since otherwise it doesn't know + // if the array was empty, or just not being submitted) + if (manyBuilder) { + manyBuilder(allRowData, value.length); + } + // Build a changed object for if that is the selected data + // type + if (action === 'edit' && (!editData[name] || !field.compare(value, editData[name][idSrc]))) { + builder(changedRowData, value); + changed = true; + if (manyBuilder) { + manyBuilder(changedRowData, value.length); + } + } + } + }); + if (!$.isEmptyObject(allRowData)) { + allData[idSrc] = allRowData; + } + if (!$.isEmptyObject(changedRowData)) { + changedData[idSrc] = changedRowData; + } + }); + // Decide what data to submit to the server for edit (create is all, always) + if (action === 'create' || changedSubmit === 'all' || (changedSubmit === 'allIfChanged' && changed)) { + submitParams.data = allData; + } + else if (changedSubmit === 'changed' && changed) { + submitParams.data = changedData; + } + else { + // Nothing to submit + this.s.action = null; + if (opts.onComplete === 'close' && (hide === undefined || hide)) { + this._close(false); + } + else if (typeof opts.onComplete === 'function') { + opts.onComplete(this); + } + if (successCallback) { + successCallback.call(this); + } + this._processing(false); + this._event('submitComplete'); + return; + } + } + else if (action === 'remove') { + $.each(editFields, function (idSrc, edit) { + submitParams.data[idSrc] = edit.data; + }); + } + // Local copy of the submit parameters, needed for the data lib prep since + // the preSubmit can modify the format and we need to know what the format is + submitParamsLocal = $.extend(true, {}, submitParams); + // Allow the data to be submitted to the server to be preprocessed by callback + // and event functions + if (formatdata) { + formatdata(submitParams); + } + this._event('preSubmit', [submitParams, action], function (result) { + if (result === false) { + _this._processing(false); + } + else { + // Submit to the server (or whatever method is defined in the settings) + var submitWire = _this.s.ajax ? + _this._ajax : + _this._submitTable; + submitWire.call(_this, submitParams, function (json, notGood, xhr) { + _this._submitSuccess(json, notGood, submitParams, submitParamsLocal, _this.s.action, editCount, hide, successCallback, errorCallback, xhr); + }, function (xhr, err, thrown) { + _this._submitError(xhr, err, thrown, errorCallback, submitParams, _this.s.action); + }, submitParams); + } + }); +} +/** + * Save submitted data without an Ajax request. This will write to a local + * table only - not saving it permanently, but rather using the DataTable itself + * as a data store. + * + * @param {object} data Data to submit + * @param {function} success Success callback + * @param {function} error Error callback + * @param {object} submitParams Submitted data + * @private + */ +function _submitTable(data, success, error, submitParams) { + var action = data.action; + var out = { data: [] }; + var idGet = dataGet(this.s.idSrc); + var idSet = dataSet(this.s.idSrc); + // Nothing required for remove - create and edit get a copy of the data + if (action !== 'remove') { + var originalData_1 = this.s.mode === 'main' ? + this._dataSource('fields', this.modifier()) : + this._dataSource('individual', this.modifier()); + $.each(data.data, function (key, vals) { + var toSave; + var extender = extend; + // Get the original row's data, so we can modify it with new values. + // This allows Editor to not need to submit all fields + if (action === 'edit') { + var rowData = originalData_1[key].data; + toSave = extender({}, rowData, true); + toSave = extender(toSave, vals, true); + } + else { + toSave = extender({}, vals, true); + } + // If create and there isn't an id for the new row, create + // one. An id could be creased by `preSubmit` + var overrideId = idGet(toSave); + if (action === 'create' && overrideId === undefined) { + idSet(toSave, +new Date() + key.toString()); + } + else { + idSet(toSave, overrideId); + } + out.data.push(toSave); + }); + } + success(out); +} +/** + * Submit success callback function + * + * @param {object} json Payload + * @param {bool} notGood True if the returned status code was + * >=400 (i.e. processing failed). This is called `notGood` rather than + * `success` since the request was successfully processed, just not written to + * the db. It is also inverted from "good" to make it optional when overriding + * the `ajax` function. + * @param {object} submitParams Submitted data + * @param {object} submitParamsLocal Unmodified copy of submitted data + * (before it could be modified by the user) + * @param {string} action CRUD action being taken + * @param {int} editCount Protection against async errors + * @param {bool} hide Hide the form flag + * @param {function} successCallback Success callback + * @param {function} errorCallback Error callback + * @private + */ +function _submitSuccess(json, notGood, submitParams, submitParamsLocal, action, editCount, hide, successCallback, errorCallback, xhr) { + var _this = this; + var that = this; + var setData; + var fields = this.s.fields; + var opts = this.s.editOpts; + var modifier = this.s.modifier; + this._event('postSubmit', [json, submitParams, action, xhr]); + if (!json.error) { + json.error = ''; + } + if (!json.fieldErrors) { + json.fieldErrors = []; + } + if (notGood || json.error || json.fieldErrors.length) { + // Global form error + var globalError_1 = []; + if (json.error) { + globalError_1.push(json.error); + } + // Field specific errors + $.each(json.fieldErrors, function (i, err) { + var field = fields[err.name]; + if (!field) { + throw new Error('Unknown field: ' + err.name); + } + else if (field.displayed()) { + field.error(err.status || 'Error'); + if (i === 0) { + if (opts.onFieldError === 'focus') { + // Scroll the display to the first error and focus + _this._animate($(_this.dom.bodyContent), { scrollTop: $(field.node()).position().top }, 500); + field.focus(); + } + else if (typeof opts.onFieldError === 'function') { + opts.onFieldError(_this, err); + } + } + } + else { + // If the field isn't visible, we need to make it display as a global error + // This _shouldn't_ happen - it means there is invalid data if it does + globalError_1.push(field.name() + ': ' + (err.status || 'Error')); + } + }); + this.error(globalError_1.join('
')); + this._event('submitUnsuccessful', [json]); + if (errorCallback) { + errorCallback.call(that, json); + } + } + else { + // Create a data store that the data source can use, which is + // unique to this action + var store = {}; + if (json.data && (action === 'create' || action === 'edit')) { + this._dataSource('prep', action, modifier, submitParamsLocal, json, store); + for (var _i = 0, _a = json.data; _i < _a.length; _i++) { + var data = _a[_i]; + setData = data; + var id = this._dataSource('id', data); + this._event('setData', [json, data, action]); // legacy + if (action === 'create') { + // New row was created to add it to the DT + this._event('preCreate', [json, data, id]); + this._dataSource('create', fields, data, store); + this._event(['create', 'postCreate'], [json, data, id]); + } + else if (action === 'edit') { + // Row was updated, so tell the DT + this._event('preEdit', [json, data, id]); + this._dataSource('edit', modifier, fields, data, store); + this._event(['edit', 'postEdit'], [json, data, id]); + } + } + this._dataSource('commit', action, modifier, json.data, store); + } + else if (action === 'remove') { + this._dataSource('prep', action, modifier, submitParamsLocal, json, store); + // Remove the rows given and then redraw the table + this._event('preRemove', [json, this.ids()]); + this._dataSource('remove', modifier, fields, store); + this._event(['remove', 'postRemove'], [json, this.ids()]); + this._dataSource('commit', action, modifier, json.data, store); + } + // Submission complete + if (editCount === this.s.editCount) { + var sAction = this.s.action; + this.s.action = null; // Must do before close, in case close starts a new edit + if (opts.onComplete === 'close' && (hide === undefined || hide)) { + // If no data returned, then treat as not complete + this._close(json.data ? true : false, sAction); + } + else if (typeof opts.onComplete === 'function') { + opts.onComplete(this); + } + } + // All done - fire off the callbacks and events + if (successCallback) { + successCallback.call(that, json); + } + this._event('submitSuccess', [json, setData, action]); + } + this._processing(false); + this._event('submitComplete', [json, setData, action]); +} +/** + * Submit error callback function + * + * @private + */ +function _submitError(xhr, err, thrown, errorCallback, submitParams, action) { + this._event('postSubmit', [null, submitParams, action, xhr]); + this.error(this.i18n.error.system); + this._processing(false); + if (errorCallback) { + errorCallback.call(this, xhr, err, thrown); + } + this._event(['submitError', 'submitComplete'], [xhr, err, thrown, submitParams]); +} +/** + * Check to see if the form needs to be tidied before a new action can be performed. + * This includes if the from is currently processing an old action and if it + * is inline editing. + * + * @param {function} fn Callback function + * @returns {boolean} `true` if was in inline mode, `false` otherwise + * @private + */ +function _tidy(fn) { + var _this = this; + var dt = this.s.table ? + new $.fn.dataTable.Api(this.s.table) : + null; + var ssp = false; + if (dt) { + ssp = dt.settings()[0].oFeatures.bServerSide; + } + if (this.s.processing) { + // If currently processing, wait until the action is complete + this.one('submitComplete', function () { + // If server-side processing is being used in DataTables, first + // check that we are still processing (might not be if nothing was + // submitted) and then wait for the draw to finished + if (ssp) { + dt.one('draw', fn); + } + else { + setTimeout(function () { + fn(); + }, 10); + } + }); + return true; + } + else if (this.display() === 'inline' || this.display() === 'bubble') { + // If there is an inline edit box, it needs to be tidied + this + .one('close', function () { + // On close if processing then we need to wait for the submit to + // complete before running the callback as onBlur was set to + // submit + if (!_this.s.processing) { + // IE needs a small timeout, otherwise it may not focus on a + // field if one already has focus + setTimeout(function () { + // Check this Editor wasn't destroyed + if (_this.s) { + fn(); + } + }, 10); + } + else { + // Need to wait for the submit to finish + _this.one('submitComplete', function (e, json) { + // If SSP then need to wait for the draw + if (ssp && json) { + dt.one('draw', fn); + } + else { + setTimeout(function () { + if (_this.s) { + fn(); + } + }, 10); + } + }); + } + }) + .blur(); + return true; + } + return false; +} +/** + * Same as $.inArray but with weak type checking + * + * @param {any} name Value to look for in the array + * @param {array} arr Array to scan through + * @returns {number} -1 if not found, index otherwise + */ +function _weakInArray(name, arr) { + for (var i = 0, ien = arr.length; i < ien; i++) { + if (name == arr[i]) { + return i; + } + } + return -1; +} + +var fieldType = { + create: function () { }, + disable: function () { }, + enable: function () { }, + get: function () { }, + set: function () { } +}; + +var DataTable$3 = $.fn.dataTable; +// Upload private helper method +function _buttonText(conf, textIn) { + if (textIn === null || textIn === undefined) { + textIn = conf.uploadText || 'Choose file...'; + } + conf._input.find('div.upload button').html(textIn); +} +function _commonUpload(editor, conf, dropCallback, multiple) { + if (multiple === void 0) { multiple = false; } + var btnClass = editor.classes.form.buttonInternal; + var container = $('
' + + '
' + + '
' + + '
' + + '' + + '' + + '
' + + '
' + + '' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
'); + conf._input = container; + conf._enabled = true; + if (conf.id) { + container.find('input[type=file]').attr('id', Editor.safeId(conf.id)); + } + if (conf.attr) { + container.find('input[type=file]').attr(conf.attr); + } + _buttonText(conf); + if (window.FileReader && conf.dragDrop !== false) { + container.find('div.drop span').text(conf.dragDropText || 'Drag and drop a file here to upload'); + var dragDrop_1 = container.find('div.drop'); + dragDrop_1 + .on('drop', function (e) { + if (conf._enabled) { + Editor.upload(editor, conf, e.originalEvent.dataTransfer.files, _buttonText, dropCallback); + dragDrop_1.removeClass('over'); + } + return false; + }) + .on('dragleave dragexit', function (e) { + if (conf._enabled) { + dragDrop_1.removeClass('over'); + } + return false; + }) + .on('dragover', function (e) { + if (conf._enabled) { + dragDrop_1.addClass('over'); + } + return false; + }); + // When an Editor is open with a file upload input there is a + // reasonable chance that the user will miss the drop point when + // dragging and dropping. Rather than loading the file in the browser, + // we want nothing to happen, otherwise the form will be lost. + editor + .on('open', function () { + $('body').on('dragover.DTE_Upload drop.DTE_Upload', function (e) { + return false; + }); + }) + .on('close', function () { + $('body').off('dragover.DTE_Upload drop.DTE_Upload'); + }); + } + else { + container.addClass('noDrop'); + container.append(container.find('div.rendered')); + } + container.find('div.clearValue button').on('click', function (e) { + e.preventDefault(); + if (conf._enabled) { + upload.set.call(editor, conf, ''); + } + }); + container.find('input[type=file]').on('input', function () { + Editor.upload(editor, conf, this.files, _buttonText, function (ids, error) { + if (!error) { + dropCallback.call(editor, ids); + } + container.find('input[type=file]')[0].value = ''; + }); + }); + return container; +} +// Typically a change event caused by the end user will be added to a queue that +// the browser will handle when no other script is running. However, using +// `$().trigger()` will cause it to happen immediately, so in order to simulate +// the standard browser behaviour we use setTimeout. This also means that +// `dependent()` and other change event listeners will trigger when the field +// values have all been set, rather than as they are being set - 31594 +function _triggerChange(input) { + setTimeout(function () { + input.trigger('change', { editor: true, editorSet: true }); // editorSet legacy + }, 0); +} +// A number of the fields in this file use the same get, set, enable and disable +// methods (specifically the text based controls), so in order to reduce the code +// size, we just define them once here in our own local base model for the field +// types. +var baseFieldType = $.extend(true, {}, fieldType, { + canReturnSubmit: function (conf, node) { + return true; + }, + disable: function (conf) { + conf._input.prop('disabled', true); + }, + enable: function (conf) { + conf._input.prop('disabled', false); + }, + get: function (conf) { + return conf._input.val(); + }, + set: function (conf, val) { + conf._input.val(val); + _triggerChange(conf._input); + } +}); +var hidden = { + create: function (conf) { + conf._input = $(''); + conf._val = conf.value; + return null; + }, + get: function (conf) { + return conf._val; + }, + set: function (conf, val) { + var oldVal = conf._val; + conf._val = val; + conf._input.val(val); + if (oldVal !== val) { + _triggerChange(conf._input); + } + } +}; +var readonly = $.extend(true, {}, baseFieldType, { + create: function (conf) { + conf._input = $('').attr($.extend({ + id: Editor.safeId(conf.id), + readonly: 'readonly', + type: 'text' + }, conf.attr || {})); + return conf._input[0]; + } +}); +var text = $.extend(true, {}, baseFieldType, { + create: function (conf) { + conf._input = $('').attr($.extend({ + id: Editor.safeId(conf.id), + type: 'text' + }, conf.attr || {})); + return conf._input[0]; + } +}); +var password = $.extend(true, {}, baseFieldType, { + create: function (conf) { + conf._input = $('').attr($.extend({ + id: Editor.safeId(conf.id), + type: 'password' + }, conf.attr || {})); + return conf._input[0]; + } +}); +var textarea = $.extend(true, {}, baseFieldType, { + canReturnSubmit: function (conf, node) { + return false; + }, + create: function (conf) { + conf._input = $('').attr($.extend({ + id: Editor.safeId(conf.id) + }, conf.attr || {})); + return conf._input[0]; + } +}); +var select = $.extend(true, {}, baseFieldType, { + // Locally "private" function that can be reused for the create and update methods + _addOptions: function (conf, opts, append) { + if (append === void 0) { append = false; } + var elOpts = conf._input[0].options; + var countOffset = 0; + if (!append) { + elOpts.length = 0; + if (conf.placeholder !== undefined) { + var placeholderValue = conf.placeholderValue !== undefined ? + conf.placeholderValue : + ''; + countOffset += 1; + elOpts[0] = new Option(conf.placeholder, placeholderValue); + var disabled = conf.placeholderDisabled !== undefined ? + conf.placeholderDisabled : + true; + elOpts[0].hidden = disabled; // can't be hidden if not disabled! + elOpts[0].disabled = disabled; + elOpts[0]._editor_val = placeholderValue; + } + } + else { + countOffset = elOpts.length; + } + if (opts) { + Editor.pairs(opts, conf.optionsPair, function (val, label, i, attr) { + var option = new Option(label, val); + option._editor_val = val; + if (attr) { + $(option).attr(attr); + } + elOpts[i + countOffset] = option; + }); + } + }, + create: function (conf) { + conf._input = $('') + .attr($.extend({ + id: Editor.safeId(conf.id), + multiple: conf.multiple === true + }, conf.attr || {})) + .on('change.dte', function (e, d) { + // On change, get the user selected value and store it as the + // last set, so `update` can reflect it. This way `_lastSet` + // always gives the intended value, be it set via the API or by + // the end user. + if (!d || !d.editor) { + conf._lastSet = select.get(conf); + } + }); + select._addOptions(conf, conf.options || conf.ipOpts); + return conf._input[0]; + }, + destroy: function (conf) { + conf._input.off('change.dte'); + }, + get: function (conf) { + var val = conf._input.find('option:selected').map(function () { + return this._editor_val; + }).toArray(); + if (conf.multiple) { + return conf.separator ? + val.join(conf.separator) : + val; + } + return val.length ? val[0] : null; + }, + set: function (conf, val, localUpdate) { + if (!localUpdate) { + conf._lastSet = val; + } + // Can't just use `$().val()` because it won't work with strong types + if (conf.multiple && conf.separator && !Array.isArray(val)) { + val = typeof val === 'string' ? + val.split(conf.separator) : + []; + } + else if (!Array.isArray(val)) { + val = [val]; + } + var i; + var len = val.length; + var found; + var allFound = false; + var options = conf._input.find('option'); + conf._input.find('option').each(function () { + found = false; + for (i = 0; i < len; i++) { + // Weak typing + if (this._editor_val == val[i]) { + found = true; + allFound = true; + break; + } + } + this.selected = found; + }); + // If there is a placeholder, we might need to select it if nothing else + // was selected. It doesn't make sense to select when multi is enabled + if (conf.placeholder && !allFound && !conf.multiple && options.length) { + options[0].selected = true; + } + // Update will call change itself, otherwise multiple might be called + if (!localUpdate) { + _triggerChange(conf._input); + } + return allFound; + }, + update: function (conf, options, append) { + select._addOptions(conf, options, append); + // Attempt to set the last selected value (set by the API or the end + // user, they get equal priority) + var lastSet = conf._lastSet; + if (lastSet !== undefined) { + select.set(conf, lastSet, true); + } + _triggerChange(conf._input); + } +}); +var checkbox = $.extend(true, {}, baseFieldType, { + // Locally "private" function that can be reused for the create and update methods + _addOptions: function (conf, opts, append) { + if (append === void 0) { append = false; } + var jqInput = conf._input; + var offset = 0; + if (!append) { + jqInput.empty(); + } + else { + offset = $('input', jqInput).length; + } + if (opts) { + Editor.pairs(opts, conf.optionsPair, function (val, label, i, attr) { + jqInput.append('
' + + '' + + '' + + '
'); + $('input:last', jqInput).attr('value', val)[0]._editor_val = val; + if (attr) { + $('input:last', jqInput).attr(attr); + } + }); + } + }, + create: function (conf) { + conf._input = $('
'); + checkbox._addOptions(conf, conf.options || conf.ipOpts); + return conf._input[0]; + }, + disable: function (conf) { + conf._input.find('input').prop('disabled', true); + }, + enable: function (conf) { + conf._input.find('input').prop('disabled', false); + }, + get: function (conf) { + var out = []; + var selected = conf._input.find('input:checked'); + if (selected.length) { + selected.each(function () { + out.push(this._editor_val); + }); + } + else if (conf.unselectedValue !== undefined) { + out.push(conf.unselectedValue); + } + return conf.separator === undefined || conf.separator === null ? + out : + out.join(conf.separator); + }, + set: function (conf, val) { + var jqInputs = conf._input.find('input'); + if (!Array.isArray(val) && typeof val === 'string') { + val = val.split(conf.separator || '|'); + } + else if (!Array.isArray(val)) { + val = [val]; + } + var i; + var len = val.length; + var found; + jqInputs.each(function () { + found = false; + for (i = 0; i < len; i++) { + if (this._editor_val == val[i]) { + found = true; + break; + } + } + this.checked = found; + }); + _triggerChange(jqInputs); + }, + update: function (conf, options, append) { + // Get the current value + var currVal = checkbox.get(conf); + checkbox._addOptions(conf, options, append); + checkbox.set(conf, currVal); + } +}); +var radio = $.extend(true, {}, baseFieldType, { + // Locally "private" function that can be reused for the create and update methods + _addOptions: function (conf, opts, append) { + if (append === void 0) { append = false; } + var jqInput = conf._input; + var offset = 0; + if (!append) { + jqInput.empty(); + } + else { + offset = $('input', jqInput).length; + } + if (opts) { + Editor.pairs(opts, conf.optionsPair, function (val, label, i, attr) { + jqInput.append('
' + + '' + + '' + + '
'); + $('input:last', jqInput).attr('value', val)[0]._editor_val = val; + if (attr) { + $('input:last', jqInput).attr(attr); + } + }); + } + }, + create: function (conf) { + conf._input = $('
'); + radio._addOptions(conf, conf.options || conf.ipOpts); + // this is ugly, but IE6/7 has a problem with radio elements that are created + // and checked before being added to the DOM! Basically it doesn't check them. As + // such we use the _preChecked property to set cache the checked button and then + // check it again when the display is shown. This has no effect on other browsers + // other than to cook a few clock cycles. + this.on('open', function () { + conf._input.find('input').each(function () { + if (this._preChecked) { + this.checked = true; + } + }); + }); + return conf._input[0]; + }, + disable: function (conf) { + conf._input.find('input').prop('disabled', true); + }, + enable: function (conf) { + conf._input.find('input').prop('disabled', false); + }, + get: function (conf) { + var el = conf._input.find('input:checked'); + if (el.length) { + return el[0]._editor_val; + } + return conf.unselectedValue !== undefined ? + conf.unselectedValue : + undefined; + }, + set: function (conf, val) { + conf._input.find('input').each(function () { + this._preChecked = false; + if (this._editor_val == val) { + this.checked = true; + this._preChecked = true; + } + else { + // In a detached DOM tree, there is no relationship between the + // input elements, so we need to uncheck any element that does + // not match the value + this.checked = false; + this._preChecked = false; + } + }); + _triggerChange(conf._input.find('input:checked')); + }, + update: function (conf, options, append) { + var currVal = radio.get(conf); + radio._addOptions(conf, options, append); + // Select the current value if it exists in the new data set, otherwise + // select the first radio input so there is always a value selected + var inputs = conf._input.find('input'); + radio.set(conf, inputs.filter('[value="' + currVal + '"]').length ? + currVal : + inputs.eq(0).attr('value')); + } +}); +var datetime = $.extend(true, {}, baseFieldType, { + create: function (conf) { + conf._input = $('').attr($.extend(true, { + id: Editor.safeId(conf.id), + type: 'text' + }, conf.attr)); + if (!DataTable$3.DateTime) { + Editor.error('DateTime library is required', 15); + } + // Legacy support for 2.0- parameters + if (conf.momentLocale && !conf.opts.locale) { + conf.opts.locale = conf.momentLocale; + } + if (conf.momentStrict && !conf.opts.strict) { + conf.opts.strict = conf.momentStrict; + } + conf._picker = new DataTable$3.DateTime(conf._input, $.extend({ + format: conf.displayFormat || conf.format, + i18n: this.i18n.datetime, + }, conf.opts)); + conf._closeFn = function () { + conf._picker.hide(); + }; + if (conf.keyInput === false) { + conf._input.on('keydown', function (e) { + e.preventDefault(); + }); + } + this.on('close', conf._closeFn); + return conf._input[0]; + }, + destroy: function (conf) { + this.off('close', conf._closeFn); + conf._input.off('keydown'); + conf._picker.destroy(); + }, + errorMessage: function (conf, msg) { + conf._picker.errorMsg(msg); + }, + get: function (conf) { + return conf.wireFormat + ? conf._picker.valFormat(conf.wireFormat) + : conf._input.val(); + }, + maxDate: function (conf, max) { + conf._picker.max(max); + }, + minDate: function (conf, min) { + conf._picker.min(min); + }, + // default disable and enable options are okay + owns: function (conf, node) { + return conf._picker.owns(node); + }, + set: function (conf, val) { + // If there is a wire format, convert it to the display format + // Note that special values (e.g. `--now` and empty) do not get formatted + if (typeof val === 'string' && val && val.indexOf('--') !== 0 && conf.wireFormat) { + conf._picker.valFormat(conf.wireFormat, val); + } + else { + conf._picker.val(val); + } + _triggerChange(conf._input); + } +}); +var upload = $.extend(true, {}, baseFieldType, { + canReturnSubmit: function (conf, node) { + return false; + }, + create: function (conf) { + var editor = this; + var container = _commonUpload(editor, conf, function (val) { + upload.set.call(editor, conf, val[0]); + editor._event('postUpload', [conf.name, val[0]]); + }); + return container; + }, + disable: function (conf) { + conf._input.find('input').prop('disabled', true); + conf._enabled = false; + }, + enable: function (conf) { + conf._input.find('input').prop('disabled', false); + conf._enabled = true; + }, + get: function (conf) { + return conf._val; + }, + set: function (conf, val) { + conf._val = val; + conf._input.val(''); + var container = conf._input; + if (conf.display) { + var rendered = container.find('div.rendered'); + if (conf._val) { + rendered.html(conf.display(conf._val)); + } + else { + rendered + .empty() + .append('' + (conf.noFileText || 'No file') + ''); + } + } + var button = container.find('div.clearValue button'); + if (val && conf.clearText) { + button.html(conf.clearText); + container.removeClass('noClear'); + } + else { + container.addClass('noClear'); + } + conf._input.find('input').triggerHandler('upload.editor', [conf._val]); + } +}); +var uploadMany = $.extend(true, {}, baseFieldType, { + _showHide: function (conf) { + if (!conf.limit) { + return; + } + conf._container.find('div.limitHide').css('display', conf._val.length >= conf.limit ? + 'none' : + 'block'); + // Used by the Editor.upload static function to truncate if too many + // files are selected for upload + conf._limitLeft = conf.limit - conf._val.length; + }, + canReturnSubmit: function (conf, node) { + return false; + }, + create: function (conf) { + var editor = this; + var container = _commonUpload(editor, conf, function (val) { + conf._val = conf._val.concat(val); + uploadMany.set.call(editor, conf, conf._val); + editor._event('postUpload', [conf.name, conf._val]); + }, true); + container + .addClass('multi') + .on('click', 'button.remove', function (e) { + e.stopPropagation(); + if (conf._enabled) { + var idx = $(this).data('idx'); + conf._val.splice(idx, 1); + uploadMany.set.call(editor, conf, conf._val); + } + }); + conf._container = container; + return container; + }, + disable: function (conf) { + conf._input.find('input').prop('disabled', true); + conf._enabled = false; + }, + enable: function (conf) { + conf._input.find('input').prop('disabled', false); + conf._enabled = true; + }, + get: function (conf) { + return conf._val; + }, + set: function (conf, val) { + // Default value for fields is an empty string, whereas we want [] + if (!val) { + val = []; + } + if (!Array.isArray(val)) { + throw new Error('Upload collections must have an array as a value'); + } + conf._val = val; + conf._input.val(''); + var that = this; + var container = conf._input; + if (conf.display) { + var rendered = container.find('div.rendered').empty(); + if (val.length) { + var list_1 = $('
    ').appendTo(rendered); + $.each(val, function (i, file) { + var display = conf.display(file, i); + if (display !== null) { + list_1.append('
  • ' + + display + + ' ' + + '
  • '); + } + }); + } + else { + rendered.append('' + (conf.noFileText || 'No files') + ''); + } + } + uploadMany._showHide(conf); + conf._input.find('input').triggerHandler('upload.editor', [conf._val]); + } +}); +var datatable = $.extend(true, {}, baseFieldType, { + _addOptions: function (conf, options, append) { + if (append === void 0) { append = false; } + var dt = conf.dt; + if (!append) { + dt.clear(); + } + dt.rows.add(options).draw(); + }, + _jumpToFirst: function (conf, editor) { + var dt = conf.dt; + // Find which page in the table the first selected row is + var idx = dt.row({ order: 'applied', selected: true }).index(); + var page = 0; + if (typeof idx === 'number') { + var pageLen = dt.page.info().length; + var pos = dt.rows({ order: 'applied' }).indexes().indexOf(idx); + page = pageLen > 0 + ? Math.floor(pos / pageLen) + : 0; + } + dt.page(page).draw(false); + // If scrolling is enabled, scroll down to first selected + var container = $('div.dataTables_scrollBody', dt.table().container()); + var scrollTo = function () { + var node = dt.row({ order: 'applied', selected: true }).node(); + if (node) { + var height = container.height(); + var top_1 = $(node).position().top; + if (top_1 > height - 10) { + container.scrollTop(top_1); + } + } + }; + if (container.length) { + // Check that the form has actually been displayed. If not need + // to wait for Editor's open event + if (container.parents('body').length) { + scrollTo(); + } + else { + editor.one('open', function () { + scrollTo(); + }); + } + } + }, + create: function (conf) { + var _this = this; + conf.optionsPair = $.extend({ + label: 'label', + value: 'value' + }, conf.optionsPair); + var table = $(''); + var container = $('
    ').append(table); + var side = $('
    '); + if (conf.footer) { + $('
    ') + .append(Array.isArray(conf.footer) + ? $('').append($.map(conf.footer, function (str) { return $('").append(Array.isArray(r.footer)?w("").append(w.map(r.footer,function(t){return w("").append(Array.isArray(a.footer)?$("").append($.map(a.footer,function(t){return $("'); + var attachFields = []; + var attach = []; + var displayFields = {}; + var tbody = dt.table(undefined).body(); + for (var i = 0, ien = dt.columns(':visible').count(); i < ien; i++) { + var visIdx = dt.column(i + ':visible').index(); + var td = $('
    ').html(str); })) + : conf.footer) + .appendTo(table); + } + var dt = table + .addClass(datatable.tableClass) + .width('100%') + .on('init.dt', function (e, settings) { + if (settings.nTable !== table[0]) { + return; + } + var api = new DataTable$3.Api(settings); + var containerNode = $(api.table(undefined).container()); + // Select init + DataTable$3.select.init(api); + // Append side button controls + side + .append(containerNode.find('div.dataTables_filter')) + .append(containerNode.find('div.dt-buttons')) + .append(containerNode.find('div.dataTables_info')); + }) + .DataTable($.extend({ + buttons: [], + columns: [ + { + data: conf.optionsPair.label, + title: 'Label' + } + ], + deferRender: true, + dom: 'fiBtp', + language: { + paginate: { + next: '>', + previous: '<', + }, + search: '', + searchPlaceholder: 'Search' + }, + lengthChange: false, + select: { + style: conf.multiple ? 'os' : 'single' + }, + }, conf.config)); + this.on('open', function () { + if (dt.search()) { + dt.search('').draw(); + } + dt.columns.adjust(); + }); + // Change event for when the user does a select - `set` will do its own + // triggering of the change for the api + dt.on('user-select', function () { + _triggerChange($(conf.dt.table().container())); + }); + if (conf.editor) { + conf.editor.table(dt); + conf.editor.on('submitComplete', function (e, json, data, action) { + if (action === 'create') { + var _loop_1 = function (dp) { + dt + .rows(function (idx, d) { return d === dp; }) + .select(); + }; + // Automatically select the new data + for (var _i = 0, _a = json.data; _i < _a.length; _i++) { + var dp = _a[_i]; + _loop_1(dp); + } + } + else if (action === 'edit' || action === 'remove') { + _this._dataSource('refresh'); + } + datatable._jumpToFirst(conf, _this); + }); + } + conf.dt = dt; + datatable._addOptions(conf, conf.options || []); + return { + input: container, + side: side, + }; + }, + disable: function (conf) { + conf.dt.select.style('api'); + conf.dt.buttons().container().css('display', 'none'); + }, + dt: function (conf) { + return conf.dt; + }, + enable: function (conf) { + conf.dt.select.style(conf.multiple ? 'os' : 'single'); + conf.dt.buttons().container().css('display', 'block'); + }, + get: function (conf) { + var rows = conf.dt + .rows({ selected: true }) + .data() + .pluck(conf.optionsPair.value) + .toArray(); + return conf.separator || !conf.multiple + ? rows.join(conf.separator || ',') + : rows; + }, + set: function (conf, val, localUpdate) { + // Convert to an array of values - works for both single and multiple + if (conf.multiple && conf.separator && !Array.isArray(val)) { + val = typeof val === 'string' ? + val.split(conf.separator) : + []; + } + else if (!Array.isArray(val)) { + val = [val]; + } + // if ( ! localUpdate ) { + // conf._lastSet = val; + // } + var valueFn = dataGet(conf.optionsPair.value); + conf.dt.rows({ selected: true }).deselect(); + conf.dt.rows(function (idx, data, node) { return val.indexOf(valueFn(data)) !== -1; }).select(); + // Jump to the first page with a selected row (if there are any) + datatable._jumpToFirst(conf, this); + // Update will call change itself, otherwise multiple might be called + if (!localUpdate) { + _triggerChange($(conf.dt.table().container())); + } + }, + tableClass: '', + update: function (conf, options, append) { + datatable._addOptions(conf, options, append); + // Attempt to set the last selected value (set by the API or the end + // user, they get equal priority) + var lastSet = conf._lastSet; + if (lastSet !== undefined) { + datatable.set(conf, lastSet, true); + } + _triggerChange($(conf.dt.table().container())); + } +}); + +var defaults = { + className: '', + compare: null, + data: '', + def: '', + entityDecode: true, + fieldInfo: '', + getFormatter: null, + id: '', + label: '', + labelInfo: '', + message: '', + multiEditable: true, + name: null, + nullDefault: false, + setFormatter: null, + submit: true, + type: 'text' +}; + +var DataTable$2 = $.fn.dataTable; +var Field = /** @class */ (function () { + function Field(options, classes, host) { + var that = this; + var multiI18n = host.internalI18n().multi; + var opts = $.extend(true, {}, Field.defaults, options); + if (!Editor.fieldTypes[opts.type]) { + throw new Error('Error adding field - unknown field type ' + opts.type); + } + this.s = { + classes: classes, + host: host, + multiIds: [], + multiValue: false, + multiValues: {}, + name: opts.name, + opts: opts, + processing: false, + type: Editor.fieldTypes[opts.type], + }; + // No id, so assign one to have the label reference work + if (!opts.id) { + opts.id = 'DTE_Field_' + opts.name; + } + // If no `data` option is given, then we use the name from the field as the + // data prop to read data for the field from DataTables + if (opts.data === '') { + opts.data = opts.name; + } + // Get and set functions in the data object for the record + this.valFromData = function (d) { + // wrapper to automatically pass `editor` as the type + return dataGet(opts.data)(d, 'editor'); + }; + this.valToData = dataSet(opts.data); // set val to data + // Field HTML structure + var template = $('
    ' + + '' + + '
    ' + + // Field specific HTML is added here if there is any + '
    ' + + '
    ' + + multiI18n.title + + '' + + multiI18n.info + + '' + + '
    ' + + '
    ' + + multiI18n.restore + + '
    ' + + '
    ' + + '
    ' + opts.message + '
    ' + + '
    ' + opts.fieldInfo + '
    ' + + '
    ' + + '
    ' + + '
    '); + var input = this._typeFn('create', opts); + var side = null; + if (input && input.side) { + side = input.side; + input = input.input; + } + if (input !== null) { + el('input-control', template).prepend(input); + } + else { + template.css('display', 'none'); + } + this.dom = { + container: template, + fieldError: el('msg-error', template), + fieldInfo: el('msg-info', template), + fieldMessage: el('msg-message', template), + inputControl: el('input-control', template), + label: el('label', template).append(side), + labelInfo: el('msg-label', template), + multi: el('multi-value', template), + multiInfo: el('multi-info', template), + multiReturn: el('msg-multi', template), + processing: el('field-processing', template) + }; + // On click - set a common value for the field + this.dom.multi.on('click', function () { + if (that.s.opts.multiEditable && !template.hasClass(classes.disabled) && opts.type !== 'readonly') { + that.val(''); + that.focus(); + } + }); + this.dom.multiReturn.on('click', function () { + that.multiRestore(); + }); + // Field type extension methods - add a method to the field for the public + // methods that each field type defines beyond the default ones that already + // exist as part of this instance + $.each(this.s.type, function (name, fn) { + if (typeof fn === 'function' && that[name] === undefined) { + that[name] = function () { + var args = Array.prototype.slice.call(arguments); + args.unshift(name); + var ret = that._typeFn.apply(that, args); + // Return the given value if there is one, or the field instance + // for chaining if there is no value + return ret === undefined ? + that : + ret; + }; + } + }); + } + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Public + */ + Field.prototype.def = function (set) { + var opts = this.s.opts; + if (set === undefined) { + // Backwards compat + var def = opts['default'] !== undefined ? + opts['default'] : + opts.def; + return typeof def === 'function' ? + def() : + def; + } + opts.def = set; + return this; + }; + Field.prototype.disable = function () { + this.dom.container.addClass(this.s.classes.disabled); + this._typeFn('disable'); + return this; + }; + Field.prototype.displayed = function () { + var container = this.dom.container; + return container.parents('body').length && container.css('display') !== 'none' ? + true : + false; + }; + Field.prototype.enable = function (toggle) { + if (toggle === void 0) { toggle = true; } + if (toggle === false) { + return this.disable(); + } + this.dom.container.removeClass(this.s.classes.disabled); + this._typeFn('enable'); + return this; + }; + Field.prototype.enabled = function () { + return this.dom.container.hasClass(this.s.classes.disabled) === false; + }; + Field.prototype.error = function (msg, fn) { + var classes = this.s.classes; + // Add or remove the error class + if (msg) { + this.dom.container.addClass(classes.error); + } + else { + this.dom.container.removeClass(classes.error); + } + this._typeFn('errorMessage', msg); + return this._msg(this.dom.fieldError, msg, fn); + }; + Field.prototype.fieldInfo = function (msg) { + return this._msg(this.dom.fieldInfo, msg); + }; + Field.prototype.isMultiValue = function () { + return this.s.multiValue && this.s.multiIds.length !== 1; + }; + Field.prototype.inError = function () { + return this.dom.container.hasClass(this.s.classes.error); + }; + Field.prototype.input = function () { + return this.s.type.input ? + this._typeFn('input') : + $('input, select, textarea', this.dom.container); + }; + Field.prototype.focus = function () { + if (this.s.type.focus) { + this._typeFn('focus'); + } + else { + $('input, select, textarea', this.dom.container).focus(); + } + return this; + }; + Field.prototype.get = function () { + // When multi-value a single get is undefined + if (this.isMultiValue()) { + return undefined; + } + return this._format(this._typeFn('get'), this.s.opts.getFormatter); + }; + Field.prototype.hide = function (animate) { + var el = this.dom.container; + if (animate === undefined) { + animate = true; + } + if (this.s.host.display() && animate && $.fn.slideUp) { + el.slideUp(); + } + else { + el.css('display', 'none'); + } + return this; + }; + Field.prototype.label = function (str) { + var label = this.dom.label; + var labelInfo = this.dom.labelInfo.detach(); + if (str === undefined) { + return label.html(); + } + label.html(str); + label.append(labelInfo); + return this; + }; + Field.prototype.labelInfo = function (msg) { + return this._msg(this.dom.labelInfo, msg); + }; + Field.prototype.message = function (msg, fn) { + return this._msg(this.dom.fieldMessage, msg, fn); + }; + // There is no `multiVal()` as its arguments could be ambiguous + // id is an idSrc value _only_ + Field.prototype.multiGet = function (id) { + var value; + var multiValues = this.s.multiValues; + var multiIds = this.s.multiIds; + var isMultiValue = this.isMultiValue(); + if (id === undefined) { + var fieldVal = this.val(); + // Get an object with the values for each item being edited + value = {}; + for (var _i = 0, multiIds_1 = multiIds; _i < multiIds_1.length; _i++) { + var multiId = multiIds_1[_i]; + value[multiId] = isMultiValue ? + multiValues[multiId] : + fieldVal; + } + } + else if (isMultiValue) { + // Individual value + value = multiValues[id]; + } + else { + // Common value + value = this.val(); + } + return value; + }; + Field.prototype.multiRestore = function () { + this.s.multiValue = true; + this._multiValueCheck(); + }; + Field.prototype.multiSet = function (id, val, recalc) { + if (recalc === void 0) { recalc = true; } + var that = this; + var multiValues = this.s.multiValues; + var multiIds = this.s.multiIds; + if (val === undefined) { + val = id; + id = undefined; + } + // Set + var set = function (idSrc, valIn) { + // Get an individual item's value - add the id to the edit ids if + // it isn't already in the set. + if ($.inArray(idSrc, multiIds) === -1) { + multiIds.push(idSrc); + } + multiValues[idSrc] = that._format(valIn, that.s.opts.setFormatter); + }; + if ($.isPlainObject(val) && id === undefined) { + // idSrc / value pairs passed in + $.each(val, function (idSrc, innerVal) { + set(idSrc, innerVal); + }); + } + else if (id === undefined) { + // Set same value for all existing ids + $.each(multiIds, function (i, idSrc) { + set(idSrc, val); + }); + } + else { + // Setting an individual property + set(id, val); + } + this.s.multiValue = true; + if (recalc) { + this._multiValueCheck(); + } + return this; + }; + Field.prototype.name = function () { + return this.s.opts.name; + }; + Field.prototype.node = function () { + return this.dom.container[0]; + }; + Field.prototype.nullDefault = function () { + return this.s.opts.nullDefault; + }; + Field.prototype.processing = function (set) { + if (set === undefined) { + return this.s.processing; + } + this.dom.processing.css('display', set ? 'block' : 'none'); + this.s.processing = set; + this.s.host.internalEvent('processing-field', [set]); + return this; + }; + // multiCheck is not publicly documented + Field.prototype.set = function (val, multiCheck) { + if (multiCheck === void 0) { multiCheck = true; } + var decodeFn = function (d) { + return typeof d !== 'string' ? + d : + d + .replace(/>/g, '>') + .replace(/</g, '<') + .replace(/&/g, '&') + .replace(/"/g, '"') + .replace(/£/g, '£') + .replace(/�?39;/g, '\'') + .replace(/�?10;/g, '\n'); + }; + this.s.multiValue = false; + var decode = this.s.opts.entityDecode; + if (decode === undefined || decode === true) { + if (Array.isArray(val)) { + for (var i = 0, ien = val.length; i < ien; i++) { + val[i] = decodeFn(val[i]); + } + } + else { + val = decodeFn(val); + } + } + // If triggered from multi check we don't want to do formatting or multi checking again + if (multiCheck === true) { + val = this._format(val, this.s.opts.setFormatter); + this._typeFn('set', val); + this._multiValueCheck(); + } + else { + this._typeFn('set', val); + } + return this; + }; + Field.prototype.show = function (animate, toggle) { + if (animate === void 0) { animate = true; } + if (toggle === void 0) { toggle = true; } + if (toggle === false) { + return this.hide(animate); + } + var el = this.dom.container; + if (this.s.host.display() && animate && $.fn.slideDown) { + el.slideDown(); + } + else { + el.css('display', ''); // empty to restore css default (flex or block) + } + return this; + }; + Field.prototype.update = function (options, append) { + if (append === void 0) { append = false; } + if (this.s.type.update) { + this._typeFn('update', options, append); + } + return this; + }; + Field.prototype.val = function (val) { + return val === undefined ? + this.get() : + this.set(val); + }; + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Internal - Called from Editor only and are not publicly documented - + * these APIs can change! + */ + Field.prototype.compare = function (value, original) { + var compare = this.s.opts.compare || deepCompare; + return compare(value, original); + }; + Field.prototype.dataSrc = function () { + return this.s.opts.data; + }; + Field.prototype.destroy = function () { + // remove element + this.dom.container.remove(); + // field's own destroy method if there is one + this._typeFn('destroy'); + return this; + }; + Field.prototype.multiEditable = function () { + return this.s.opts.multiEditable; + }; + Field.prototype.multiIds = function () { + return this.s.multiIds; + }; + Field.prototype.multiInfoShown = function (show) { + this.dom.multiInfo.css({ display: show ? 'block' : 'none' }); + }; + Field.prototype.multiReset = function () { + this.s.multiIds = []; + this.s.multiValues = {}; + }; + Field.prototype.submittable = function () { + return this.s.opts.submit; + }; + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Internal + */ + Field.prototype._msg = function (el, msg, fn) { + if (msg === undefined) { + return el.html(); + } + if (typeof msg === 'function') { + var editor = this.s.host; + msg = msg(editor, new DataTable$2.Api(editor.internalSettings().table)); + } + if (el.parent().is(':visible') && $.fn.animate) { + el.html(msg); + if (msg) { + el.slideDown(fn); // fn can be undefined - so jQuery won't execute it + } + else { + el.slideUp(fn); + } + } + else { + // Not visible, so immediately set, or blank out the element + el + .html(msg || '') + .css('display', msg ? 'block' : 'none'); + if (fn) { + fn(); + } + } + return this; + }; + Field.prototype._multiValueCheck = function () { + var last; + var ids = this.s.multiIds; + var values = this.s.multiValues; + var isMultiValue = this.s.multiValue; + var isMultiEditable = this.s.opts.multiEditable; + var val; + var different = false; + if (ids) { + for (var i = 0; i < ids.length; i++) { + val = values[ids[i]]; + if (i > 0 && !deepCompare(val, last)) { + different = true; + break; + } + last = val; + } + } + if ((different && isMultiValue) || (!isMultiEditable && this.isMultiValue())) { + // Different values or same values, but not multiple editable + this.dom.inputControl.css({ display: 'none' }); + this.dom.multi.css({ display: 'block' }); + } + else { + // All the same value + this.dom.inputControl.css({ display: 'block' }); + this.dom.multi.css({ display: 'none' }); + if (isMultiValue && !different) { + this.set(last, false); + } + } + this.dom.multiReturn.css({ + display: ids && ids.length > 1 && different && !isMultiValue ? + 'block' : + 'none' + }); + // Update information label + var i18n = this.s.host.internalI18n().multi; + this.dom.multiInfo.html(isMultiEditable ? i18n.info : i18n.noMulti); + this.dom.multi.toggleClass(this.s.classes.multiNoEdit, !isMultiEditable); + this.s.host.internalMultiInfo(); + return true; + }; + Field.prototype._typeFn = function (name) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + // Insert the options as the first parameter - all field type methods + // take the field's configuration object as the first parameter + args.unshift(this.s.opts); + var fn = this.s.type[name]; + if (fn) { + return fn.apply(this.s.host, args); + } + }; + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Private + */ + Field.prototype._errorNode = function () { + return this.dom.fieldError; + }; + Field.prototype._format = function (val, formatter) { + if (formatter) { + if (Array.isArray(formatter)) { + var args = formatter.slice(); + var name_1 = args.shift(); + formatter = Field.formatters[name_1].apply(this, args); + } + return formatter.call(this.s.host, val, this); + } + return val; + }; + Field.defaults = defaults; + Field.formatters = {}; + return Field; +}()); + +var button = { + action: null, + className: null, + tabIndex: 0, + text: null, +}; + +var displayController = { + close: function () { }, + init: function () { }, + node: function () { }, + open: function () { } +}; + +var DataTable$1 = $.fn.dataTable; +/* + * DataTables 1.10 API integration. Provides the ability to control basic Editor + * aspects from the DataTables API. Full control does of course require use of + * the Editor API though. + */ +var apiRegister = DataTable$1.Api.register; +function _getInst(api) { + var ctx = api.context[0]; + return ctx.oInit.editor || ctx._editor; +} +// Set sensible defaults for the editing options +function _setBasic(inst, opts, type, plural) { + if (!opts) { + opts = {}; + } + if (opts.buttons === undefined) { + opts.buttons = '_basic'; + } + if (opts.title === undefined) { + opts.title = inst.i18n[type].title; + } + if (opts.message === undefined) { + if (type === 'remove') { + var confirm_1 = inst.i18n[type].confirm; + opts.message = plural !== 1 ? confirm_1._.replace(/%d/, plural) : confirm_1['1']; + } + else { + opts.message = ''; + } + } + return opts; +} +apiRegister('editor()', function () { + return _getInst(this); +}); +// Row editing +apiRegister('row.create()', function (opts) { + // main + var inst = _getInst(this); + inst.create(_setBasic(inst, opts, 'create')); + return this; +}); +apiRegister('row().edit()', function (opts) { + // main + var inst = _getInst(this); + inst.edit(this[0][0], _setBasic(inst, opts, 'edit')); + return this; +}); +apiRegister('rows().edit()', function (opts) { + // main + var inst = _getInst(this); + inst.edit(this[0], _setBasic(inst, opts, 'edit')); + return this; +}); +apiRegister('row().delete()', function (opts) { + // main + var inst = _getInst(this); + inst.remove(this[0][0], _setBasic(inst, opts, 'remove', 1)); + return this; +}); +apiRegister('rows().delete()', function (opts) { + // main + var inst = _getInst(this); + inst.remove(this[0], _setBasic(inst, opts, 'remove', this[0].length)); + return this; +}); +apiRegister('cell().edit()', function (type, opts) { + // inline or bubble + if (!type) { + type = 'inline'; + } + else if ($.isPlainObject(type)) { + opts = type; + type = 'inline'; + } + _getInst(this)[type](this[0][0], opts); + return this; +}); +apiRegister('cells().edit()', function (opts) { + // bubble only at the moment + _getInst(this).bubble(this[0], opts); + return this; +}); +apiRegister('file()', file); +apiRegister('files()', files); +// Global listener for file information updates via DataTables' Ajax JSON +$(document).on('xhr.dt', function (e, ctx, json) { + if (e.namespace !== 'dt') { + return; + } + if (json && json.files) { + $.each(json.files, function (name, filesIn) { + if (!Editor.files[name]) { + Editor.files[name] = {}; + } + $.extend(Editor.files[name], filesIn); + }); + } +}); + +/* + * Add helpful buttons to make life easier + * + * Note that the values that require a string to make any sense (the button text + * for example) are set by Editor when Editor is initialised through the i18n + * options. + */ +var _buttons = $.fn.dataTable.ext.buttons; +$.extend(_buttons, { + create: { + action: function (e, dt, node, config) { + var that = this; + var editor = config.editor; + this.processing(true); + editor + .one('preOpen', function () { + that.processing(false); + }) + .create($.extend({ + buttons: config.formButtons, + message: config.formMessage || editor.i18n.create.message, + nest: true, + title: config.formTitle || editor.i18n.create.title + }, config.formOptions)); + }, + className: 'buttons-create', + editor: null, + formButtons: { + action: function (e) { + this.submit(); + }, + text: function (editor) { + return editor.i18n.create.submit; + } + }, + formMessage: null, + formOptions: {}, + formTitle: null, + text: function (dt, node, config) { + return dt.i18n('buttons.create', config.editor.i18n.create.button); + }, + }, + createInline: { + action: function (e, dt, node, config) { + config.editor.inlineCreate(config.position, config.formOptions); + }, + className: 'buttons-create', + editor: null, + formButtons: { + action: function (e) { + this.submit(); + }, + text: function (editor) { + return editor.i18n.create.submit; + } + }, + formOptions: {}, + position: 'start', + text: function (dt, node, config) { + return dt.i18n('buttons.create', config.editor.i18n.create.button); + }, + }, + edit: { + action: function (e, dt, node, config) { + var that = this; + var editor = config.editor; + var rows = dt.rows({ selected: true }).indexes(); + var columns = dt.columns({ selected: true }).indexes(); + var cells = dt.cells({ selected: true }).indexes(); + var items = columns.length || cells.length ? + { + cells: cells, + columns: columns, + rows: rows + } : + rows; + this.processing(true); + editor + .one('preOpen', function () { + that.processing(false); + }) + .edit(items, $.extend({ + buttons: config.formButtons, + message: config.formMessage || editor.i18n.edit.message, + nest: true, + title: config.formTitle || editor.i18n.edit.title + }, config.formOptions)); + }, + className: 'buttons-edit', + editor: null, + extend: 'selected', + formButtons: { + action: function (e) { + this.submit(); + }, + text: function (editor) { + return editor.i18n.edit.submit; + }, + }, + formMessage: null, + formOptions: {}, + formTitle: null, + text: function (dt, node, config) { + return dt.i18n('buttons.edit', config.editor.i18n.edit.button); + }, + }, + remove: { + action: function (e, dt, node, config) { + var that = this; + var editor = config.editor; + this.processing(true); + editor + .one('preOpen', function () { + that.processing(false); + }) + .remove(dt.rows({ selected: true }).indexes(), $.extend({ + buttons: config.formButtons, + message: config.formMessage, + nest: true, + title: config.formTitle || editor.i18n.remove.title + }, config.formOptions)); + }, + className: 'buttons-remove', + editor: null, + extend: 'selected', + formButtons: { + action: function (e) { + this.submit(); + }, + text: function (editor) { + return editor.i18n.remove.submit; + }, + }, + formMessage: function (editor, dt) { + var rows = dt.rows({ selected: true }).indexes(); + var i18n = editor.i18n.remove; + var question = typeof i18n.confirm === 'string' ? + i18n.confirm : + i18n.confirm[rows.length] ? + i18n.confirm[rows.length] : i18n.confirm._; + return question.replace(/%d/g, rows.length); + }, + formOptions: {}, + formTitle: null, + limitTo: ['rows'], + text: function (dt, node, config) { + return dt.i18n('buttons.remove', config.editor.i18n.remove.button); + }, + } +}); +// Reuse the standard edit and remove buttons for their singular equivalent, +// but set it to extend the single selected button only +_buttons.editSingle = $.extend({}, _buttons.edit); +_buttons.editSingle.extend = 'selectedSingle'; +_buttons.removeSingle = $.extend({}, _buttons.remove); +_buttons.removeSingle.extend = 'selectedSingle'; + + +if (!DataTable || !DataTable.versionCheck || !DataTable.versionCheck('1.10.20')) { + throw new Error('Editor requires DataTables 1.10.20 or newer'); +} +var Editor = /** @class */ (function () { + function Editor(init, cjsJq) { + var _this = this; + this.add = add; + this.ajax = ajax; + this.background = background; + this.blur = blur; + this.bubble = bubble; + this.bubblePosition = bubblePosition; + this.buttons = buttons; + this.clear = clear; + this.close = close; + this.create = create; + this.undependent = undependent; + this.dependent = dependent; + this.destroy = destroy; + this.disable = disable; + this.display = display; + this.displayed = displayed; + this.displayNode = displayNode; + this.edit = edit; + this.enable = enable; + this.error = error$1; + this.field = field; + this.fields = fields; + this.file = file; + this.files = files; + this.get = get; + this.hide = hide; + this.ids = ids; + this.inError = inError; + this.inline = inline; + this.inlineCreate = inlineCreate; + this.message = message; + this.mode = mode; + this.modifier = modifier; + this.multiGet = multiGet; + this.multiSet = multiSet; + this.node = node; + this.off = off; + this.on = on; + this.one = one; + this.open = open; + this.order = order; + this.remove = remove; + this.set = set; + this.show = show; + this.submit = submit; + this.table = table; + this.template = template; + this.title = title; + this.val = val; + this._actionClass = _actionClass; + this._ajax = _ajax; + this._animate = _animate; + this._assembleMain = _assembleMain; + this._blur = _blur; + this._clearDynamicInfo = _clearDynamicInfo; + this._close = _close; + this._closeReg = _closeReg; + this._crudArgs = _crudArgs; + this._dataSource = _dataSource; + this._displayReorder = _displayReorder; + this._edit = _edit; + this._event = _event; + this._eventName = _eventName; + this._fieldFromNode = _fieldFromNode; + this._fieldNames = _fieldNames; + this._focus = _focus; + this._formOptions = _formOptions; + this._inline = _inline; + this._inputTrigger = _inputTrigger; + this._optionsUpdate = _optionsUpdate; + this._message = _message; + this._multiInfo = _multiInfo; + this._nestedClose = _nestedClose; + this._nestedOpen = _nestedOpen; + this._postopen = _postopen; + this._preopen = _preopen; + this._processing = _processing; + this._noProcessing = _noProcessing; + this._submit = _submit; + this._submitTable = _submitTable; + this._submitSuccess = _submitSuccess; + this._submitError = _submitError; + this._tidy = _tidy; + this._weakInArray = _weakInArray; + // Check if called with a window or jQuery object for DOM less applications + // This is for backwards compatibility with CommonJS loader + if (Editor.factory(init, cjsJq)) { + return Editor; + } + if (!(this instanceof Editor)) { + alert('DataTables Editor must be initialised as a \'new\' instance'); + } + init = $.extend(true, {}, Editor.defaults, init); + this.c = init; + this.s = $.extend(true, {}, Editor.models.settings, { + actionName: init.actionName, + ajax: init.ajax, + formOptions: init.formOptions, + idSrc: init.idSrc, + table: init.domTable || init.table, + template: init.template ? + $(init.template).detach() : null + }); + this.classes = $.extend(true, {}, Editor.classes); + this.i18n = init.i18n; + // Increment the unique counter for the next instance + Editor.models.settings.unique++; + var that = this; + var classes = this.classes; + var wrapper = $('
    ' + + '
    ' + + '
    ' + + '
    ' + + '
    ' + + '
    ' + + '
    ' + + '
    ' + + '
    '); + var form = $('' + + '
    ' + + ''); + this.dom = { + body: el('body', wrapper)[0], + bodyContent: el('body_content', wrapper)[0], + buttons: $('
    ')[0], + footer: el('foot', wrapper)[0], + form: form[0], + formContent: el('form_content', form)[0], + formError: $('
    ')[0], + formInfo: $('
    ')[0], + header: $('
    ')[0], + processing: el('processing', wrapper)[0], + wrapper: wrapper[0], + }; + // Bind callback methods + $.each(init.events, function (evt, fn) { + that.on(evt, function () { + var argsIn = []; + for (var _i = 0; _i < arguments.length; _i++) { + argsIn[_i] = arguments[_i]; + } + // When giving events in the constructor the event argument was not + // given in 1.2-, so we remove it here. This is solely for + // backwards compatibility as the events in the initialisation are + // not documented in 1.3+. + fn.apply(that, argsIn); + }); + }); + // Cache the DOM nodes + this.dom; + // Add any fields which are given on initialisation + if (init.fields) { + this.add(init.fields); + } + $(document) + .on('init.dt.dte' + this.s.unique, function (e, settings, json) { + // Resolve this reference in the event handlers so the + // table() API method can be used to change it and the + // change still be operated on here. + var table = _this.s.table; + if (table) { + var dtApi = new DataTable.Api(table); + if (settings.nTable === dtApi.table().node()) { + // Attempt to attach to a DataTable automatically when the table is + // initialised + settings._editor = _this; + } + } + }) + .on('i18n.dt.dte' + this.s.unique, function (e, settings) { + var table = _this.s.table; + if (table) { + var dtApi = new DataTable.Api(table); + if (settings.nTable === dtApi.table().node()) { + // Use loaded language options + if (settings.oLanguage.editor) { + $.extend(true, _this.i18n, settings.oLanguage.editor); + } + } + } + }) + .on('xhr.dt.dte' + this.s.unique, function (e, settings, json) { + var table = _this.s.table; + if (table) { + var dtApi = new DataTable.Api(table); + if (settings.nTable === dtApi.table().node()) { + // Automatically update fields which have a field name defined in + // the returned json - saves an `initComplete` for the user + _this._optionsUpdate(json); + } + } + }); + // Prep the display controller + if (!Editor.display[init.display]) { + throw new Error('Cannot find display controller ' + init.display); + } + this.s.displayController = Editor.display[init.display].init(this); + this._event('initComplete', []); + $(document).trigger('initEditor', [this]); + } + // Expose internal methods and options for the Field class to use + // These are not publicly documented. + /** @internal */ + Editor.prototype.internalEvent = function (name, args) { + this._event(name, args); + }; + /** @internal */ + Editor.prototype.internalI18n = function () { + return this.i18n; + }; + /** @internal */ + Editor.prototype.internalMultiInfo = function () { + return this._multiInfo(); + }; + /** @internal */ + Editor.prototype.internalSettings = function () { + return this.s; + }; + Editor.fieldTypes = { + checkbox: checkbox, + datatable: datatable, + datetime: datetime, + hidden: hidden, + password: password, + radio: radio, + readonly: readonly, + select: select, + text: text, + textarea: textarea, + upload: upload, + uploadMany: uploadMany + }; + Editor.files = {}; + Editor.version = '2.1.3'; + Editor.classes = classNames; + Editor.Field = Field; + Editor.DateTime = null; + Editor.error = error; + Editor.pairs = pairs; + Editor.factory = factory; + Editor.upload = upload$1; + Editor.defaults = defaults$1; + Editor.models = { + button: button, + displayController: displayController, + fieldType: fieldType, + formOptions: formOptions, + settings: settings, + }; + Editor.dataSources = { + dataTable: dataSource$1, + html: dataSource, + }; + Editor.display = { + envelope: envelope, + lightbox: self, + }; + Editor.safeId = function (id) { + return safeDomId(id, ''); + }; + return Editor; +}()); +DataTable.Editor = Editor; +$.fn.DataTable.Editor = Editor; +if (DataTable.DateTime) { + Editor.DateTime = DataTable.DateTime; +} +// If there are field types available on DataTables we copy them in (after the +// built in ones to allow overrides) and then expose the field types object. +if (DataTable.ext.editorFields) { + $.extend(Editor.fieldTypes, DataTable.ext.editorFields); +} +DataTable.ext.editorFields = Editor.fieldTypes; + + + +return Editor; +})); diff --git a/httpdocs/themes/vuexy/js/datatables-editor/dataTables.editor.min.js b/httpdocs/themes/vuexy/js/datatables-editor/dataTables.editor.min.js new file mode 100755 index 00000000..227abd83 --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/dataTables.editor.min.js @@ -0,0 +1,6 @@ +/*! DataTables Editor v2.1.3 + * + * ©2012-2023 SpryMedia Ltd, all rights reserved. + * License: editor.datatables.net/license + */ +!function(i){var n,s;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return i(t,window,document)}):"object"==typeof exports?(n=require("jquery"),s=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(t,e){return t=t||window,e=e||n(t),s(t,e),i(e,t,t.document)}:(s(window,n),module.exports=i(n,window,window.document))):i(jQuery,window,document)}(function(w,c,y,E){"use strict";var r=w.fn.dataTable,t={buttons:!0,drawType:!1,focus:0,message:!0,nest:!1,onBackground:"blur",onBlur:"close",onComplete:"close",onEsc:"close",onFieldError:"focus",onReturn:"submit",scope:"row",submit:"all",submitHtml:"▶",submitTrigger:null,title:!0},N={actionName:"action",ajax:null,display:"lightbox",events:{},fields:[],formOptions:{bubble:w.extend({},t,{buttons:"_basic",message:!1,submit:"changed",title:!1}),inline:w.extend({},t,{buttons:!1,submit:"changed"}),main:w.extend({},t)},i18n:{close:"Close",create:{button:"New",submit:"Create",title:"Create new entry"},datetime:{amPm:["am","pm"],hours:"Hour",minutes:"Minute",months:["January","February","March","April","May","June","July","August","September","October","November","December"],next:"Next",previous:"Previous",seconds:"Second",unknown:"-",weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},edit:{button:"Edit",submit:"Update",title:"Edit entry"},error:{system:'A system error has occurred (More information).'},multi:{info:"The selected items contain different values for this input. To edit and set all items for this input to the same value, click or tap here, otherwise they will retain their individual values.",noMulti:"This input can be edited individually, but not part of a group.",restore:"Undo changes",title:"Multiple values"},remove:{button:"Delete",confirm:{1:"Are you sure you wish to delete 1 row?",_:"Are you sure you wish to delete %d rows?"},submit:"Delete",title:"Delete"}},idSrc:"DT_RowId",table:null},B={action:null,actionName:"action",ajax:null,bubbleNodes:[],bubbleBottom:!1,closeCb:null,closeIcb:null,dataSource:null,displayController:null,displayed:!1,editCount:0,editData:{},editFields:{},editOpts:{},fields:{},formOptions:{bubble:w.extend({},t),inline:w.extend({},t),main:w.extend({},t)},globalError:"",id:-1,idSrc:null,includeFields:[],mode:null,modifier:null,opts:null,order:[],processing:!1,setFocus:null,table:null,template:null,unique:0},e=w.fn.dataTable.ext.oApi;function L(t){var e,i=[];for(e in t)t.hasOwnProperty(e)&&i.push(e);return i}function a(t,e){return w('*[data-dte-e="'+t+'"]',e=e===E?y:e)}function f(t,e){return void 0===e&&(e="#"),"string"==typeof t?e+t.replace(/(:|\.|\[|\]|,)/g,"\\$1"):e+t}function u(t){return e._fnGetObjectDataFn(t)}function _(t){return e._fnSetObjectDataFn(t)}var d=e._fnExtend;function p(t,i){var n=[];return w.each(t,function(t,e){n.push(e[i])}),n}function M(t,e){if("object"!=typeof t||"object"!=typeof e)return t==e;var i=L(t),n=L(e);if(i.length!==n.length)return!1;for(var s=0,o=i.length;s'),n=[],s=[],o={},r=e.table(E).body(),a=0,l=e.columns(":visible").count();a").appendTo(i),c=W(e,this.s.fields,d,!0),d=e.settings()[0].aoColumns[d].sClass;d&&u.addClass(d),Object.keys(c).length&&(n.push(Object.keys(c)),s.push(u[0]),w.extend(o,c))}function f(){0===e.page.info().recordsDisplay&&w(r).empty(),i["end"===t?"appendTo":"prependTo"](r)}return this.__dtFakeRow=i,f(),e.on("draw.dte-createInline",function(){f()}),{0:{attach:s,attachFields:n,displayFields:o,fields:this.s.fields,type:"row"}}},fakeRowEnd:function(){var t=h(this.s.table);t.off("draw.dte-createInline"),this.__dtFakeRow.remove(),this.__dtFakeRow=null,0===t.page.info().recordsDisplay&&t.draw(!1)},fields:function(t){var e,i,n,s,o,r=u(this.s.idSrc),a=h(this.s.table),l=this.s.fields,d={};return!w.isPlainObject(t)||t.rows===E&&t.columns===E&&t.cells===E?q(d,a,t,l,r):(t.rows!==E&&q(d,a,t.rows,l,r),t.columns!==E&&(e=d,i=a,n=t.columns,s=l,o=r,i.cells(null,n).indexes().each(function(t){H(e,i,t,s,o)})),t.cells!==E&&H(d,a,t.cells,l,r)),d},id:function(t){return u(this.s.idSrc)(t)},individual:function(t,e){var i,n=u(this.s.idSrc),s=h(this.s.table),o=this.s.fields,r={};return e&&(Array.isArray(e)||(e=[e]),i={},w.each(e,function(t,e){i[e]=o[e]})),H(r,s,t,o,n,i),r},prep:function(t,e,i,n,s){var o,r=this;"create"===t&&(s.rowIds=w.map(n.data,function(t){return m.id.call(r,t)})),"edit"===t?(o=n.cancelled||[],s.rowIds=w.map(i.data,function(t,e){return w.isEmptyObject(i.data[e])||-1!==w.inArray(e,o)?E:e})):"remove"===t&&(s.cancelled=n.cancelled||[])},refresh:function(){h(this.s.table).ajax.reload(null,!1)},remove:function(t,e,i){var n,s=this,o=h(this.s.table),r=i.cancelled;(0===r.length?o.rows(t):(n=[],o.rows(t).every(function(){var t=m.id.call(s,this.data());-1===w.inArray(t,r)&&n.push(this.index())}),o.rows(n))).remove()}};function z(t){if("keyless"===t)return w(y);var e=w('[data-editor-id="'+t+'"]');if(0===(e=0===e.length?w("string"==typeof t?f(t):t):e).length)throw new Error("Could not find an element with `data-editor-id` or `id` of: "+t);return e}function G(t,e){t=z(t);return w('[data-editor-field="'+e+'"]',t)}function J(n,t,s){w.each(t,function(t,e){var i=e.valFromData(s);i!==E&&((e=G(n,e.dataSrc())).filter("[data-editor-value]").length?e.attr("data-editor-value",i):e.each(function(){for(;this.childNodes.length;)this.removeChild(this.firstChild)}).html(i))})}var l={create:function(t,e){if(e){var i=l.id.call(this,e);try{z(i).length&&J(i,t,e)}catch(t){}}},edit:function(t,e,i){J(l.id.call(this,i)||"keyless",e,i)},fields:function(s){var t={};if(Array.isArray(s))for(var e=0,i=s.length;e
    ')[0],close:w('
    ')[0],content:null,wrapper:w('
    ')[0]};function Q(t){var e=w("div.DTE_Header",b.wrapper).outerHeight(),i=w("div.DTE_Footer",b.wrapper).outerHeight(),e=w(c).height()-2*g.conf.windowPadding-e-i;return w("div.DTE_Body_Content",b.wrapper).css("maxHeight",e),w(t.dom.wrapper).outerHeight()}function Z(t,e){e=e||function(){},v&&(w(b.content).animate({top:-(b.content.offsetHeight+50)},600,function(){w([b.wrapper,b.background]).fadeOut("normal",function(){w(this).detach(),e()})}),v=!1)}function K(e,t){var i,n,s,o,r;t=t||function(){},w("body").append(b.background).append(b.wrapper),b.content.style.height="auto",v||((i=b.wrapper.style).opacity="0",i.display="block",n=Q(e),s=e,o=g.conf.attach,r=new w.fn.dataTable.Api(s.s.table),r=(o="head"===o||"create"===s.s.action?r.table(E).header():r.row(s.s.modifier).node()).offsetWidth,i.display="none",i.opacity="1",b.wrapper.style.width=r+"px",b.wrapper.style.marginLeft=-r/2+"px",b.wrapper.style.top=w(o).offset().top+o.offsetHeight+"px",b.content.style.top=-1*n-20+"px",b.background.style.opacity="0",b.background.style.display="block",w(b.background).animate({opacity:$},"normal"),w(b.wrapper).fadeIn(),w(b.content).animate({top:0},600,t)),w(b.close).attr("title",e.i18n.close).off("click.DTED_Envelope").on("click.DTED_Envelope",function(t){e.close()}),w(b.background).off("click.DTED_Envelope").on("click.DTED_Envelope",function(t){e.background()}),w("div.DTED_Lightbox_Content_Wrapper",b.wrapper).off("click.DTED_Envelope").on("click.DTED_Envelope",function(t){w(t.target).hasClass("DTED_Envelope_Content_Wrapper")&&e.background()}),w(c).off("resize.DTED_Envelope").on("resize.DTED_Envelope",function(){Q(e)}),v=!0}var g={close:function(t,e){Z(0,e)},conf:{attach:"row",windowPadding:50},destroy:function(t){Z()},init:function(t){return b.content=w("div.DTED_Envelope_Container",b.wrapper)[0],$=w(b.background).css("opacity"),g},node:function(t){return b.wrapper[0]},open:function(t,e,i){w(b.content).children().detach(),b.content.appendChild(e),b.content.appendChild(b.close),K(t,i)}};function Y(){return void 0!==c.orientation&&c.outerWidth<=576}var o=!1,tt=!1,et=0,T={background:w('
    '),close:w('
    '),content:null,wrapper:w('
    ')};function it(){var t=w("div.DTE_Header",T.wrapper).outerHeight()+w("div.DTE_Footer",T.wrapper).outerHeight();Y()?w("div.DTE_Body_Content",T.wrapper).css("maxHeight","calc(100vh - "+t+"px)"):(t=w(c).height()-2*D.conf.windowPadding-t,w("div.DTE_Body_Content",T.wrapper).css("maxHeight",t))}function nt(t,e){e=e||function(){},w("body").scrollTop(et),t._animate(T.wrapper,{opacity:0,top:D.conf.offsetAni},function(){w(this).detach(),e()}),t._animate(T.background,{opacity:0},function(){w(this).detach()}),o=!1,w(c).off("resize.DTED_Lightbox")}var D={close:function(t,e){nt(t,e)},conf:{offsetAni:25,windowPadding:25},destroy:function(t){o&&nt(t)},init:function(t){return tt||(T.content=w("div.DTED_Lightbox_Content",T.wrapper),T.wrapper.css("opacity",0),T.background.css("opacity",0),tt=!0),D},node:function(t){return T.wrapper[0]},open:function(t,e,i){var n,s=T.content;s.children().detach(),s.append(e).append(T.close),n=t,s=i,Y()&&w("body").addClass("DTED_Lightbox_Mobile"),w("body").append(T.background).append(T.wrapper),it(),o||(o=!0,T.content.css("height","auto"),T.wrapper.css({top:-D.conf.offsetAni}),n._animate(T.wrapper,{opacity:1,top:0},s),n._animate(T.background,{opacity:1}),w(c).on("resize.DTED_Lightbox",function(){it()}),et=w("body").scrollTop()),T.close.attr("title",n.i18n.close).off("click.DTED_Lightbox").on("click.DTED_Lightbox",function(t){n.close()}),T.background.off("click.DTED_Lightbox").on("click.DTED_Lightbox",function(t){t.stopImmediatePropagation(),n.background()}),w("div.DTED_Lightbox_Content_Wrapper",T.wrapper).off("click.DTED_Lightbox").on("click.DTED_Lightbox",function(t){w(t.target).hasClass("DTED_Lightbox_Content_Wrapper")&&(t.stopImmediatePropagation(),n.background())})}},st=w.fn.dataTable;function ot(t,e,i){if(void 0===i&&(i=!0),Array.isArray(t)){e!==E&&t.reverse();for(var n=0,s=t;n
    '),n=w('
    '),t=(a&&(n.appendTo("body"),i.appendTo("body")),n.children().eq(0)),s=t.children(),o=s.children(),r=(t.append(u.dom.formError),s.prepend(u.dom.form),l.message&&t.prepend(u.dom.formInfo),l.title&&t.prepend(u.dom.header),l.buttons&&s.append(u.dom.buttons),w().add(n).add(i));u._closeReg(function(t){u._animate(r,{opacity:0},function(){this===n[0]&&(r.detach(),w(c).off("resize."+e+" scroll."+e),u._clearDynamicInfo(),u._event("closed",["bubble"]))})}),i.on("click",function(){u.blur()}),o.on("click",function(){u._close()}),u.bubblePosition(),u._postopen("bubble",!1);u._animate(r,{opacity:1},function(){this===n[0]&&(u._focus(u.s.includeFields,l.focus),u._event("opened",["bubble",u.s.action]))})})),this}function ut(){var t=w("div.DTE_Bubble"),e=w("div.DTE_Bubble_Liner"),i=this.s.bubbleNodes,n={bottom:0,left:0,right:0,top:0},i=(w.each(i,function(t,e){var i=w(e).offset();e=w(e).get(0),n.top+=i.top,n.left+=i.left,n.right+=i.left+e.offsetWidth,n.bottom+=i.top+e.offsetHeight}),n.top/=i.length,n.left/=i.length,n.right/=i.length,n.bottom/=i.length,n.top),s=(n.left+n.right)/2,o=e.outerWidth(),r=e.outerHeight(),a=s-o/2,o=a+o,l=w(c).width(),d=w(c).scrollTop(),s=(t.css({left:s,top:this.s.bubbleBottom?n.bottom:i}),this.s.bubbleBottom&&t.addClass("below"),t.position());return e.length&&s.top+r>d+c.innerHeight?(t.css("top",i).removeClass("below"),this.s.bubbleBottom=!1):e.length&&s.top-r",{class:o.classes.form.button+(e.className?" "+e.className:"")}).html("function"==typeof i?i(o):i||"").attr("tabindex",e.tabIndex!==E?e.tabIndex:0).attr(s).on("keyup",function(t){13===t.which&&n&&n.call(o)}).on("keypress",function(t){13===t.which&&t.preventDefault()}).on("click",function(t){t.preventDefault(),n&&n.call(o,t)}).appendTo(o.dom.buttons)}),this}function ft(t){var i=this,e=this.s.fields;return"string"==typeof t?(i.field(t).destroy(),delete e[t],e=w.inArray(t,this.s.order),this.s.order.splice(e,1),-1!==(e=w.inArray(t,this.s.includeFields))&&this.s.includeFields.splice(e,1)):w.each(this._fieldNames(t),function(t,e){i.clear(e)}),this}function pt(){return this._close(!1),this}function ht(t,e,i,n){var s=this,o=this,r=this.s.fields,a=1;if(!this._tidy(function(){o.create(t,e,i,n)})){"number"==typeof t&&(a=t,t=e,e=i),this.s.editFields={};for(var l=0;lUploading file"),u.onload=function(t){var e,i=new FormData;if(i.append("action","upload"),i.append("uploadField",r.name),i.append("upload",a[c]),r.ajaxData&&r.ajaxData(i,a[c],c),r.ajax?e=r.ajax:w.isPlainObject(o.s.ajax)?e=o.s.ajax.upload||o.s.ajax:"string"==typeof o.s.ajax&&(e=o.s.ajax),!e)throw new Error("No Ajax option specified for upload plug-in");if("function"==typeof(e="string"==typeof e?{url:e}:e).data){var n={},s=e.data(n);w.each(n=s!==E&&"string"!=typeof s?s:n,function(t,e){i.append(t,e)})}else if(w.isPlainObject(e.data))throw new Error("Upload feature cannot use `ajax.data` with an object. Please use it as a function instead.");o._event("preUpload",[r.name,a[c],i],function(t){var s;!1===t?c
    ')),m.find("div."+o.liner.replace(/ /g,".")).append(h.field.node()).append(this.dom.formError),n=h.field.node(),e.buttons&&m.find("div."+o.buttons.replace(/ /g,".")).append(this.dom.buttons)}var b=this._inputTrigger("submit",e,n),_=this._inputTrigger("cancel",e,n);this._closeReg(function(t,e){return s=!0,w(y).off("click"+c),t&&"edit"===e||l.forEach(function(t){t.node.contents().detach(),t.node.append(t.children)}),b(),_(),a._clearDynamicInfo(),i&&i(),"inline"}),setTimeout(function(){var o,r;s||(o=w.fn.addBack?"addBack":"andSelf",w(y).on("mousedown"+c,function(t){r=t.target}).on("keydown"+c,function(t){r=t.target}).on("click"+c,function(t){for(var e=!1,i=0,n=l;i")),this._event("submitUnsuccessful",[t]),l&&l.call(this,t)}else{var m={};if(!t.data||"create"!==s&&"edit"!==s)"remove"===s&&(this._dataSource("prep",s,p,n,t,m),this._event("preRemove",[t,this.ids()]),this._dataSource("remove",p,c,m),this._event(["remove","postRemove"],[t,this.ids()]),this._dataSource("commit",s,p,t.data,m));else{this._dataSource("prep",s,p,n,t,m);for(var v=0,b=t.data;v
    ');return e._input=r,e._enabled=!0,e.id&&r.find("input[type=file]").attr("id",P.safeId(e.id)),e.attr&&r.find("input[type=file]").attr(e.attr),He(e),c.FileReader&&!1!==e.dragDrop?(r.find("div.drop span").text(e.dragDropText||"Drag and drop a file here to upload"),(s=r.find("div.drop")).on("drop",function(t){return e._enabled&&(P.upload(i,e,t.originalEvent.dataTransfer.files,He,n),s.removeClass("over")),!1}).on("dragleave dragexit",function(t){return e._enabled&&s.removeClass("over"),!1}).on("dragover",function(t){return e._enabled&&s.addClass("over"),!1}),i.on("open",function(){w("body").on("dragover.DTE_Upload drop.DTE_Upload",function(t){return!1})}).on("close",function(){w("body").off("dragover.DTE_Upload drop.DTE_Upload")})):(r.addClass("noDrop"),r.append(r.find("div.rendered"))),r.find("div.clearValue button").on("click",function(t){t.preventDefault(),e._enabled&&Qe.set.call(i,e,"")}),r.find("input[type=file]").on("input",function(){P.upload(i,e,this.files,He,function(t,e){e||n.call(i,t),r.find("input[type=file]")[0].value=""})}),r}function C(t){setTimeout(function(){t.trigger("change",{editor:!0,editorSet:!0})},0)}var i=w.extend(!0,{},Ve,{canReturnSubmit:function(t,e){return!0},disable:function(t){t._input.prop("disabled",!0)},enable:function(t){t._input.prop("disabled",!1)},get:function(t){return t._input.val()},set:function(t,e){t._input.val(e),C(t._input)}}),We={create:function(t){return t._input=w(""),t._val=t.value,null},get:function(t){return t._val},set:function(t,e){var i=t._val;t._val=e,t._input.val(e),i!==e&&C(t._input)}},ze=w.extend(!0,{},i,{create:function(t){return t._input=w("").attr(w.extend({id:P.safeId(t.id),readonly:"readonly",type:"text"},t.attr||{})),t._input[0]}}),Ge=w.extend(!0,{},i,{create:function(t){return t._input=w("").attr(w.extend({id:P.safeId(t.id),type:"text"},t.attr||{})),t._input[0]}}),Je=w.extend(!0,{},i,{create:function(t){return t._input=w("").attr(w.extend({id:P.safeId(t.id),type:"password"},t.attr||{})),t._input[0]}}),Xe=w.extend(!0,{},i,{canReturnSubmit:function(t,e){return!1},create:function(t){return t._input=w("").attr(w.extend({id:P.safeId(t.id)},t.attr||{})),t._input[0]}}),n=w.extend(!0,{},i,{_addOptions:function(t,e,i){var n,s=t._input[0].options,o=0;(i=void 0===i?!1:i)?o=s.length:(s.length=0,t.placeholder!==E&&(i=t.placeholderValue!==E?t.placeholderValue:"",o+=1,s[0]=new Option(t.placeholder,i),n=t.placeholderDisabled===E||t.placeholderDisabled,s[0].hidden=n,s[0].disabled=n,s[0]._editor_val=i)),e&&P.pairs(e,t.optionsPair,function(t,e,i,n){e=new Option(e,t);e._editor_val=t,n&&w(e).attr(n),s[i+o]=e})},create:function(i){return i._input=w("").attr(w.extend({id:P.safeId(i.id),multiple:!0===i.multiple},i.attr||{})).on("change.dte",function(t,e){e&&e.editor||(i._lastSet=n.get(i))}),n._addOptions(i,i.options||i.ipOpts),i._input[0]},destroy:function(t){t._input.off("change.dte")},get:function(t){var e=t._input.find("option:selected").map(function(){return this._editor_val}).toArray();return t.multiple?t.separator?e.join(t.separator):e:e.length?e[0]:null},set:function(t,e,i){i||(t._lastSet=e),t.multiple&&t.separator&&!Array.isArray(e)?e="string"==typeof e?e.split(t.separator):[]:Array.isArray(e)||(e=[e]);var n,s,o=e.length,r=!1,a=t._input.find("option");return t._input.find("option").each(function(){for(s=!1,n=0;n"),w("input:last",o).attr("value",t)[0]._editor_val=t,n&&w("input:last",o).attr(n)})},create:function(t){return t._input=w("
    "),s._addOptions(t,t.options||t.ipOpts),t._input[0]},disable:function(t){t._input.find("input").prop("disabled",!0)},enable:function(t){t._input.find("input").prop("disabled",!1)},get:function(t){var e=[],i=t._input.find("input:checked");return i.length?i.each(function(){e.push(this._editor_val)}):t.unselectedValue!==E&&e.push(t.unselectedValue),t.separator===E||null===t.separator?e:e.join(t.separator)},set:function(t,e){var i,n,s=t._input.find("input"),o=(Array.isArray(e)||"string"!=typeof e?Array.isArray(e)||(e=[e]):e=e.split(t.separator||"|"),e.length);s.each(function(){for(n=!1,i=0;i"),w("input:last",o).attr("value",t)[0]._editor_val=t,n&&w("input:last",o).attr(n)})},create:function(t){return t._input=w("
    "),k._addOptions(t,t.options||t.ipOpts),this.on("open",function(){t._input.find("input").each(function(){this._preChecked&&(this.checked=!0)})}),t._input[0]},disable:function(t){t._input.find("input").prop("disabled",!0)},enable:function(t){t._input.find("input").prop("disabled",!1)},get:function(t){var e=t._input.find("input:checked");return e.length?e[0]._editor_val:t.unselectedValue!==E?t.unselectedValue:E},set:function(t,e){t._input.find("input").each(function(){this._preChecked=!1,this._editor_val==e?(this.checked=!0,this._preChecked=!0):(this.checked=!1,this._preChecked=!1)}),C(t._input.find("input:checked"))},update:function(t,e,i){var n=k.get(t),e=(k._addOptions(t,e,i),t._input.find("input"));k.set(t,e.filter('[value="'+n+'"]').length?n:e.eq(0).attr("value"))}}),$e=w.extend(!0,{},i,{create:function(t){return t._input=w("").attr(w.extend(!0,{id:P.safeId(t.id),type:"text"},t.attr)),x.DateTime||P.error("DateTime library is required",15),t.momentLocale&&!t.opts.locale&&(t.opts.locale=t.momentLocale),t.momentStrict&&!t.opts.strict&&(t.opts.strict=t.momentStrict),t._picker=new x.DateTime(t._input,w.extend({format:t.displayFormat||t.format,i18n:this.i18n.datetime},t.opts)),!(t._closeFn=function(){t._picker.hide()})===t.keyInput&&t._input.on("keydown",function(t){t.preventDefault()}),this.on("close",t._closeFn),t._input[0]},destroy:function(t){this.off("close",t._closeFn),t._input.off("keydown"),t._picker.destroy()},errorMessage:function(t,e){t._picker.errorMsg(e)},get:function(t){return t.wireFormat?t._picker.valFormat(t.wireFormat):t._input.val()},maxDate:function(t,e){t._picker.max(e)},minDate:function(t,e){t._picker.min(e)},owns:function(t,e){return t._picker.owns(e)},set:function(t,e){"string"==typeof e&&e&&0!==e.indexOf("--")&&t.wireFormat?t._picker.valFormat(t.wireFormat,e):t._picker.val(e),C(t._input)}}),Qe=w.extend(!0,{},i,{canReturnSubmit:function(t,e){return!1},create:function(e){var i=this;return qe(i,e,function(t){Qe.set.call(i,e,t[0]),i._event("postUpload",[e.name,t[0]])})},disable:function(t){t._input.find("input").prop("disabled",!0),t._enabled=!1},enable:function(t){t._input.find("input").prop("disabled",!1),t._enabled=!0},get:function(t){return t._val},set:function(t,e){t._val=e,t._input.val("");var i=t._input,n=(t.display&&(n=i.find("div.rendered"),t._val?n.html(t.display(t._val)):n.empty().append(""+(t.noFileText||"No file")+"")),i.find("div.clearValue button"));e&&t.clearText?(n.html(t.clearText),i.removeClass("noClear")):i.addClass("noClear"),t._input.find("input").triggerHandler("upload.editor",[t._val])}}),F=w.extend(!0,{},i,{_showHide:function(t){t.limit&&(t._container.find("div.limitHide").css("display",t._val.length>=t.limit?"none":"block"),t._limitLeft=t.limit-t._val.length)},canReturnSubmit:function(t,e){return!1},create:function(e){var i=this,t=qe(i,e,function(t){e._val=e._val.concat(t),F.set.call(i,e,e._val),i._event("postUpload",[e.name,e._val])},!0);return t.addClass("multi").on("click","button.remove",function(t){t.stopPropagation(),e._enabled&&(t=w(this).data("idx"),e._val.splice(t,1),F.set.call(i,e,e._val))}),e._container=t},disable:function(t){t._input.find("input").prop("disabled",!0),t._enabled=!1},enable:function(t){t._input.find("input").prop("disabled",!1),t._enabled=!0},get:function(t){return t._val},set:function(i,t){if(t=t||[],!Array.isArray(t))throw new Error("Upload collections must have an array as a value");i._val=t,i._input.val("");var n,s=this,e=i._input;i.display&&(e=e.find("div.rendered").empty(),t.length?(n=w("
      ").appendTo(e),w.each(t,function(t,e){e=i.display(e,t);null!==e&&n.append("
    • "+e+'
    • ')})):e.append(""+(i.noFileText||"No files")+"")),F._showHide(i),i._input.find("input").triggerHandler("upload.editor",[i._val])}}),A=w.extend(!0,{},i,{_addOptions:function(t,e,i){t=t.dt;(i=void 0===i?!1:i)||t.clear(),t.rows.add(e).draw()},_jumpToFirst:function(t,e){function i(){var t=s.row({order:"applied",selected:!0}).node();t&&r.height()-10<(t=w(t).position().top)&&r.scrollTop(t)}var n,s=t.dt,t=s.row({order:"applied",selected:!0}).index(),o=0,r=("number"==typeof t&&(n=s.page.info().length,t=s.rows({order:"applied"}).indexes().indexOf(t),o=0")),t=w("
      ").append(n),s=w('
      '),l=(r.footer&&w("
      ").html(t)})):r.footer).appendTo(n),n.addClass(A.tableClass).width("100%").on("init.dt",function(t,e){var i;e.nTable===n[0]&&(e=new x.Api(e),i=w(e.table(E).container()),x.select.init(e),s.append(i.find("div.dataTables_filter")).append(i.find("div.dt-buttons")).append(i.find("div.dataTables_info")))}).DataTable(w.extend({buttons:[],columns:[{data:r.optionsPair.label,title:"Label"}],deferRender:!0,dom:"fiBtp",language:{paginate:{next:">",previous:"<"},search:"",searchPlaceholder:"Search"},lengthChange:!1,select:{style:r.multiple?"os":"single"}},r.config)));return this.on("open",function(){l.search()&&l.search("").draw(),l.columns.adjust()}),l.on("user-select",function(){C(w(r.dt.table().container()))}),r.editor&&(r.editor.table(l),r.editor.on("submitComplete",function(t,e,i,n){if("create"===n)for(var s=0,o=e.data;s").replace(/</g,"<").replace(/&/g,"&").replace(/"/g,'"').replace(/£/g,"£").replace(/�?39;/g,"'").replace(/�?10;/g,"\n")}this.s.multiValue=!1;var n=this.s.opts.entityDecode;if(n===E||!0===n)if(Array.isArray(t))for(var s=0,o=t.length;s
      '+s.title+''+s.info+'
      '+s.restore+'
      '+o.message+'
      '+o.fieldInfo+'
      '),t=this._typeFn("create",o),i=null;t&&t.side&&(i=t.side,t=t.input),null!==t?a("input-control",r).prepend(t):r.css("display","none"),this.dom={container:r,fieldError:a("msg-error",r),fieldInfo:a("msg-info",r),fieldMessage:a("msg-message",r),inputControl:a("input-control",r),label:a("label",r).append(i),labelInfo:a("msg-label",r),multi:a("multi-value",r),multiInfo:a("multi-info",r),multiReturn:a("msg-multi",r),processing:a("field-processing",r)},this.dom.multi.on("click",function(){n.s.opts.multiEditable&&!r.hasClass(e.disabled)&&"readonly"!==o.type&&(n.val(""),n.focus())}),this.dom.multiReturn.on("click",function(){n.multiRestore()}),w.each(this.s.type,function(e,t){"function"==typeof t&&n[e]===E&&(n[e]=function(){var t=Array.prototype.slice.call(arguments),t=(t.unshift(e),n._typeFn.apply(n,t));return t===E?n:t})})}var Ke={action:null,className:null,tabIndex:0,text:null},Ye={close:function(){},init:function(){},node:function(){},open:function(){}},S=w.fn.dataTable.Api.register;function I(t){t=t.context[0];return t.oInit.editor||t._editor}function j(t,e,i,n){return(e=e||{}).buttons===E&&(e.buttons="_basic"),e.title===E&&(e.title=t.i18n[i].title),e.message===E&&("remove"===i?(t=t.i18n[i].confirm,e.message=1!==n?t._.replace(/%d/,n):t[1]):e.message=""),e}S("editor()",function(){return I(this)}),S("row.create()",function(t){var e=I(this);return e.create(j(e,t,"create")),this}),S("row().edit()",function(t){var e=I(this);return e.edit(this[0][0],j(e,t,"edit")),this}),S("rows().edit()",function(t){var e=I(this);return e.edit(this[0],j(e,t,"edit")),this}),S("row().delete()",function(t){var e=I(this);return e.remove(this[0][0],j(e,t,"remove",1)),this}),S("rows().delete()",function(t){var e=I(this);return e.remove(this[0],j(e,t,"remove",this[0].length)),this}),S("cell().edit()",function(t,e){return t?w.isPlainObject(t)&&(e=t,t="inline"):t="inline",I(this)[t](this[0][0],e),this}),S("cells().edit()",function(t){return I(this).bubble(this[0],t),this}),S("file()",kt),S("files()",Ft),w(y).on("xhr.dt",function(t,e,i){"dt"===t.namespace&&i&&i.files&&w.each(i.files,function(t,e){P.files[t]||(P.files[t]={}),w.extend(P.files[t],e)})});var P,S=w.fn.dataTable.ext.buttons;if(w.extend(S,{create:{action:function(t,e,i,n){var s=this,o=n.editor;this.processing(!0),o.one("preOpen",function(){s.processing(!1)}).create(w.extend({buttons:n.formButtons,message:n.formMessage||o.i18n.create.message,nest:!0,title:n.formTitle||o.i18n.create.title},n.formOptions))},className:"buttons-create",editor:null,formButtons:{action:function(t){this.submit()},text:function(t){return t.i18n.create.submit}},formMessage:null,formOptions:{},formTitle:null,text:function(t,e,i){return t.i18n("buttons.create",i.editor.i18n.create.button)}},createInline:{action:function(t,e,i,n){n.editor.inlineCreate(n.position,n.formOptions)},className:"buttons-create",editor:null,formButtons:{action:function(t){this.submit()},text:function(t){return t.i18n.create.submit}},formOptions:{},position:"start",text:function(t,e,i){return t.i18n("buttons.create",i.editor.i18n.create.button)}},edit:{action:function(t,e,i,n){var s=this,o=n.editor,r=e.rows({selected:!0}).indexes(),a=e.columns({selected:!0}).indexes(),e=e.cells({selected:!0}).indexes(),e=a.length||e.length?{cells:e,columns:a,rows:r}:r;this.processing(!0),o.one("preOpen",function(){s.processing(!1)}).edit(e,w.extend({buttons:n.formButtons,message:n.formMessage||o.i18n.edit.message,nest:!0,title:n.formTitle||o.i18n.edit.title},n.formOptions))},className:"buttons-edit",editor:null,extend:"selected",formButtons:{action:function(t){this.submit()},text:function(t){return t.i18n.edit.submit}},formMessage:null,formOptions:{},formTitle:null,text:function(t,e,i){return t.i18n("buttons.edit",i.editor.i18n.edit.button)}},remove:{action:function(t,e,i,n){var s=this,o=n.editor;this.processing(!0),o.one("preOpen",function(){s.processing(!1)}).remove(e.rows({selected:!0}).indexes(),w.extend({buttons:n.formButtons,message:n.formMessage,nest:!0,title:n.formTitle||o.i18n.remove.title},n.formOptions))},className:"buttons-remove",editor:null,extend:"selected",formButtons:{action:function(t){this.submit()},text:function(t){return t.i18n.remove.submit}},formMessage:function(t,e){e=e.rows({selected:!0}).indexes(),t=t.i18n.remove;return("string"==typeof t.confirm?t.confirm:t.confirm[e.length]||t.confirm._).replace(/%d/g,e.length)},formOptions:{},formTitle:null,limitTo:["rows"],text:function(t,e,i){return t.i18n("buttons.remove",i.editor.i18n.remove.button)}}}),S.editSingle=w.extend({},S.edit),S.editSingle.extend="selectedSingle",S.removeSingle=w.extend({},S.remove),S.removeSingle.extend="selectedSingle",r&&r.versionCheck&&r.versionCheck("1.10.20"))return R.prototype.internalEvent=function(t,e){this._event(t,e)},R.prototype.internalI18n=function(){return this.i18n},R.prototype.internalMultiInfo=function(){return this._multiInfo()},R.prototype.internalSettings=function(){return this.s},R.fieldTypes={checkbox:s,datatable:A,datetime:$e,hidden:We,password:Je,radio:k,readonly:ze,select:n,text:Ge,textarea:Xe,upload:Qe,uploadMany:F},R.files={},R.version="2.1.3",R.classes=X,R.Field=i,R.DateTime=null,R.error=te,R.pairs=ee,R.factory=ne,R.upload=ie,R.defaults=N,R.models={button:Ke,displayController:Ye,fieldType:Ve,formOptions:t,settings:B},R.dataSources={dataTable:m,html:l},R.display={envelope:g,lightbox:D},R.safeId=function(t){return void 0===(e="")&&(e="#"),"string"==typeof(t=t)?e+t.replace(/\./g,"-"):e+t;var e},P=R,r.Editor=P,w.fn.DataTable.Editor=P,r.DateTime&&(P.DateTime=r.DateTime),r.ext.editorFields&&w.extend(P.fieldTypes,r.ext.editorFields),r.ext.editorFields=P.fieldTypes,P;throw new Error("Editor requires DataTables 1.10.20 or newer");function R(t,e){var s=this;if(this.add=ot,this.ajax=rt,this.background=at,this.blur=lt,this.bubble=dt,this.bubblePosition=ut,this.buttons=ct,this.clear=ft,this.close=pt,this.create=ht,this.undependent=mt,this.dependent=vt,this.destroy=bt,this.disable=_t,this.display=yt,this.displayed=gt,this.displayNode=wt,this.edit=Et,this.enable=Tt,this.error=Dt,this.field=xt,this.fields=Ct,this.file=kt,this.files=Ft,this.get=At,this.hide=Ot,this.ids=St,this.inError=It,this.inline=jt,this.inlineCreate=Pt,this.message=Rt,this.mode=Nt,this.modifier=Bt,this.multiGet=Lt,this.multiSet=Mt,this.node=Ut,this.off=Vt,this.on=Ht,this.one=qt,this.open=Wt,this.order=zt,this.remove=Gt,this.set=Jt,this.show=Xt,this.submit=$t,this.table=Qt,this.template=Zt,this.title=Kt,this.val=Yt,this._actionClass=re,this._ajax=ae,this._animate=le,this._assembleMain=de,this._blur=ue,this._clearDynamicInfo=ce,this._close=fe,this._closeReg=pe,this._crudArgs=he,this._dataSource=me,this._displayReorder=ve,this._edit=be,this._event=_e,this._eventName=ye,this._fieldFromNode=ge,this._fieldNames=we,this._focus=Ee,this._formOptions=Te,this._inline=De,this._inputTrigger=xe,this._optionsUpdate=Ce,this._message=ke,this._multiInfo=Fe,this._nestedClose=Ae,this._nestedOpen=Oe,this._postopen=Se,this._preopen=Ie,this._processing=je,this._noProcessing=Pe,this._submit=Re,this._submitTable=Ne,this._submitSuccess=Be,this._submitError=Le,this._tidy=Me,this._weakInArray=Ue,R.factory(t,e))return R;this instanceof R||alert("DataTables Editor must be initialised as a 'new' instance"),t=w.extend(!0,{},R.defaults,t),this.c=t,this.s=w.extend(!0,{},R.models.settings,{actionName:t.actionName,ajax:t.ajax,formOptions:t.formOptions,idSrc:t.idSrc,table:t.domTable||t.table,template:t.template?w(t.template).detach():null}),this.classes=w.extend(!0,{},R.classes),this.i18n=t.i18n,R.models.settings.unique++;var n=this,e=this.classes,i=w('
      '),o=w('
      ');if(this.dom={body:a("body",i)[0],bodyContent:a("body_content",i)[0],buttons:w('
      ')[0],footer:a("foot",i)[0],form:o[0],formContent:a("form_content",o)[0],formError:w('
      ')[0],formInfo:w('
      ')[0],header:w('
      ')[0],processing:a("processing",i)[0],wrapper:i[0]},w.each(t.events,function(t,i){n.on(t,function(){for(var t=[],e=0;eMore information).'},multi:{info:"The selected items contain different values for this input. To edit and set all items for this input to the same value, click or tap here, otherwise they will retain their individual values.",noMulti:"This input can be edited individually, but not part of a group.",restore:"Undo changes",title:"Multiple values"},remove:{button:"Delete",confirm:{1:"Are you sure you wish to delete 1 row?",_:"Are you sure you wish to delete %d rows?"},submit:"Delete",title:"Delete"}},idSrc:"DT_RowId",table:null},settings={action:null,actionName:"action",ajax:null,bubbleNodes:[],bubbleBottom:!1,closeCb:null,closeIcb:null,dataSource:null,displayController:null,displayed:!1,editCount:0,editData:{},editFields:{},editOpts:{},fields:{},formOptions:{bubble:$.extend({},formOptions),inline:$.extend({},formOptions),main:$.extend({},formOptions)},globalError:"",id:-1,idSrc:null,includeFields:[],mode:null,modifier:null,opts:null,order:[],processing:!1,setFocus:null,table:null,template:null,unique:0},DataTable$6=$.fn.dataTable,DtInternalApi=DataTable$6.ext.oApi;function objectKeys(t){var e,i=[];for(e in t)t.hasOwnProperty(e)&&i.push(e);return i}function el(t,e){return void 0===e&&(e=document),$('*[data-dte-e="'+t+'"]',e)}function safeDomId(t,e){return void 0===e&&(e="#"),"string"==typeof t?e+t.replace(/\./g,"-"):e+t}function safeQueryId(t,e){return void 0===e&&(e="#"),"string"==typeof t?e+t.replace(/(:|\.|\[|\]|,)/g,"\\$1"):e+t}function dataGet(t){return DtInternalApi._fnGetObjectDataFn(t)}function dataSet(t){return DtInternalApi._fnSetObjectDataFn(t)}var extend=DtInternalApi._fnExtend;function pluck(t,i){var n=[];return $.each(t,function(t,e){n.push(e[i])}),n}function deepCompare(t,e){if("object"!=typeof t||"object"!=typeof e)return t==e;var i=objectKeys(t),n=objectKeys(e);if(i.length!==n.length)return!1;for(var o=0,s=i.length;o'),n=[],o=[],s={},a=e.table(void 0).body(),r=0,l=e.columns(":visible").count();r").appendTo(i),c=_dtFieldsFromIdx(e,this.s.fields,d,!0),d=e.settings()[0].aoColumns[d].sClass;d&&u.addClass(d),Object.keys(c).length&&(n.push(Object.keys(c)),o.push(u[0]),$.extend(s,c))}function p(){0===e.page.info().recordsDisplay&&$(a).empty(),i["end"===t?"appendTo":"prependTo"](a)}return this.__dtFakeRow=i,p(),e.on("draw.dte-createInline",function(){p()}),{0:{attach:o,attachFields:n,displayFields:s,fields:this.s.fields,type:"row"}}},fakeRowEnd:function(){var t=_dtApi(this.s.table);t.off("draw.dte-createInline"),this.__dtFakeRow.remove(),this.__dtFakeRow=null,0===t.page.info().recordsDisplay&&t.draw(!1)},fields:function(t){var e=dataGet(this.s.idSrc),i=_dtApi(this.s.table),n=this.s.fields,o={};return!$.isPlainObject(t)||void 0===t.rows&&void 0===t.columns&&void 0===t.cells?_dtRowSelector(o,i,t,n,e):(void 0!==t.rows&&_dtRowSelector(o,i,t.rows,n,e),void 0!==t.columns&&_dtColumnSelector(o,i,t.columns,n,e),void 0!==t.cells&&_dtCellSelector(o,i,t.cells,n,e)),o},id:function(t){return dataGet(this.s.idSrc)(t)},individual:function(t,e){var i,n=dataGet(this.s.idSrc),o=_dtApi(this.s.table),s=this.s.fields,a={};return e&&(Array.isArray(e)||(e=[e]),i={},$.each(e,function(t,e){i[e]=s[e]})),_dtCellSelector(a,o,t,s,n,i),a},prep:function(t,e,i,n,o){var s,a=this;"create"===t&&(o.rowIds=$.map(n.data,function(t){return dataSource$1.id.call(a,t)})),"edit"===t?(s=n.cancelled||[],o.rowIds=$.map(i.data,function(t,e){return $.isEmptyObject(i.data[e])||-1!==$.inArray(e,s)?void 0:e})):"remove"===t&&(o.cancelled=n.cancelled||[])},refresh:function(){_dtApi(this.s.table).ajax.reload(null,!1)},remove:function(t,e,i){var n,o=this,s=_dtApi(this.s.table),a=i.cancelled;(0===a.length?s.rows(t):(n=[],s.rows(t).every(function(){var t=dataSource$1.id.call(o,this.data());-1===$.inArray(t,a)&&n.push(this.index())}),s.rows(n))).remove()}};function _htmlId(t){if("keyless"===t)return $(document);var e=$('[data-editor-id="'+t+'"]');if(0===(e=0===e.length?"string"==typeof t?$(safeQueryId(t)):$(t):e).length)throw new Error("Could not find an element with `data-editor-id` or `id` of: "+t);return e}function _htmlEl(t,e){t=_htmlId(t);return $('[data-editor-field="'+e+'"]',t)}function _htmlEls(t,e){for(var i=$(),n=0,o=e.length;n
      ')[0],close:$('
      ')[0],content:null,wrapper:$('
      ')[0]};function findAttachRow(t,e){var i=new $.fn.dataTable.Api(t.s.table);return"head"===e||"create"===t.s.action?i.table(void 0).header():i.row(t.s.modifier).node()}function heightCalc$1(t){var e=$("div.DTE_Header",dom$1.wrapper).outerHeight(),i=$("div.DTE_Footer",dom$1.wrapper).outerHeight(),e=$(window).height()-2*envelope.conf.windowPadding-e-i;return $("div.DTE_Body_Content",dom$1.wrapper).css("maxHeight",e),$(t.dom.wrapper).outerHeight()}function hide$2(t,e){e=e||function(){},displayed$2&&($(dom$1.content).animate({top:-(dom$1.content.offsetHeight+50)},600,function(){$([dom$1.wrapper,dom$1.background]).fadeOut("normal",function(){$(this).detach(),e()})}),displayed$2=!1)}function init$1(){dom$1.content=$("div.DTED_Envelope_Container",dom$1.wrapper)[0],cssBackgroundOpacity=$(dom$1.background).css("opacity")}function show$2(e,t){var i,n,o,s;t=t||function(){},$("body").append(dom$1.background).append(dom$1.wrapper),dom$1.content.style.height="auto",displayed$2||((i=dom$1.wrapper.style).opacity="0",i.display="block",n=heightCalc$1(e),s=(o=findAttachRow(e,envelope.conf.attach)).offsetWidth,i.display="none",i.opacity="1",dom$1.wrapper.style.width=s+"px",dom$1.wrapper.style.marginLeft=-s/2+"px",dom$1.wrapper.style.top=$(o).offset().top+o.offsetHeight+"px",dom$1.content.style.top=-1*n-20+"px",dom$1.background.style.opacity="0",dom$1.background.style.display="block",$(dom$1.background).animate({opacity:cssBackgroundOpacity},"normal"),$(dom$1.wrapper).fadeIn(),$(dom$1.content).animate({top:0},600,t)),$(dom$1.close).attr("title",e.i18n.close).off("click.DTED_Envelope").on("click.DTED_Envelope",function(t){e.close()}),$(dom$1.background).off("click.DTED_Envelope").on("click.DTED_Envelope",function(t){e.background()}),$("div.DTED_Lightbox_Content_Wrapper",dom$1.wrapper).off("click.DTED_Envelope").on("click.DTED_Envelope",function(t){$(t.target).hasClass("DTED_Envelope_Content_Wrapper")&&e.background()}),$(window).off("resize.DTED_Envelope").on("resize.DTED_Envelope",function(){heightCalc$1(e)}),displayed$2=!0}var envelope={close:function(t,e){hide$2(t,e)},conf:{attach:"row",windowPadding:50},destroy:function(t){hide$2()},init:function(t){return init$1(),envelope},node:function(t){return dom$1.wrapper[0]},open:function(t,e,i){$(dom$1.content).children().detach(),dom$1.content.appendChild(e),dom$1.content.appendChild(dom$1.close),show$2(t,i)}};function isMobile(){return void 0!==window.orientation&&window.outerWidth<=576}var displayed$1=!1,ready=!1,scrollTop=0,dom={background:$('
      '),close:$('
      '),content:null,wrapper:$('
      ')};function heightCalc(){var t=$("div.DTE_Header",dom.wrapper).outerHeight()+$("div.DTE_Footer",dom.wrapper).outerHeight();isMobile()?$("div.DTE_Body_Content",dom.wrapper).css("maxHeight","calc(100vh - "+t+"px)"):(t=$(window).height()-2*self.conf.windowPadding-t,$("div.DTE_Body_Content",dom.wrapper).css("maxHeight",t))}function hide$1(t,e){e=e||function(){},$("body").scrollTop(scrollTop),t._animate(dom.wrapper,{opacity:0,top:self.conf.offsetAni},function(){$(this).detach(),e()}),t._animate(dom.background,{opacity:0},function(){$(this).detach()}),displayed$1=!1,$(window).off("resize.DTED_Lightbox")}function init(){ready||(dom.content=$("div.DTED_Lightbox_Content",dom.wrapper),dom.wrapper.css("opacity",0),dom.background.css("opacity",0),ready=!0)}function show$1(e,t){isMobile()&&$("body").addClass("DTED_Lightbox_Mobile"),$("body").append(dom.background).append(dom.wrapper),heightCalc(),displayed$1||(displayed$1=!0,dom.content.css("height","auto"),dom.wrapper.css({top:-self.conf.offsetAni}),e._animate(dom.wrapper,{opacity:1,top:0},t),e._animate(dom.background,{opacity:1}),$(window).on("resize.DTED_Lightbox",function(){heightCalc()}),scrollTop=$("body").scrollTop()),dom.close.attr("title",e.i18n.close).off("click.DTED_Lightbox").on("click.DTED_Lightbox",function(t){e.close()}),dom.background.off("click.DTED_Lightbox").on("click.DTED_Lightbox",function(t){t.stopImmediatePropagation(),e.background()}),$("div.DTED_Lightbox_Content_Wrapper",dom.wrapper).off("click.DTED_Lightbox").on("click.DTED_Lightbox",function(t){$(t.target).hasClass("DTED_Lightbox_Content_Wrapper")&&(t.stopImmediatePropagation(),e.background())})}var self={close:function(t,e){hide$1(t,e)},conf:{offsetAni:25,windowPadding:25},destroy:function(t){displayed$1&&hide$1(t)},init:function(t){return init(),self},node:function(t){return dom.wrapper[0]},open:function(t,e,i){var n=dom.content;n.children().detach(),n.append(e).append(dom.close),show$1(t,i)}},DataTable$5=$.fn.dataTable;function add(t,e,i){if(void 0===i&&(i=!0),Array.isArray(t)){void 0!==e&&t.reverse();for(var n=0,o=t;n
      '),n=$('
      '),t=(r&&(n.appendTo("body"),i.appendTo("body")),n.children().eq(0)),o=t.children(),s=o.children(),a=(t.append(u.dom.formError),o.prepend(u.dom.form),l.message&&t.prepend(u.dom.formInfo),l.title&&t.prepend(u.dom.header),l.buttons&&o.append(u.dom.buttons),$().add(n).add(i));u._closeReg(function(t){u._animate(a,{opacity:0},function(){this===n[0]&&(a.detach(),$(window).off("resize."+e+" scroll."+e),u._clearDynamicInfo(),u._event("closed",["bubble"]))})}),i.on("click",function(){u.blur()}),s.on("click",function(){u._close()}),u.bubblePosition(),u._postopen("bubble",!1);u._animate(a,{opacity:1},function(){this===n[0]&&(u._focus(u.s.includeFields,l.focus),u._event("opened",["bubble",u.s.action]))})})),this}function bubblePosition(){var t=$("div.DTE_Bubble"),e=$("div.DTE_Bubble_Liner"),i=this.s.bubbleNodes,n={bottom:0,left:0,right:0,top:0},i=($.each(i,function(t,e){var i=$(e).offset();e=$(e).get(0),n.top+=i.top,n.left+=i.left,n.right+=i.left+e.offsetWidth,n.bottom+=i.top+e.offsetHeight}),n.top/=i.length,n.left/=i.length,n.right/=i.length,n.bottom/=i.length,n.top),o=(n.left+n.right)/2,s=e.outerWidth(),a=e.outerHeight(),r=o-s/2,s=r+s,l=$(window).width(),d=$(window).scrollTop(),o=(t.css({left:o,top:this.s.bubbleBottom?n.bottom:i}),this.s.bubbleBottom&&t.addClass("below"),t.position());return e.length&&o.top+a>d+window.innerHeight?(t.css("top",i).removeClass("below"),this.s.bubbleBottom=!1):e.length&&o.top-a",{class:s.classes.form.button+(e.className?" "+e.className:"")}).html("function"==typeof i?i(s):i||"").attr("tabindex",void 0!==e.tabIndex?e.tabIndex:0).attr(o).on("keyup",function(t){13===t.which&&n&&n.call(s)}).on("keypress",function(t){13===t.which&&t.preventDefault()}).on("click",function(t){t.preventDefault(),n&&n.call(s,t)}).appendTo(s.dom.buttons)}),this}function clear(t){var i=this,e=this.s.fields;return"string"==typeof t?(i.field(t).destroy(),delete e[t],e=$.inArray(t,this.s.order),this.s.order.splice(e,1),-1!==(e=$.inArray(t,this.s.includeFields))&&this.s.includeFields.splice(e,1)):$.each(this._fieldNames(t),function(t,e){i.clear(e)}),this}function close(){return this._close(!1),this}function create(t,e,i,n){var o=this,s=this,a=this.s.fields,r=1;if(!this._tidy(function(){s.create(t,e,i,n)})){"number"==typeof t&&(r=t,t=e,e=i),this.s.editFields={};for(var l=0;lUploading file"),u.onload=function(t){var e,i=new FormData;if(i.append("action","upload"),i.append("uploadField",a.name),i.append("upload",r[c]),a.ajaxData&&a.ajaxData(i,r[c],c),a.ajax?e=a.ajax:$.isPlainObject(s.s.ajax)?e=s.s.ajax.upload||s.s.ajax:"string"==typeof s.s.ajax&&(e=s.s.ajax),!e)throw new Error("No Ajax option specified for upload plug-in");if("function"==typeof(e="string"==typeof e?{url:e}:e).data){var n={},o=e.data(n);void 0!==o&&"string"!=typeof o&&(n=o),$.each(n,function(t,e){i.append(t,e)})}else if($.isPlainObject(e.data))throw new Error("Upload feature cannot use `ajax.data` with an object. Please use it as a function instead.");s._event("preUpload",[a.name,r[c],i],function(t){var o;!1===t?c
      ')),m.find("div."+s.liner.replace(/ /g,".")).append(h.field.node()).append(this.dom.formError),n=h.field.node(),e.buttons&&m.find("div."+s.buttons.replace(/ /g,".")).append(this.dom.buttons)}var b=this._inputTrigger("submit",e,n),_=this._inputTrigger("cancel",e,n);this._closeReg(function(t,e){return o=!0,$(document).off("click"+c),t&&"edit"===e||l.forEach(function(t){t.node.contents().detach(),t.node.append(t.children)}),b(),_(),r._clearDynamicInfo(),i&&i(),"inline"}),setTimeout(function(){var s,a;o||(s=$.fn.addBack?"addBack":"andSelf",$(document).on("mousedown"+c,function(t){a=t.target}).on("keydown"+c,function(t){a=t.target}).on("click"+c,function(t){for(var e=!1,i=0,n=l;i")),this._event("submitUnsuccessful",[t]),l&&l.call(this,t)}else{var m={};if(!t.data||"create"!==o&&"edit"!==o)"remove"===o&&(this._dataSource("prep",o,f,n,t,m),this._event("preRemove",[t,this.ids()]),this._dataSource("remove",f,c,m),this._event(["remove","postRemove"],[t,this.ids()]),this._dataSource("commit",o,f,t.data,m));else{this._dataSource("prep",o,f,n,t,m);for(var v=0,b=t.data;v
      ');return e._input=a,e._enabled=!0,e.id&&a.find("input[type=file]").attr("id",Editor.safeId(e.id)),e.attr&&a.find("input[type=file]").attr(e.attr),_buttonText(e),window.FileReader&&!1!==e.dragDrop?(a.find("div.drop span").text(e.dragDropText||"Drag and drop a file here to upload"),(o=a.find("div.drop")).on("drop",function(t){return e._enabled&&(Editor.upload(i,e,t.originalEvent.dataTransfer.files,_buttonText,n),o.removeClass("over")),!1}).on("dragleave dragexit",function(t){return e._enabled&&o.removeClass("over"),!1}).on("dragover",function(t){return e._enabled&&o.addClass("over"),!1}),i.on("open",function(){$("body").on("dragover.DTE_Upload drop.DTE_Upload",function(t){return!1})}).on("close",function(){$("body").off("dragover.DTE_Upload drop.DTE_Upload")})):(a.addClass("noDrop"),a.append(a.find("div.rendered"))),a.find("div.clearValue button").on("click",function(t){t.preventDefault(),e._enabled&&upload.set.call(i,e,"")}),a.find("input[type=file]").on("input",function(){Editor.upload(i,e,this.files,_buttonText,function(t,e){e||n.call(i,t),a.find("input[type=file]")[0].value=""})}),a}function _triggerChange(t){setTimeout(function(){t.trigger("change",{editor:!0,editorSet:!0})},0)}var baseFieldType=$.extend(!0,{},fieldType,{canReturnSubmit:function(t,e){return!0},disable:function(t){t._input.prop("disabled",!0)},enable:function(t){t._input.prop("disabled",!1)},get:function(t){return t._input.val()},set:function(t,e){t._input.val(e),_triggerChange(t._input)}}),hidden={create:function(t){return t._input=$(""),t._val=t.value,null},get:function(t){return t._val},set:function(t,e){var i=t._val;t._val=e,t._input.val(e),i!==e&&_triggerChange(t._input)}},readonly=$.extend(!0,{},baseFieldType,{create:function(t){return t._input=$("").attr($.extend({id:Editor.safeId(t.id),readonly:"readonly",type:"text"},t.attr||{})),t._input[0]}}),text=$.extend(!0,{},baseFieldType,{create:function(t){return t._input=$("").attr($.extend({id:Editor.safeId(t.id),type:"text"},t.attr||{})),t._input[0]}}),password=$.extend(!0,{},baseFieldType,{create:function(t){return t._input=$("").attr($.extend({id:Editor.safeId(t.id),type:"password"},t.attr||{})),t._input[0]}}),textarea=$.extend(!0,{},baseFieldType,{canReturnSubmit:function(t,e){return!1},create:function(t){return t._input=$("").attr($.extend({id:Editor.safeId(t.id)},t.attr||{})),t._input[0]}}),select=$.extend(!0,{},baseFieldType,{_addOptions:function(t,e,i){var n,o=t._input[0].options,s=0;(i=void 0===i?!1:i)?s=o.length:void(o.length=0)!==t.placeholder&&(i=void 0!==t.placeholderValue?t.placeholderValue:"",s+=1,o[0]=new Option(t.placeholder,i),n=void 0===t.placeholderDisabled||t.placeholderDisabled,o[0].hidden=n,o[0].disabled=n,o[0]._editor_val=i),e&&Editor.pairs(e,t.optionsPair,function(t,e,i,n){e=new Option(e,t);e._editor_val=t,n&&$(e).attr(n),o[i+s]=e})},create:function(i){return i._input=$("").attr($.extend({id:Editor.safeId(i.id),multiple:!0===i.multiple},i.attr||{})).on("change.dte",function(t,e){e&&e.editor||(i._lastSet=select.get(i))}),select._addOptions(i,i.options||i.ipOpts),i._input[0]},destroy:function(t){t._input.off("change.dte")},get:function(t){var e=t._input.find("option:selected").map(function(){return this._editor_val}).toArray();return t.multiple?t.separator?e.join(t.separator):e:e.length?e[0]:null},set:function(t,e,i){i||(t._lastSet=e),t.multiple&&t.separator&&!Array.isArray(e)?e="string"==typeof e?e.split(t.separator):[]:Array.isArray(e)||(e=[e]);var n,o,s=e.length,a=!1,r=t._input.find("option");return t._input.find("option").each(function(){for(o=!1,n=0;n"),$("input:last",s).attr("value",t)[0]._editor_val=t,n&&$("input:last",s).attr(n)})},create:function(t){return t._input=$("
      "),checkbox._addOptions(t,t.options||t.ipOpts),t._input[0]},disable:function(t){t._input.find("input").prop("disabled",!0)},enable:function(t){t._input.find("input").prop("disabled",!1)},get:function(t){var e=[],i=t._input.find("input:checked");return i.length?i.each(function(){e.push(this._editor_val)}):void 0!==t.unselectedValue&&e.push(t.unselectedValue),void 0===t.separator||null===t.separator?e:e.join(t.separator)},set:function(t,e){var i,n,o=t._input.find("input"),s=(Array.isArray(e)||"string"!=typeof e?Array.isArray(e)||(e=[e]):e=e.split(t.separator||"|"),e.length);o.each(function(){for(n=!1,i=0;i"),$("input:last",s).attr("value",t)[0]._editor_val=t,n&&$("input:last",s).attr(n)})},create:function(t){return t._input=$("
      "),radio._addOptions(t,t.options||t.ipOpts),this.on("open",function(){t._input.find("input").each(function(){this._preChecked&&(this.checked=!0)})}),t._input[0]},disable:function(t){t._input.find("input").prop("disabled",!0)},enable:function(t){t._input.find("input").prop("disabled",!1)},get:function(t){var e=t._input.find("input:checked");return e.length?e[0]._editor_val:void 0!==t.unselectedValue?t.unselectedValue:void 0},set:function(t,e){t._input.find("input").each(function(){this._preChecked=!1,this._editor_val==e?(this.checked=!0,this._preChecked=!0):(this.checked=!1,this._preChecked=!1)}),_triggerChange(t._input.find("input:checked"))},update:function(t,e,i){var n=radio.get(t),e=(radio._addOptions(t,e,i),t._input.find("input"));radio.set(t,e.filter('[value="'+n+'"]').length?n:e.eq(0).attr("value"))}}),datetime=$.extend(!0,{},baseFieldType,{create:function(t){return t._input=$("").attr($.extend(!0,{id:Editor.safeId(t.id),type:"text"},t.attr)),DataTable$3.DateTime||Editor.error("DateTime library is required",15),t.momentLocale&&!t.opts.locale&&(t.opts.locale=t.momentLocale),t.momentStrict&&!t.opts.strict&&(t.opts.strict=t.momentStrict),t._picker=new DataTable$3.DateTime(t._input,$.extend({format:t.displayFormat||t.format,i18n:this.i18n.datetime},t.opts)),!(t._closeFn=function(){t._picker.hide()})===t.keyInput&&t._input.on("keydown",function(t){t.preventDefault()}),this.on("close",t._closeFn),t._input[0]},destroy:function(t){this.off("close",t._closeFn),t._input.off("keydown"),t._picker.destroy()},errorMessage:function(t,e){t._picker.errorMsg(e)},get:function(t){return t.wireFormat?t._picker.valFormat(t.wireFormat):t._input.val()},maxDate:function(t,e){t._picker.max(e)},minDate:function(t,e){t._picker.min(e)},owns:function(t,e){return t._picker.owns(e)},set:function(t,e){"string"==typeof e&&e&&0!==e.indexOf("--")&&t.wireFormat?t._picker.valFormat(t.wireFormat,e):t._picker.val(e),_triggerChange(t._input)}}),upload=$.extend(!0,{},baseFieldType,{canReturnSubmit:function(t,e){return!1},create:function(e){var i=this;return _commonUpload(i,e,function(t){upload.set.call(i,e,t[0]),i._event("postUpload",[e.name,t[0]])})},disable:function(t){t._input.find("input").prop("disabled",!0),t._enabled=!1},enable:function(t){t._input.find("input").prop("disabled",!1),t._enabled=!0},get:function(t){return t._val},set:function(t,e){t._val=e,t._input.val("");var i=t._input,n=(t.display&&(n=i.find("div.rendered"),t._val?n.html(t.display(t._val)):n.empty().append(""+(t.noFileText||"No file")+"")),i.find("div.clearValue button"));e&&t.clearText?(n.html(t.clearText),i.removeClass("noClear")):i.addClass("noClear"),t._input.find("input").triggerHandler("upload.editor",[t._val])}}),uploadMany=$.extend(!0,{},baseFieldType,{_showHide:function(t){t.limit&&(t._container.find("div.limitHide").css("display",t._val.length>=t.limit?"none":"block"),t._limitLeft=t.limit-t._val.length)},canReturnSubmit:function(t,e){return!1},create:function(e){var i=this,t=_commonUpload(i,e,function(t){e._val=e._val.concat(t),uploadMany.set.call(i,e,e._val),i._event("postUpload",[e.name,e._val])},!0);return t.addClass("multi").on("click","button.remove",function(t){t.stopPropagation(),e._enabled&&(t=$(this).data("idx"),e._val.splice(t,1),uploadMany.set.call(i,e,e._val))}),e._container=t},disable:function(t){t._input.find("input").prop("disabled",!0),t._enabled=!1},enable:function(t){t._input.find("input").prop("disabled",!1),t._enabled=!0},get:function(t){return t._val},set:function(i,t){if(t=t||[],!Array.isArray(t))throw new Error("Upload collections must have an array as a value");i._val=t,i._input.val("");var n,o=this,e=i._input;i.display&&(e=e.find("div.rendered").empty(),t.length?(n=$("
        ").appendTo(e),$.each(t,function(t,e){e=i.display(e,t);null!==e&&n.append("
      • "+e+'
      • ')})):e.append(""+(i.noFileText||"No files")+"")),uploadMany._showHide(i),i._input.find("input").triggerHandler("upload.editor",[i._val])}}),datatable=$.extend(!0,{},baseFieldType,{_addOptions:function(t,e,i){t=t.dt;(i=void 0===i?!1:i)||t.clear(),t.rows.add(e).draw()},_jumpToFirst:function(t,e){function i(){var t=o.row({order:"applied",selected:!0}).node();t&&a.height()-10<(t=$(t).position().top)&&a.scrollTop(t)}var n,o=t.dt,t=o.row({order:"applied",selected:!0}).index(),s=0,a=("number"==typeof t&&(n=o.page.info().length,t=o.rows({order:"applied"}).indexes().indexOf(t),s=0")),t=$("
        ").append(n),o=$('
        '),l=(a.footer&&$("
        ").html(t)})):a.footer).appendTo(n),n.addClass(datatable.tableClass).width("100%").on("init.dt",function(t,e){var i;e.nTable===n[0]&&(e=new DataTable$3.Api(e),i=$(e.table(void 0).container()),DataTable$3.select.init(e),o.append(i.find("div.dataTables_filter")).append(i.find("div.dt-buttons")).append(i.find("div.dataTables_info")))}).DataTable($.extend({buttons:[],columns:[{data:a.optionsPair.label,title:"Label"}],deferRender:!0,dom:"fiBtp",language:{paginate:{next:">",previous:"<"},search:"",searchPlaceholder:"Search"},lengthChange:!1,select:{style:a.multiple?"os":"single"}},a.config)));return this.on("open",function(){l.search()&&l.search("").draw(),l.columns.adjust()}),l.on("user-select",function(){_triggerChange($(a.dt.table().container()))}),a.editor&&(a.editor.table(l),a.editor.on("submitComplete",function(t,e,i,n){if("create"===n)for(var o=0,s=e.data;o
        '+o.title+''+o.info+'
        '+o.restore+'
        '+s.message+'
        '+s.fieldInfo+'
        '),t=this._typeFn("create",s),i=null;t&&t.side&&(i=t.side,t=t.input),null!==t?el("input-control",a).prepend(t):a.css("display","none"),this.dom={container:a,fieldError:el("msg-error",a),fieldInfo:el("msg-info",a),fieldMessage:el("msg-message",a),inputControl:el("input-control",a),label:el("label",a).append(i),labelInfo:el("msg-label",a),multi:el("multi-value",a),multiInfo:el("multi-info",a),multiReturn:el("msg-multi",a),processing:el("field-processing",a)},this.dom.multi.on("click",function(){n.s.opts.multiEditable&&!a.hasClass(e.disabled)&&"readonly"!==s.type&&(n.val(""),n.focus())}),this.dom.multiReturn.on("click",function(){n.multiRestore()}),$.each(this.s.type,function(e,t){"function"==typeof t&&void 0===n[e]&&(n[e]=function(){var t=Array.prototype.slice.call(arguments),t=(t.unshift(e),n._typeFn.apply(n,t));return void 0===t?n:t})})}return r.prototype.def=function(t){var e,i=this.s.opts;return void 0===t?"function"==typeof(e=void 0!==i.default?i.default:i.def)?e():e:(i.def=t,this)},r.prototype.disable=function(){return this.dom.container.addClass(this.s.classes.disabled),this._typeFn("disable"),this},r.prototype.displayed=function(){var t=this.dom.container;return!(!t.parents("body").length||"none"===t.css("display"))},r.prototype.enable=function(t){return!1===(t=void 0===t?!0:t)?this.disable():(this.dom.container.removeClass(this.s.classes.disabled),this._typeFn("enable"),this)},r.prototype.enabled=function(){return!1===this.dom.container.hasClass(this.s.classes.disabled)},r.prototype.error=function(t,e){var i=this.s.classes;return t?this.dom.container.addClass(i.error):this.dom.container.removeClass(i.error),this._typeFn("errorMessage",t),this._msg(this.dom.fieldError,t,e)},r.prototype.fieldInfo=function(t){return this._msg(this.dom.fieldInfo,t)},r.prototype.isMultiValue=function(){return this.s.multiValue&&1!==this.s.multiIds.length},r.prototype.inError=function(){return this.dom.container.hasClass(this.s.classes.error)},r.prototype.input=function(){return this.s.type.input?this._typeFn("input"):$("input, select, textarea",this.dom.container)},r.prototype.focus=function(){return this.s.type.focus?this._typeFn("focus"):$("input, select, textarea",this.dom.container).focus(),this},r.prototype.get=function(){if(!this.isMultiValue())return this._format(this._typeFn("get"),this.s.opts.getFormatter)},r.prototype.hide=function(t){var e=this.dom.container;return void 0===t&&(t=!0),this.s.host.display()&&t&&$.fn.slideUp?e.slideUp():e.css("display","none"),this},r.prototype.label=function(t){var e=this.dom.label,i=this.dom.labelInfo.detach();return void 0===t?e.html():(e.html(t),e.append(i),this)},r.prototype.labelInfo=function(t){return this._msg(this.dom.labelInfo,t)},r.prototype.message=function(t,e){return this._msg(this.dom.fieldMessage,t,e)},r.prototype.multiGet=function(t){var e=this.s.multiValues,i=this.s.multiIds,n=this.isMultiValue();if(void 0===t)for(var o=this.val(),s={},a=0,r=i;a").replace(/</g,"<").replace(/&/g,"&").replace(/"/g,'"').replace(/£/g,"£").replace(/�?39;/g,"'").replace(/�?10;/g,"\n")}this.s.multiValue=!1;var n=this.s.opts.entityDecode;if(void 0===n||!0===n)if(Array.isArray(t))for(var o=0,s=t.length;o
        '),s=$('
        ');if(this.dom={body:el("body",i)[0],bodyContent:el("body_content",i)[0],buttons:$('
        ')[0],footer:el("foot",i)[0],form:s[0],formContent:el("form_content",s)[0],formError:$('
        ')[0],formInfo:$('
        ')[0],header:$('
        ')[0],processing:el("processing",i)[0],wrapper:i[0]},$.each(t.events,function(t,i){n.on(t,function(){for(var t=[],e=0;e + * DataTables internationalisation options to provide a fully language + * customised table interface. + * + * @namespace + * + * @example + * // Set the 'create' button text. All other strings used are the + * // default values. + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "create": { + * "button": "New user" + * } + * } + * } ); + * + * @example + * // Set the submit text for all three actions + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "create": { + * "submit": "Create new user" + * }, + * "edit": { + * "submit": "Update user" + * }, + * "remove": { + * "submit": "Remove user" + * } + * } + * } ); + */ + i18n: { + /** + * Close button title text + * + * @type string + * @default Close + */ + close: 'Close', + /** + * Strings used when working with the Editor 'create' action (creating new + * records). + * + * @namespace + */ + create: { + /** + * Buttons button text + * + * @type string + * @default New + */ + button: 'New', + /** + * Submit button text + * + * @type string + * @default Create + */ + submit: 'Create', + /** + * Display container title (when showing the editor display) + * + * @type string + * @default Create new entry + */ + title: 'Create new entry' + }, + datetime: { + amPm: ['am', 'pm'], + hours: 'Hour', + minutes: 'Minute', + months: [ + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' + ], + next: 'Next', + previous: 'Previous', + seconds: 'Second', + unknown: '-', + weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + }, + /** + * Strings used when working with the Editor 'edit' action (editing existing + * records). + * + * @namespace + */ + edit: { + /** + * Buttons button text + * + * @type string + * @default Edit + */ + button: 'Edit', + /** + * Submit button text + * + * @type string + * @default Update + */ + submit: 'Update', + /** + * Display container title (when showing the editor display) + * + * @type string + * @default Edit entry + */ + title: 'Edit entry' + }, + /** + * Strings used for error conditions. + * + * @namespace + */ + error: { + /** + * Generic server error message + * + * @type string + * @default + * A system error has occurred (More information) + */ + system: 'A system error has occurred (More information).' + }, + /** + * Strings used for multi-value editing + * + * @namespace + */ + multi: { + /** + * Shown below the multi title text, although only the first + * instance of this text is shown in the form to reduce redundancy + */ + info: 'The selected items contain different values for this input. To edit and set all items for this input to the same value, click or tap here, otherwise they will retain their individual values.', + /** + * Disabled for multi-row editing + */ + noMulti: 'This input can be edited individually, but not part of a group.', + /** + * Shown below the field input when group editing a value to allow + * the user to return to the original multiple values + */ + restore: 'Undo changes', + /** + * Shown in place of the field value when a field has multiple values + */ + title: 'Multiple values' + }, + /** + * Strings used when working with the Editor 'delete' action (deleting + * existing records). + * + * @namespace + */ + remove: { + /** + * Buttons button text + * + * @type string + * @default Delete + */ + button: 'Delete', + /** + * Deletion confirmation message. + * + * As Editor has the ability to delete either a single or multiple rows + * at a time, this option can be given as either a string (which will be + * used regardless of how many records are selected) or as an object + * where the property "_" will be used (with %d substituted for the number + * of records to be deleted) as the delete message, unless there is a + * key with the number of records to be deleted. This allows Editor + * to consider the different pluralisation characteristics of different + * languages. + * + * @type object|string + * @default Are you sure you wish to delete %d rows? + * + * @example + * // String - no plural consideration + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "remove": { + * "confirm": "Are you sure you wish to delete %d record(s)?" + * } + * } + * } ); + * + * @example + * // Basic 1 (singular) or _ (plural) + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "remove": { + * "confirm": { + * "_": "Confirm deletion of %d records.", + * "1": "Confirm deletion of record." + * } + * } + * } ); + * + * @example + * // Singular, dual and plural + * var editor = new $.fn.Editor( { + * "ajax": "data/source", + * "table": "#example", + * "i18n": { + * "remove": { + * "confirm": { + * "_": "Confirm deletion of %d records.", + * "1": "Confirm deletion of record.", + * "2": "Confirm deletion of both record." + * } + * } + * } ); + * + */ + confirm: { + 1: 'Are you sure you wish to delete 1 row?', + _: 'Are you sure you wish to delete %d rows?' + }, + /** + * Submit button text + * + * @type string + * @default Delete + */ + submit: 'Delete', + /** + * Display container title (when showing the editor display) + * + * @type string + * @default Delete + */ + title: 'Delete', + } + }, + /** + * JSON property from which to read / write the row's ID property (i.e. its + * unique column index that identifies the row to the database). By default + * Editor will use the `DT_RowId` property from the data source object + * (DataTable's magic property to set the DOM id for the row). + * + * If you want to read a parameter from the data source object instead of + * using `DT_RowId`, set this option to the property name to use. + * + * Like other data source options the `srcId` option can be given in dotted + * object notation to read nested objects. + * + * @type null|string + * @default DT_RowId + * + * @example + * // Using a data source such as: + * // { "id":12, "browser":"Chrome", ... } + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": "php/index.php", + * "table": "#example", + * "idSrc": "id" + * } ); + * } ); + */ + idSrc: 'DT_RowId', + /** + * jQuery selector that can be used to identify the table you wish to apply + * this editor instance to. + * + * In previous versions of Editor (1.2 and earlier), this parameter was + * called `table`. The name has been altered in 1.3+ to simplify the + * initialisation. This is a backwards compatible change - if you pass in + * a `table` option it will be used. + * + * @type string + * @default Empty string + * + * @example + * $(document).ready(function() { + * var editor = new $.fn.Editor( { + * "ajax": "php/index.php", + * "table": "#example" + * } ); + * } ); + */ + table: null, +}; + +var settings = { + action: null, + actionName: 'action', + ajax: null, + bubbleNodes: [], + bubbleBottom: false, + closeCb: null, + closeIcb: null, + dataSource: null, + displayController: null, + displayed: false, + editCount: 0, + editData: {}, + editFields: {}, + editOpts: {}, + fields: {}, + formOptions: { + bubble: $.extend({}, formOptions), + inline: $.extend({}, formOptions), + main: $.extend({}, formOptions), + }, + globalError: '', + id: -1, + idSrc: null, + includeFields: [], + mode: null, + modifier: null, + opts: null, + order: [], + processing: false, + setFocus: null, + table: null, + template: null, + unique: 0 +}; + +var DataTable$6 = $.fn.dataTable; +var DtInternalApi = DataTable$6.ext.oApi; +function objectKeys(o) { + var out = []; + for (var key in o) { + if (o.hasOwnProperty(key)) { + out.push(key); + } + } + return out; +} +function el(tag, ctx) { + if (ctx === undefined) { + ctx = document; + } + return $('*[data-dte-e="' + tag + '"]', ctx); +} +function safeDomId(id, prefix) { + if (prefix === void 0) { prefix = '#'; } + return typeof id === 'string' ? + prefix + id.replace(/\./g, '-') : + prefix + id; +} +function safeQueryId(id, prefix) { + if (prefix === void 0) { prefix = '#'; } + return typeof id === 'string' ? + prefix + id.replace(/(:|\.|\[|\]|,)/g, '\\$1') : + prefix + id; +} +function dataGet(src) { + return DtInternalApi._fnGetObjectDataFn(src); +} +function dataSet(src) { + return DtInternalApi._fnSetObjectDataFn(src); +} +var extend = DtInternalApi._fnExtend; +function pluck(a, prop) { + var out = []; + $.each(a, function (idx, elIn) { + out.push(elIn[prop]); + }); + return out; +} +/** + * Compare parameters for difference - diving into arrays and objects if + * needed, allowing the object reference to be different, but the contents to + * match. + * + * Please note that LOOSE type checking is used + */ +function deepCompare(o1, o2) { + if (typeof o1 !== 'object' || typeof o2 !== 'object') { + return o1 == o2; + } + var o1Props = objectKeys(o1); + var o2Props = objectKeys(o2); + if (o1Props.length !== o2Props.length) { + return false; + } + for (var i = 0, ien = o1Props.length; i < ien; i++) { + var propName = o1Props[i]; + if (typeof o1[propName] === 'object') { + if (!deepCompare(o1[propName], o2[propName])) { + return false; + } + } + else if (o1[propName] != o2[propName]) { + return false; + } + } + return true; +} + +/* - - - - - - - - - - + * DataTables editor interface + */ +var _dtIsSsp = function (dt, editor) { + // If the draw type is `none`, then we still need to use the DT API to + // update the display with the new data + return dt.settings()[0].oFeatures.bServerSide && + editor.s.editOpts.drawType !== 'none'; +}; +var _dtApi = function (table) { + return table instanceof $.fn.dataTable.Api + ? table + : $(table).DataTable(); +}; +var _dtHighlight = function (node) { + // Highlight a row using CSS transitions. The timeouts need to match the + // transition duration from the CSS + node = $(node); + setTimeout(function () { + node.addClass('highlight'); + setTimeout(function () { + node + .addClass('noHighlight') + .removeClass('highlight'); + setTimeout(function () { + node.removeClass('noHighlight'); + }, 550); + }, 500); + }, 20); +}; +var _dtRowSelector = function (out, dt, identifier, fields, idFn) { + dt.rows(identifier).indexes().each(function (idx) { + var row = dt.row(idx); + var data = row.data(); + var idSrc = idFn(data); + if (idSrc === undefined) { + Editor.error('Unable to find row identifier', 14); + } + out[idSrc] = { + data: data, + fields: fields, + idSrc: idSrc, + node: row.node(), + type: 'row' + }; + }); +}; +var _dtFieldsFromIdx = function (dt, fields, idx, ignoreUnknown) { + var col = dt.settings()[0].aoColumns[idx]; + var dataSrc = col.editField !== undefined ? + col.editField : + col.mData; + var resolvedFields = {}; + var run = function (field, dataSrcIn) { + if (field.name() === dataSrcIn) { + resolvedFields[field.name()] = field; + } + }; + $.each(fields, function (name, fieldInst) { + if (Array.isArray(dataSrc)) { + for (var _i = 0, dataSrc_1 = dataSrc; _i < dataSrc_1.length; _i++) { + var data = dataSrc_1[_i]; + run(fieldInst, data); + } + } + else { + run(fieldInst, dataSrc); + } + }); + if ($.isEmptyObject(resolvedFields) && !ignoreUnknown) { + Editor.error('Unable to automatically determine field from source. Please specify the field name.', 11); + } + return resolvedFields; +}; +var _dtCellSelector = function (out, dt, identifier, allFields, idFn, forceFields) { + if (forceFields === void 0) { forceFields = null; } + var cells = dt.cells(identifier); + cells.indexes().each(function (idx) { + var cell = dt.cell(idx); + var row = dt.row(idx.row); + var data = row.data(); + var idSrc = idFn(data); + var fields = forceFields || _dtFieldsFromIdx(dt, allFields, idx.column, cells.count() > 1); + var isNode = (typeof identifier === 'object' && identifier.nodeName) || identifier instanceof $; + var prevDisplayFields; + var prevAttach; + var prevAttachFields; + // Only add if a field was found to edit + if (Object.keys(fields).length) { + // The row selector will create a new `out` object for the identifier, and the + // cell selector might be called multiple times for a row, so we need to save + // our specific items + if (out[idSrc]) { + prevAttach = out[idSrc].attach; + prevAttachFields = out[idSrc].attachFields; + prevDisplayFields = out[idSrc].displayFields; + } + // Use the row selector to get the row information + _dtRowSelector(out, dt, idx.row, allFields, idFn); + out[idSrc].attachFields = prevAttachFields || []; + out[idSrc].attachFields.push(Object.keys(fields)); + out[idSrc].attach = prevAttach || []; + out[idSrc].attach.push(isNode ? + $(identifier).get(0) : + cell.fixedNode ? // If its under a fixed column, get the floating node + cell.fixedNode() : + cell.node()); + out[idSrc].displayFields = prevDisplayFields || {}; + $.extend(out[idSrc].displayFields, fields); + } + }); +}; +var _dtColumnSelector = function (out, dt, identifier, fields, idFn) { + dt.cells(null, identifier).indexes().each(function (idx) { + _dtCellSelector(out, dt, idx, fields, idFn); + }); +}; +var dataSource$1 = { + commit: function (action, identifier, data, store) { + // Updates complete - redraw + var that = this; + var dt = _dtApi(this.s.table); + var ssp = dt.settings()[0].oFeatures.bServerSide; + var ids = store.rowIds; + // On edit, if there are any rows left in the `store.rowIds`, then they + // were not returned by the server and should be removed (they might not + // meet filtering requirements any more for example) + if (!_dtIsSsp(dt, this) && action === 'edit' && store.rowIds.length) { + var row = void 0; + var compare = function (id) { + return function (rowIdx, rowData, rowNode) { + return id == dataSource$1.id.call(that, rowData); + }; + }; + for (var i = 0, ien = ids.length; i < ien; i++) { + // Find the row to edit - attempt to do an id look up first for speed + try { + row = dt.row(safeQueryId(ids[i])); + } + catch (e) { + row = dt; + } + // If not found, then we need to do it the slow way + if (!row.any()) { + row = dt.row(compare(ids[i])); + } + if (row.any() && !ssp) { + row.remove(); + } + } + } + var drawType = this.s.editOpts.drawType; + if (drawType !== 'none') { + var dtAny = dt; + // SSP highlighting has to go after the draw, but this can't be + // merged with client-side processing highlight as we want that + // to work even when there isn't a draw happening. + if (ssp && ids && ids.length) { + dt.one('draw', function () { + for (var i = 0, ien = ids.length; i < ien; i++) { + var row = dt.row(safeQueryId(ids[i])); + if (row.any()) { + _dtHighlight(row.node()); + } + } + }); + } + dt.draw(drawType); + // Responsive needs to take account of new data column widths + if (dtAny.responsive) { + dtAny.responsive.recalc(); + } + // Rebuild searchpanes + if (typeof dtAny.searchPanes === 'function' && !ssp) { + dtAny.searchPanes.rebuildPane(undefined, true); + } + // Rebuild searchbuilder + if (dtAny.searchBuilder !== undefined && typeof dtAny.searchBuilder.rebuild === 'function' && !ssp) { + dtAny.searchBuilder.rebuild(dtAny.searchBuilder.getDetails()); + } + } + }, + create: function (fields, data) { + var dt = _dtApi(this.s.table); + if (!_dtIsSsp(dt, this)) { + var row = dt.row.add(data); + _dtHighlight(row.node()); + } + }, + edit: function (identifier, fields, data, store) { + var that = this; + var dt = _dtApi(this.s.table); + // No point in doing anything when server-side processing - the commit + // will redraw the table + if (!_dtIsSsp(dt, this) || this.s.editOpts.drawType === 'none') { + // The identifier can select one or more rows, but the data will + // refer to just a single row. We need to determine which row from + // the set is the one to operator on. + var rowId_1 = dataSource$1.id.call(this, data); + var row = void 0; + // Find the row to edit - attempt to do an id look up first for speed + try { + row = dt.row(safeQueryId(rowId_1)); + } + catch (e) { + row = dt; + } + // If not found, then we need to do it the slow way + if (!row.any()) { + row = dt.row(function (rowIdx, rowData, rowNode) { + return rowId_1 == dataSource$1.id.call(that, rowData); + }); + } + if (row.any()) { + // Merge data to allow for a sub-set to be returned + var toSave = extend({}, row.data(), true); + toSave = extend(toSave, data, true); + row.data(toSave); + // Remove the item from the list of indexes now that is has been + // updated + var idx = $.inArray(rowId_1, store.rowIds); + store.rowIds.splice(idx, 1); + } + else { + // If not found, then its a new row (change in pkey possibly) + row = dt.row.add(data); + } + _dtHighlight(row.node()); + } + }, + fakeRow: function (insertPoint) { + var dt = _dtApi(this.s.table); + var tr = $('
        ').appendTo(tr); + var fields = _dtFieldsFromIdx(dt, this.s.fields, visIdx, true); + var settings = dt.settings()[0]; + var className = settings.aoColumns[visIdx].sClass; + if (className) { + td.addClass(className); + } + if (Object.keys(fields).length) { + attachFields.push(Object.keys(fields)); + attach.push(td[0]); + $.extend(displayFields, fields); + } + } + var append = function () { + // Remove the data empty message + if (dt.page.info().recordsDisplay === 0) { + $(tbody).empty(); + } + var action = insertPoint === 'end' + ? 'appendTo' + : 'prependTo'; + tr[action](tbody); + }; + this.__dtFakeRow = tr; + // Insert into the table + append(); + dt.on('draw.dte-createInline', function () { + append(); + }); + return { + 0: { + attach: attach, + attachFields: attachFields, + displayFields: displayFields, + fields: this.s.fields, + type: 'row' + } + }; + }, + fakeRowEnd: function () { + var dt = _dtApi(this.s.table); + dt.off('draw.dte-createInline'); + this.__dtFakeRow.remove(); + this.__dtFakeRow = null; + // Restore data empty row + if (dt.page.info().recordsDisplay === 0) { + dt.draw(false); + } + }, + // get idSrc, fields to edit, data and node for each item + fields: function (identifier) { + var idFn = dataGet(this.s.idSrc); + var dt = _dtApi(this.s.table); + var fields = this.s.fields; + var out = {}; + if ($.isPlainObject(identifier) && + (identifier.rows !== undefined || identifier.columns !== undefined || identifier.cells !== undefined)) { + // Multi-item type selector + if (identifier.rows !== undefined) { + _dtRowSelector(out, dt, identifier.rows, fields, idFn); + } + if (identifier.columns !== undefined) { + _dtColumnSelector(out, dt, identifier.columns, fields, idFn); + } + if (identifier.cells !== undefined) { + _dtCellSelector(out, dt, identifier.cells, fields, idFn); + } + } + else { + // Just a rows selector + _dtRowSelector(out, dt, identifier, fields, idFn); + } + return out; + }, + id: function (data) { + var idFn = dataGet(this.s.idSrc); + return idFn(data); + }, + individual: function (identifier, fieldNames) { + var idFn = dataGet(this.s.idSrc); + var dt = _dtApi(this.s.table); + var fields = this.s.fields; + var out = {}; + var forceFields; + if (fieldNames) { + if (!Array.isArray(fieldNames)) { + fieldNames = [fieldNames]; + } + forceFields = {}; + $.each(fieldNames, function (i, name) { + forceFields[name] = fields[name]; + }); + } + _dtCellSelector(out, dt, identifier, fields, idFn, forceFields); + return out; + }, + prep: function (action, identifier, submit, json, store) { + var _this = this; + // Get the id of the rows created / edited + if (action === 'create') { + store.rowIds = $.map(json.data, function (row) { return dataSource$1.id.call(_this, row); }); + } + if (action === 'edit') { + var cancelled_1 = json.cancelled || []; + store.rowIds = $.map(submit.data, function (val, key) { + return !$.isEmptyObject(submit.data[key]) && // was submitted + $.inArray(key, cancelled_1) === -1 ? // was not cancelled on the server-side + key : + undefined; + }); + } + else if (action === 'remove') { + store.cancelled = json.cancelled || []; + } + }, + refresh: function () { + // Reload a table's data - used when nested data is changed + var dt = _dtApi(this.s.table); + dt.ajax.reload(null, false); + }, + remove: function (identifier, fields, store) { + // No confirmation from the server + var that = this; + var dt = _dtApi(this.s.table); + var cancelled = store.cancelled; + if (cancelled.length === 0) { + // No rows were cancelled on the server-side, remove them all + dt.rows(identifier).remove(); + } + else { + // One or more rows were cancelled, so we need to identify them + // and not remove those rows + var indexes_1 = []; + dt.rows(identifier).every(function () { + var id = dataSource$1.id.call(that, this.data()); + if ($.inArray(id, cancelled) === -1) { + // Don't use `remove` here - it messes up the indexes + indexes_1.push(this.index()); + } + }); + dt.rows(indexes_1).remove(); + } + } +}; + +/* - - - - - - - - + * HTML editor interface + */ +function _htmlId(identifier) { + if (identifier === 'keyless') { + return $(document); + } + var specific = $('[data-editor-id="' + identifier + '"]'); + if (specific.length === 0) { + specific = typeof identifier === 'string' ? + $(safeQueryId(identifier)) : + $(identifier); + } + if (specific.length === 0) { + throw new Error('Could not find an element with `data-editor-id` or `id` of: ' + identifier); + } + return specific; +} +function _htmlEl(identifier, name) { + var context = _htmlId(identifier); + return $('[data-editor-field="' + name + '"]', context); +} +function _htmlEls(identifier, names) { + var out = $(); + for (var i = 0, ien = names.length; i < ien; i++) { + out = out.add(_htmlEl(identifier, names[i])); + } + return out; +} +function _htmlGet(identifier, dataSrc) { + var el = _htmlEl(identifier, dataSrc); + return el.filter('[data-editor-value]').length ? + el.attr('data-editor-value') : + el.html(); +} +function _htmlSet(identifier, fields, data) { + $.each(fields, function (name, field) { + var val = field.valFromData(data); + if (val !== undefined) { + var el = _htmlEl(identifier, field.dataSrc()); + if (el.filter('[data-editor-value]').length) { + el.attr('data-editor-value', val); + } + else { + el.each(function () { + // This is very frustrating, but in IE if you just write directly + // to innerHTML, and elements that are overwritten are GC'ed, + // even if there is a reference to them elsewhere + while (this.childNodes.length) { + this.removeChild(this.firstChild); + } + }) + .html(val); + } + } + }); +} +var dataSource = { + create: function (fields, data) { + // If there is an element with the id that has been created, then use it + // to assign the values + if (data) { + var id = dataSource.id.call(this, data); + try { + if (_htmlId(id).length) { + _htmlSet(id, fields, data); + } + } + catch (e) { + // noop - use `postCreate` to add items to the DOM + } + } + }, + edit: function (identifier, fields, data) { + // Get the ids from the returned data or `keyless` if not found + var id = dataSource.id.call(this, data) || 'keyless'; + _htmlSet(id, fields, data); + }, + // get idSrc, fields to edit, data and node for each item + fields: function (identifier) { + var out = {}; + // Allow multi-point editing + if (Array.isArray(identifier)) { + for (var i = 0, ien = identifier.length; i < ien; i++) { + var res = dataSource.fields.call(this, identifier[i]); + out[identifier[i]] = res[identifier[i]]; + } + return out; + } + // else + var data = {}; + var fields = this.s.fields; + if (!identifier) { + identifier = 'keyless'; + } + $.each(fields, function (name, field) { + var val = _htmlGet(identifier, field.dataSrc()); + // If no HTML element is present, jQuery returns null. We want undefined + field.valToData(data, val === null ? undefined : val); + }); + out[identifier] = { + data: data, + fields: fields, + idSrc: identifier, + node: document, + type: 'row' + }; + return out; + }, + id: function (data) { + var idFn = dataGet(this.s.idSrc); + return idFn(data); + }, + individual: function (identifier, fieldNames) { + var attachEl; + // Auto detection of the field name and id + if (identifier instanceof $ || identifier.nodeName) { + attachEl = identifier; + if (!fieldNames) { + fieldNames = [$(identifier).attr('data-editor-field')]; + } + var back = $.fn.addBack ? 'addBack' : 'andSelf'; + identifier = $(identifier).parents('[data-editor-id]')[back]().data('editor-id'); + } + // no id given and none found + if (!identifier) { + identifier = 'keyless'; + } + // no field name - cannot continue + if (fieldNames && !Array.isArray(fieldNames)) { + fieldNames = [fieldNames]; + } + if (!fieldNames || fieldNames.length === 0) { + throw new Error('Cannot automatically determine field name from data source'); + } + var out = dataSource.fields.call(this, identifier); + var fields = this.s.fields; + var forceFields = {}; + $.each(fieldNames, function (i, name) { + forceFields[name] = fields[name]; + }); + $.each(out, function (id, set) { + set.type = 'cell'; + set.attachFields = [fieldNames]; + set.attach = attachEl ? + $(attachEl) : + _htmlEls(identifier, fieldNames).toArray(); + set.fields = fields; + set.displayFields = forceFields; + }); + return out; + }, + initField: function (cfg) { + // This is before the field has been initialised so can't use it API + var label = $('[data-editor-label="' + (cfg.data || cfg.name) + '"]'); + if (!cfg.label && label.length) { + cfg.label = label.html(); + } + }, + remove: function (identifier, fields) { + // If there is an element with an ID property matching the identifier, + // remove it + if (identifier !== 'keyless') { + _htmlId(identifier).remove(); + } + } +}; + +/** + * Class names that are used by Editor for its various display components. + * A copy of this object is taken when an Editor instance is initialised, thus + * allowing different classes to be used in different instances if required. + * Class name changes can be useful for easy integration with CSS frameworks, + * for example Twitter Bootstrap. + * + * @namespace + */ +var classNames = { + /** + * Action classes - these are added to the Editor base element ("wrapper") + * and allows styling based on the type of form view that is being employed. + * + * @namespace + */ + actions: { + /** + * Editor is in 'create' state + */ + create: 'DTE_Action_Create', + /** + * Editor is in 'edit' state + */ + edit: 'DTE_Action_Edit', + /** + * Editor is in 'remove' state + */ + remove: 'DTE_Action_Remove' + }, + /** + * Display body classes + * + * @namespace + */ + body: { + /** + * Liner for the body content + */ + content: 'DTE_Body_Content', + /** + * Container for the body elements + */ + wrapper: 'DTE_Body' + }, + /** + * Bubble editing classes - these are used to display the bubble editor + * + * @namespace + */ + bubble: { + /** + * Fixed background + */ + bg: 'DTE_Bubble_Background', + /** + * Close button + */ + close: 'icon close', + /** + * Bubble content liner + */ + liner: 'DTE_Bubble_Liner', + /** + * Pointer shown which node is being edited + */ + pointer: 'DTE_Bubble_Triangle', + /** + * Bubble table display wrapper, so the buttons and form can be shown + * as table cells (via css) + */ + table: 'DTE_Bubble_Table', + /** + * Bubble container element + */ + wrapper: 'DTE DTE_Bubble' + }, + /** + * Field classes + * + * @namespace + */ + field: { + /** + * Field is disabled + */ + 'disabled': 'disabled', + /** + * Field error state (added to the field.wrapper element when in error state + */ + 'error': 'DTE_Field_StateError', + /** + * Field input container + */ + 'input': 'DTE_Field_Input', + /** + * Input elements wrapper + */ + 'inputControl': 'DTE_Field_InputControl', + /** + * Field label + */ + 'label': 'DTE_Label', + /** + * Error information text + */ + 'msg-error': 'DTE_Field_Error', + /** + * General information text + */ + 'msg-info': 'DTE_Field_Info', + /** + * Label information text + */ + 'msg-label': 'DTE_Label_Info', + /** + * Live messaging (API) information text + */ + 'msg-message': 'DTE_Field_Message', + /** + * Multi-value information descriptive text + */ + 'multiInfo': 'multi-info', + /** + * Multi-value not editable (field.multiEditable) + */ + 'multiNoEdit': 'multi-noEdit', + /** + * Multi-value information display + */ + 'multiRestore': 'multi-restore', + /** + * Multi-value information display wrapper + */ + 'multiValue': 'multi-value', + /** + * Class prefix for the field name - field name is added to the end allowing + * styling based on field name. + */ + 'namePrefix': 'DTE_Field_Name_', + /** + * Field's processing element + */ + 'processing': 'DTE_Processing_Indicator', + /** + * Class prefix for the field type - field type is added to the end allowing + * styling based on field type. + */ + 'typePrefix': 'DTE_Field_Type_', + /** + * Container for each field + */ + 'wrapper': 'DTE_Field' + }, + /** + * Display footer classes + * + * @namespace + */ + footer: { + /** + * Liner for the footer content + */ + content: 'DTE_Footer_Content', + /** + * Container for the footer elements + */ + wrapper: 'DTE_Footer' + }, + /** + * Form classes + * + * @namespace + */ + form: { + /** + * Button + */ + button: 'btn', + /** + * Button inside the form + */ + buttonInternal: 'btn', + /** + * Buttons container + */ + buttons: 'DTE_Form_Buttons', + /** + * Liner for the form content + */ + content: 'DTE_Form_Content', + /** + * Global error imformation + */ + error: 'DTE_Form_Error', + /** + * Global form information + */ + info: 'DTE_Form_Info', + /** + * Applied to the
        tag + */ + tag: '', + /** + * Container for the form elements + */ + wrapper: 'DTE_Form' + }, + /** + * Display header classes + * + * @namespace + */ + header: { + /** + * Liner for the header content + */ + content: 'DTE_Header_Content', + /** + * Title tag + */ + title: { + tag: null, + class: '' + }, + /** + * Container for the header elements + */ + wrapper: 'DTE_Header' + }, + /** + * Inline editing classes - these are used to display the inline editor + * + * @namespace + */ + inline: { + buttons: 'DTE_Inline_Buttons', + liner: 'DTE_Inline_Field', + wrapper: 'DTE DTE_Inline', + }, + /** + * Processing classes + * + * @namespace + */ + processing: { + /** + * Added to the base element ("wrapper") when the form is "processing" + */ + active: 'processing', + /** + * Processing indicator element + */ + indicator: 'DTE_Processing_Indicator' + }, + /** + * Applied to the base DIV element that contains all other Editor elements + */ + wrapper: 'DTE' +}; + +var displayed$2 = false; +var cssBackgroundOpacity = 1; +var dom$1 = { + background: $('
        ')[0], + close: $('
        ')[0], + content: null, + wrapper: $('
        ' + + '
        ' + + '
        ' + + '
        ')[0] +}; +function findAttachRow(editor, attach) { + var dt = new $.fn.dataTable.Api(editor.s.table); + // Figure out where we want to put the form display + if (attach === 'head') { + return dt.table(undefined).header(); // typing error in DT type file + } + else if (editor.s.action === 'create') { + return dt.table(undefined).header(); + } + else { + return dt.row(editor.s.modifier).node(); + } +} +function heightCalc$1(dte) { + // Set the max-height for the form content + var header = $('div.DTE_Header', dom$1.wrapper).outerHeight(); + var footer = $('div.DTE_Footer', dom$1.wrapper).outerHeight(); + var maxHeight = $(window).height() - (envelope.conf.windowPadding * 2) - + header - footer; + $('div.DTE_Body_Content', dom$1.wrapper).css('maxHeight', maxHeight); + return $(dte.dom.wrapper).outerHeight(); +} +function hide$2(dte, callback) { + if (!callback) { + callback = function () { }; + } + if (displayed$2) { + $(dom$1.content).animate({ + top: -(dom$1.content.offsetHeight + 50) + }, 600, function () { + $([dom$1.wrapper, dom$1.background]).fadeOut('normal', function () { + $(this).detach(); + callback(); + }); + }); + displayed$2 = false; + } +} +function init$1() { + dom$1.content = $('div.DTED_Envelope_Container', dom$1.wrapper)[0]; + cssBackgroundOpacity = $(dom$1.background).css('opacity'); +} +function show$2(dte, callback) { + if (!callback) { + callback = function () { }; + } + $('body') + .append(dom$1.background) + .append(dom$1.wrapper); + // Adjust size for the content + dom$1.content.style.height = 'auto'; + if (!displayed$2) { + var style = dom$1.wrapper.style; + style.opacity = '0'; + style.display = 'block'; + var height = heightCalc$1(dte); + var targetRow = findAttachRow(dte, envelope.conf.attach); + var width = targetRow.offsetWidth; + style.display = 'none'; + style.opacity = '1'; + // Prep the display + dom$1.wrapper.style.width = width + 'px'; + dom$1.wrapper.style.marginLeft = -(width / 2) + 'px'; + dom$1.wrapper.style.top = ($(targetRow).offset().top + targetRow.offsetHeight) + 'px'; + dom$1.content.style.top = ((-1 * height) - 20) + 'px'; + // Start animating in the background + dom$1.background.style.opacity = '0'; + dom$1.background.style.display = 'block'; + $(dom$1.background).animate({ + opacity: cssBackgroundOpacity + }, 'normal'); + // Animate in the display + $(dom$1.wrapper).fadeIn(); + $(dom$1.content).animate({ top: 0 }, 600, callback); + } + // Event handlers + $(dom$1.close) + .attr('title', dte.i18n.close) + .off('click.DTED_Envelope') + .on('click.DTED_Envelope', function (e) { + dte.close(); + }); + $(dom$1.background) + .off('click.DTED_Envelope') + .on('click.DTED_Envelope', function (e) { + dte.background(); + }); + $('div.DTED_Lightbox_Content_Wrapper', dom$1.wrapper) + .off('click.DTED_Envelope') + .on('click.DTED_Envelope', function (e) { + if ($(e.target).hasClass('DTED_Envelope_Content_Wrapper')) { + dte.background(); + } + }); + $(window) + .off('resize.DTED_Envelope') + .on('resize.DTED_Envelope', function () { + heightCalc$1(dte); + }); + displayed$2 = true; +} +var envelope = { + close: function (dte, callback) { + hide$2(dte, callback); + }, + conf: { + attach: 'row', + windowPadding: 50 + }, + destroy: function (dte) { + hide$2(); + }, + init: function (dte) { + init$1(); + return envelope; + }, + node: function (dte) { + return dom$1.wrapper[0]; + }, + open: function (dte, append, callback) { + $(dom$1.content).children().detach(); + dom$1.content.appendChild(append); + dom$1.content.appendChild(dom$1.close); + show$2(dte, callback); + } +}; + +function isMobile() { + return typeof window.orientation !== 'undefined' && window.outerWidth <= 576 + ? true + : false; +} +var displayed$1 = false; +var ready = false; +var scrollTop = 0; +var dom = { + background: $('
        '), + close: $('
        '), + content: null, + wrapper: $('
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ') +}; +function heightCalc() { + var headerFooter = $('div.DTE_Header', dom.wrapper).outerHeight() + + $('div.DTE_Footer', dom.wrapper).outerHeight(); + if (isMobile()) { + $('div.DTE_Body_Content', dom.wrapper).css('maxHeight', 'calc(100vh - ' + headerFooter + 'px)'); + } + else { + // Set the max-height for the form content + var maxHeight = $(window).height() - (self.conf.windowPadding * 2) - headerFooter; + $('div.DTE_Body_Content', dom.wrapper).css('maxHeight', maxHeight); + } +} +function hide$1(dte, callback) { + if (!callback) { + callback = function () { }; + } + // Restore scroll state + $('body').scrollTop(scrollTop); + dte._animate(dom.wrapper, { + opacity: 0, + top: self.conf.offsetAni + }, function () { + $(this).detach(); + callback(); + }); + dte._animate(dom.background, { + opacity: 0 + }, function () { + $(this).detach(); + }); + displayed$1 = false; + $(window).off('resize.DTED_Lightbox'); +} +function init() { + if (ready) { + return; + } + dom.content = $('div.DTED_Lightbox_Content', dom.wrapper); + dom.wrapper.css('opacity', 0); + dom.background.css('opacity', 0); + ready = true; +} +function show$1(dte, callback) { + // Mobiles have very poor position fixed abilities, so we need to know + // when using mobile A media query isn't good enough + if (isMobile()) { + $('body').addClass('DTED_Lightbox_Mobile'); + } + $('body') + .append(dom.background) + .append(dom.wrapper); + heightCalc(); + if (!displayed$1) { + displayed$1 = true; + dom.content.css('height', 'auto'); + dom.wrapper.css({ + top: -self.conf.offsetAni + }); + dte._animate(dom.wrapper, { + opacity: 1, + top: 0 + }, callback); + dte._animate(dom.background, { + opacity: 1 + }); + $(window).on('resize.DTED_Lightbox', function () { + heightCalc(); + }); + scrollTop = $('body').scrollTop(); + } + // Event handlers - assign on show, premoving previous bindings + dom.close + .attr('title', dte.i18n.close) + .off('click.DTED_Lightbox') + .on('click.DTED_Lightbox', function (e) { + dte.close(); + }); + dom.background + .off('click.DTED_Lightbox') + .on('click.DTED_Lightbox', function (e) { + e.stopImmediatePropagation(); + dte.background(); + }); + $('div.DTED_Lightbox_Content_Wrapper', dom.wrapper) + .off('click.DTED_Lightbox') + .on('click.DTED_Lightbox', function (e) { + if ($(e.target).hasClass('DTED_Lightbox_Content_Wrapper')) { + e.stopImmediatePropagation(); + dte.background(); + } + }); +} +var self = { + close: function (dte, callback) { + hide$1(dte, callback); + }, + conf: { + offsetAni: 25, + windowPadding: 25 + }, + destroy: function (dte) { + if (displayed$1) { + hide$1(dte); + } + }, + init: function (dte) { + init(); + return self; + }, + node: function (dte) { + return dom.wrapper[0]; + }, + open: function (dte, append, callback) { + var content = dom.content; + content.children().detach(); + content + .append(append) + .append(dom.close); + show$1(dte, callback); + }, +}; + +var DataTable$5 = $.fn.dataTable; +/** + * Add a new field to the from. This is the method that is called automatically when + * fields are given in the initialisation objects as `Editor.defaults.fields`. + * + * @param this Editor instance + * @param cfg The object that describes the field (the full + * object is described by `Editor.model.field`. Note that multiple + * fields can be given by passing in an array of field definitions. + * @param after Existing field to insert the new field after. This + * can be `undefined` (insert at end), `null` (insert at start) or `string` + * the field name to insert after. + * @param reorder INTERNAL for array adding performance only + * @returns Editor instance + */ +function add(cfg, after, reorder) { + if (reorder === void 0) { reorder = true; } + // Allow multiple fields to be added at the same time + if (Array.isArray(cfg)) { + // Do it in reverse to allow fields to appear in the same order given, otherwise, + // the would appear in reverse if given an `after` + if (after !== undefined) { + cfg.reverse(); + } + for (var _i = 0, cfg_1 = cfg; _i < cfg_1.length; _i++) { + var cfgDp = cfg_1[_i]; + this.add(cfgDp, after, false); + } + this._displayReorder(this.order()); + return this; + } + var name = cfg.name; + if (name === undefined) { + throw new Error('Error adding field. The field requires a `name` option'); + } + if (this.s.fields[name]) { + throw new Error('Error adding field \'' + name + '\'. A field already exists with this name'); + } + // Allow the data source to add / modify the field properties + // Dev: would this be better as an event `preAddField`? And have the + // data sources init only once, but can listen for such events? More + // complexity, but probably more flexible... + this._dataSource('initField', cfg); + var editorField = new Editor.Field(cfg, this.classes.field, this); + // If in an editing mode, we need to set the field up for the data + if (this.s.mode) { + var editFields = this.s.editFields; + editorField.multiReset(); + $.each(editFields, function (idSrc, editIn) { + var value; + if (editIn.data) { + value = editorField.valFromData(editIn.data); + } + editorField.multiSet(idSrc, value !== undefined ? + value : + editorField.def()); + }); + } + this.s.fields[name] = editorField; + if (after === undefined) { + this.s.order.push(name); + } + else if (after === null) { + this.s.order.unshift(name); + } + else { + var idx = $.inArray(after, this.s.order); + this.s.order.splice(idx + 1, 0, name); + } + if (reorder !== false) { + this._displayReorder(this.order()); + } + return this; +} +function ajax(newAjax) { + if (newAjax) { + this.s.ajax = newAjax; + return this; + } + return this.s.ajax; +} +/** + * Perform background activation tasks. + * + * This is NOT publicly documented on the Editor web-site, but rather can be + * used by display controller plug-ins to perform the required task on + * background activation. + * + * @param this Editor instance + * @returns Editor instance + */ +function background() { + var onBackground = this.s.editOpts.onBackground; + if (typeof onBackground === 'function') { + onBackground(this); + } + else if (onBackground === 'blur') { + this.blur(); + } + else if (onBackground === 'close') { + this.close(); + } + else if (onBackground === 'submit') { + this.submit(); + } + return this; +} +/** + * Blur the currently displayed editor. + * + * A blur is different from a `close()` in that it might cause either a close or + * the form to be submitted. A typical example of a blur would be clicking on + * the background of the bubble or main editing forms - i.e. it might be a + * close, or it might submit depending upon the configuration, while a click on + * the close box is a very definite close. + * + * @returns Editor instance + */ +function blur() { + this._blur(); + return this; +} +function bubble(cells, fieldNames, showIn, opts) { + var _this = this; + if (showIn === void 0) { showIn = true; } + var that = this; + // Some other field in inline edit mode? + if (this._tidy(function () { + that.bubble(cells, fieldNames, opts); + })) { + return this; + } + // Argument shifting + if ($.isPlainObject(fieldNames)) { + opts = fieldNames; + fieldNames = undefined; + showIn = true; + } + else if (typeof fieldNames === 'boolean') { + showIn = fieldNames; + fieldNames = undefined; + opts = undefined; + } + if ($.isPlainObject(showIn)) { + opts = showIn; + showIn = true; + } + if (showIn === undefined) { + showIn = true; + } + opts = $.extend({}, this.s.formOptions.bubble, opts); + var editFields = this._dataSource('individual', cells, fieldNames); + this._edit(cells, editFields, 'bubble', opts, function () { + var namespace = _this._formOptions(opts); + var ret = _this._preopen('bubble'); + if (!ret) { + return _this; + } + // Keep the bubble in position on resize + $(window).on('resize.' + namespace + ' scroll.' + namespace, function () { + _this.bubblePosition(); + }); + // Store the nodes this are being used so the bubble can be positioned + var nodes = []; + _this.s.bubbleNodes = nodes.concat.apply(nodes, pluck(editFields, 'attach')); + // Create container display + var classes = _this.classes.bubble; + var backgroundNode = $('
        '); + var container = $('
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        '); + if (showIn) { + container.appendTo('body'); + backgroundNode.appendTo('body'); + } + var liner = container.children().eq(0); + var tableNode = liner.children(); + var closeNode = tableNode.children(); + liner.append(_this.dom.formError); + tableNode.prepend(_this.dom.form); + if (opts.message) { + liner.prepend(_this.dom.formInfo); + } + if (opts.title) { + liner.prepend(_this.dom.header); + } + if (opts.buttons) { + tableNode.append(_this.dom.buttons); + } + // Need to use a small anon function here as the animate callback is the scope + // of the element being animated and TS won't allow access to the private methods + var finish = function () { + _this._clearDynamicInfo(); + _this._event('closed', ['bubble']); + }; + var pair = $().add(container).add(backgroundNode); + _this._closeReg(function (submitComplete) { + _this._animate(pair, { opacity: 0 }, function () { + if (this === container[0]) { + pair.detach(); + $(window).off('resize.' + namespace + ' scroll.' + namespace); + finish(); + } + }); + }); + // Close event handlers + backgroundNode.on('click', function () { + _this.blur(); + }); + closeNode.on('click', function () { + _this._close(); + }); + _this.bubblePosition(); + _this._postopen('bubble', false); + var opened = function () { + _this._focus(_this.s.includeFields, opts.focus); + _this._event('opened', ['bubble', _this.s.action]); + }; + _this._animate(pair, { opacity: 1 }, function () { + // Otherwise the callback will happen on both elements + if (this === container[0]) { + opened(); + } + }); + }); + return this; +} +/** + * Reposition the editing bubble (`bubble()`) when it is visible. This can be + * used to update the bubble position if other elements on the page change + * position. Editor will automatically call this method on window resize. + * + * @returns Editor instance + */ +function bubblePosition() { + var wrapper = $('div.DTE_Bubble'); + var liner = $('div.DTE_Bubble_Liner'); + var nodes = this.s.bubbleNodes; + // Average the node positions to insert the container + var position = { bottom: 0, left: 0, right: 0, top: 0 }; + $.each(nodes, function (i, nodeIn) { + var pos = $(nodeIn).offset(); + nodeIn = $(nodeIn).get(0); + position.top += pos.top; + position.left += pos.left; + position.right += pos.left + nodeIn.offsetWidth; + position.bottom += pos.top + nodeIn.offsetHeight; + }); + position.top /= nodes.length; + position.left /= nodes.length; + position.right /= nodes.length; + position.bottom /= nodes.length; + var top = position.top; + var left = (position.left + position.right) / 2; + var width = liner.outerWidth(); + var height = liner.outerHeight(); + var visLeft = left - (width / 2); + var visRight = visLeft + width; + var docWidth = $(window).width(); + var viewportTop = $(window).scrollTop(); + var padding = 15; + // Show above or below depending on bubbleBottom + wrapper.css({ + left: left, + top: this.s.bubbleBottom ? position.bottom : top + }); + if (this.s.bubbleBottom) { + wrapper.addClass('below'); + } + var curPosition = wrapper.position(); + // Correct for overflow below the fold + if (liner.length && curPosition.top + height > viewportTop + window.innerHeight) { + wrapper + .css('top', top) + .removeClass('below'); + this.s.bubbleBottom = false; + } + else if (liner.length && curPosition.top - height < viewportTop) { + // Correct for overflow from the top of the document by positioning below + // the field if needed + wrapper + .css('top', position.bottom) + .addClass('below'); + this.s.bubbleBottom = true; + } + // Attempt to correct for overflow to the right of the document + if (visRight + padding > docWidth) { + var diff = visRight - docWidth; + // If left overflowing, that takes priority + liner.css('left', visLeft < padding ? + -(visLeft - padding) : + -(diff + padding)); + } + else { + // Correct overflow to the left + liner.css('left', visLeft < padding ? -(visLeft - padding) : 0); + } + return this; +} +/** + * Setup the buttons that will be shown in the footer of the form - calling this + * method will replace any buttons which are currently shown in the form. + * + * @param this Editor instance + * @param buttonsIn A single button definition to add to the form or + * an array of objects with the button definitions to add more than one button. + * The options for the button definitions are fully defined by the + * @returns Editor instance + */ +function buttons(buttonsIn) { + var _this = this; + if (buttonsIn === '_basic') { + // Special string to create a basic button - undocumented + buttonsIn = [{ + action: function () { + this.submit(); + }, + text: this.i18n[this.s.action].submit + }]; + } + else if (!Array.isArray(buttonsIn)) { + // Allow a single button to be passed in as an object with an array + buttonsIn = [buttonsIn]; + } + $(this.dom.buttons).empty(); + $.each(buttonsIn, function (i, btn) { + if (typeof btn === 'string') { + btn = { + action: function () { + this.submit(); + }, + text: btn + }; + } + var text = btn.text || btn.label; // legacy support + var action = btn.action || btn.fn; // legacy support + var attr = btn.attr || {}; + $('', { + class: _this.classes.form.button + (btn.className ? ' ' + btn.className : '') + }) + .html(typeof text === 'function' ? + text(_this) : + text || '') + .attr('tabindex', btn.tabIndex !== undefined ? btn.tabIndex : 0) + .attr(attr) + .on('keyup', function (e) { + if (e.which === 13 && action) { + action.call(_this); + } + }) + .on('keypress', function (e) { + // Stop the browser activating the click event - if we don't + // have this and the Ajax return is fast, the keyup in + // `_formOptions()` might trigger another submit + if (e.which === 13) { + e.preventDefault(); + } + }) + .on('click', function (e) { + e.preventDefault(); + if (action) { + action.call(_this, e); + } + }) + .appendTo(_this.dom.buttons); + }); + return this; +} +/** + * Remove fields from the form. + * + * @param this Editor instance + * @param fieldName Field to remove + * @returns Editor instance + */ +function clear(fieldName) { + var that = this; + var sFields = this.s.fields; + if (typeof fieldName === 'string') { + // Remove an individual form element + that.field(fieldName).destroy(); + delete sFields[fieldName]; + var orderIdx = $.inArray(fieldName, this.s.order); + this.s.order.splice(orderIdx, 1); + var includeIdx = $.inArray(fieldName, this.s.includeFields); + if (includeIdx !== -1) { + this.s.includeFields.splice(includeIdx, 1); + } + } + else { + $.each(this._fieldNames(fieldName), function (i, name) { + that.clear(name); + }); + } + return this; +} +/** + * Close the form display. + * + * @param this Editor instance + * @returns Editor instance + */ +function close() { + this._close(false); + return this; +} +function create(arg1, arg2, arg3, arg4) { + var _this = this; + var that = this; + var sFields = this.s.fields; + var count = 1; + // Some other field in inline edit mode? + if (this._tidy(function () { + that.create(arg1, arg2, arg3, arg4); + })) { + return this; + } + // Multi-row creation support (only supported by the 1.3+ style of calling + // this method, so a max of three arguments + if (typeof arg1 === 'number') { + count = arg1; + arg1 = arg2; + arg2 = arg3; + } + // Set up the edit fields for submission + this.s.editFields = {}; + for (var i = 0; i < count; i++) { + this.s.editFields[i] = { + fields: this.s.fields + }; + } + var argOpts = this._crudArgs(arg1, arg2, arg3, arg4); + this.s.mode = 'main'; + this.s.action = 'create'; + this.s.modifier = null; + this.dom.form.style.display = 'block'; + this._actionClass(); + // Allow all fields to be displayed for the create form + this._displayReorder(this.fields()); + // Set the default for the fields + $.each(sFields, function (name, fieldIn) { + var def = fieldIn.def(); + fieldIn.multiReset(); + // Set a value marker for each multi, so the field + // knows what the id's are (ints in this case) + for (var i = 0; i < count; i++) { + fieldIn.multiSet(i, def); + } + fieldIn.set(def); + }); + this._event('initCreate', null, function () { + _this._assembleMain(); + _this._formOptions(argOpts.opts); + argOpts.maybeOpen(); + }); + return this; +} +/** + * Remove dependent links from a field + * + * @param this Editor instance + * @param parent The name of the field to remove the existing dependencies + * @returns Editor instance + */ +function undependent(parent) { + if (Array.isArray(parent)) { + for (var i = 0, ien = parent.length; i < ien; i++) { + this.undependent(parent[i]); + } + return this; + } + $(this.field(parent).node()).off('.edep'); + return this; +} +/** + * Create a dependent link between two or more fields. This method is used to + * listen for a change in a field's value which will trigger updating of the + * form. This update can consist of updating an options list, changing values + * or making fields hidden / visible. + * + * @param this Editor instance + * @param parent Field(s) to attach a dependency to + * @param url Action to perform on data change + * @param optsIn Configuration options + * @returns Editor instance + */ +function dependent(parent, url, optsIn) { + var _this = this; + if (Array.isArray(parent)) { + for (var i = 0, ien = parent.length; i < ien; i++) { + this.dependent(parent[i], url, optsIn); + } + return this; + } + var that = this; + var parentField = this.field(parent); + var ajaxOpts = { + dataType: 'json', + type: 'POST' + }; + var opts = $.extend({}, { + data: null, + event: 'change', + postUpdate: null, + preUpdate: null + }, optsIn); + var update = function (json) { + if (opts.preUpdate) { + opts.preUpdate(json); + } + // Field specific + $.each({ + errors: 'error', + labels: 'label', + messages: 'message', + options: 'update', + values: 'val' + }, function (jsonProp, fieldFn) { + if (json[jsonProp]) { + $.each(json[jsonProp], function (fieldIn, valIn) { + that.field(fieldIn)[fieldFn](valIn); + }); + } + }); + // Form level + $.each(['hide', 'show', 'enable', 'disable'], function (i, key) { + if (json[key]) { + that[key](json[key], json.animate); + } + }); + if (opts.postUpdate) { + opts.postUpdate(json); + } + parentField.processing(false); + }; + // Use a delegate handler to account for field elements which are added and + // removed after `depenedent` has been called + $(parentField.node()).on(opts.event + '.edep', function (e) { + // Make sure that it was one of the field's elements that triggered the ev + if ($(parentField.node()).find(e.target).length === 0) { + return; + } + parentField.processing(true); + var data = {}; + data.rows = _this.s.editFields ? + pluck(_this.s.editFields, 'data') : + null; + data.row = data.rows ? + data.rows[0] : + null; + data.values = _this.val(); + if (opts.data) { + var ret = opts.data(data); + if (ret) { + data = ret; + } + } + if (typeof url === 'function') { + var o = url.call(_this, parentField.val(), data, update, e); + if (o) { + if (typeof o === 'object' && typeof o.then === 'function') { + o.then(function (resolved) { + if (resolved) { + update(resolved); + } + }); + } + else { + update(o); + } + } + } + else { + if ($.isPlainObject(url)) { + $.extend(ajaxOpts, url); + } + else { + ajaxOpts.url = url; + } + $.ajax($.extend(ajaxOpts, { + data: data, + success: update + })); + } + }); + return this; +} +/** + * Destroy the Editor instance, cleaning up fields, display and event handlers + */ +function destroy() { + if (this.s.displayed) { + this.close(); + } + this.clear(); + // Stick the template back into the document so it can be reused + if (this.s.template) { + $('body').append(this.s.template); + } + var controller = this.s.displayController; + if (controller.destroy) { + controller.destroy(this); + } + $(document).off('.dte' + this.s.unique); + this.dom = null; + this.s = null; +} +/** + * Disable one or more field inputs, disallowing subsequent user interaction with the + * fields until they are re-enabled. + * + * @param this Editor instance + * @param name Field(s) to disable. Disables all if not given. + * @returns Editor instance + */ +function disable(name) { + var that = this; + $.each(this._fieldNames(name), function (i, n) { + that.field(n).disable(); + }); + return this; +} +function display(showIn) { + if (showIn === undefined) { + return this.s.displayed; + } + return this[showIn ? 'open' : 'close'](); +} +/** + * Get a list of the fields that are currently shown in the Editor form. + * + * @param this Editor instance + * @returns Array of field names + */ +function displayed() { + return $.map(this.s.fields, function (fieldIn, name) { + return fieldIn.displayed() ? name : null; + }); +} +/** + * Get display controller node + * + * @returns Display controller host element + */ +function displayNode() { + return this.s.displayController.node(this); +} +function edit(items, arg1, arg2, arg3, arg4) { + var _this = this; + var that = this; + // Some other field in inline edit mode? + if (this._tidy(function () { + that.edit(items, arg1, arg2, arg3, arg4); + })) { + return this; + } + var argOpts = this._crudArgs(arg1, arg2, arg3, arg4); + this._edit(items, this._dataSource('fields', items), 'main', argOpts.opts, function () { + _this._assembleMain(); + _this._formOptions(argOpts.opts); + argOpts.maybeOpen(); + }); + return this; +} +/** + * Enable one or more field inputs, restoring user interaction with the fields. + * + * @param this Editor instance + * @param name Field(s) to enable. If not given, all fields in the form are enabled + * @returns Editor instance + */ +function enable(name) { + var that = this; + $.each(this._fieldNames(name), function (i, n) { + that.field(n).enable(); + }); + return this; +} +function error$1(name, msg) { + var wrapper = $(this.dom.wrapper); + if (msg === undefined) { + // Global error + this._message(this.dom.formError, name, true, function () { + wrapper.toggleClass('inFormError', name !== undefined && name !== ''); + }); + // Store the error message so `inError` can check if there is an + // error or not without considering animation + this.s.globalError = name; + } + else { + // Field error + this.field(name).error(msg); + } + return this; +} +/** + * Get a field object, configured for a named field, which can then be + * manipulated through its API. + * + * @param this Editor instance + * @param name Field to get + * @returns Field instance + */ +function field(name) { + var sFields = this.s.fields; + if (!sFields[name]) { + throw new Error('Unknown field name - ' + name); + } + return sFields[name]; +} +/** + * Get a list of the fields that are used by the Editor instance. + * + * @param this Editor instance + * @returns Editor instance + */ +function fields() { + return $.map(this.s.fields, function (fieldIn, name) { + return name; + }); +} +/** + * Get data object for a file from a table and id + * + * @param name Table name + * @param id Primary key identifier + * @returns File information + */ +function file(name, id) { + var tableFromFile = this.files(name); // can throw. `this` will be Editor or + var fileFromTable = tableFromFile[id]; // DataTables.Api context. Both work. + if (!fileFromTable) { + throw new Error('Unknown file id ' + id + ' in table ' + name); + } + return tableFromFile[id]; +} +function files(name) { + if (!name) { + return Editor.files; + } + var editorTable = Editor.files[name]; + if (!editorTable) { + throw new Error('Unknown file table name: ' + name); + } + return editorTable; +} +function get(name) { + var that = this; + if (!name) { + name = this.fields(); + } + if (Array.isArray(name)) { + var out_1 = {}; + $.each(name, function (i, n) { + out_1[n] = that.field(n).get(); + }); + return out_1; + } + return this.field(name).get(); +} +/** + * Hide one or more fields from the form display. + * + * @param this Editor instance + * @param names Fields to hide. Will hide all if not given + * @param animate Animate (default true) + * @returns Editor instance + */ +function hide(names, animate) { + var that = this; + $.each(this._fieldNames(names), function (i, n) { + that.field(n).hide(animate); + }); + return this; +} +/** + * Get the ids of the rows being edited + * + * @param includeHash Include a prefixed `#`, useful if to be used as a selector + */ +function ids(includeHash) { + if (includeHash === void 0) { includeHash = false; } + return $.map(this.s.editFields, function (editIn, idSrc) { + return includeHash === true ? + '#' + idSrc : + idSrc; + }); +} +/** + * Determine if there is an error state in the form, either the form's global + * error message, or one or more fields. + * + * @param this Editor instance + * @param inNames Fields to check. All checked if not given + * @returns true if in error, false otherwise + */ +function inError(inNames) { + $(this.dom.formError); + // Is there a global error? + if (this.s.globalError) { + return true; + } + // Field specific + var names = this._fieldNames(inNames); + for (var i = 0, ien = names.length; i < ien; i++) { + if (this.field(names[i]).inError()) { + return true; + } + } + return false; +} +function inline(cell, fieldName, opts) { + var _this = this; + var that = this; + // Argument shifting + if ($.isPlainObject(fieldName)) { + opts = fieldName; + fieldName = undefined; + } + opts = $.extend({}, this.s.formOptions.inline, opts); + var editFields = this._dataSource('individual', cell, fieldName); + var keys = Object.keys(editFields); + // Only a single row + if (keys.length > 1) { + throw new Error('Cannot edit more than one row inline at a time'); + } + var editRow = editFields[keys[0]]; + // Remap so easier to use + var hosts = []; + for (var _i = 0, _a = editRow.attach; _i < _a.length; _i++) { + var row = _a[_i]; + hosts.push(row); + } + // Already in edit mode for this cell? + if ($('div.DTE_Field', hosts).length) { + return this; + } + // Some other field in inline edit mode? + if (this._tidy(function () { + that.inline(cell, fieldName, opts); + })) { + return this; + } + // Start a full row edit, but don't display - we will be showing the field + this._edit(cell, editFields, 'inline', opts, function () { + _this._inline(editFields, opts); + }); + return this; +} +/** + * Inline creation of data. + * + * @param this Editor instance + * @param insertPoint Where to insert the create row + * @param opts Form options + * @returns Editor instance + */ +function inlineCreate(insertPoint, opts) { + var _this = this; + // Argument juggling - allow no insert point, just options + if ($.isPlainObject(insertPoint)) { + opts = insertPoint; + insertPoint = null; + } + if (this._tidy(function () { + _this.inlineCreate(insertPoint, opts); + })) { + return this; + } + // Set the default for the fields + $.each(this.s.fields, function (name, fieldIn) { + fieldIn.multiReset(); + fieldIn.multiSet(0, fieldIn.def()); + fieldIn.set(fieldIn.def()); + }); + this.s.mode = 'main'; + this.s.action = 'create'; + this.s.modifier = null; + this.s.editFields = this._dataSource('fakeRow', insertPoint); + opts = $.extend({}, this.s.formOptions.inline, opts); + this._actionClass(); + this._inline(this.s.editFields, opts, function () { + // When the form is closed (cancelled or submitted) we need to remove the + // fake row + _this._dataSource('fakeRowEnd'); + }); + this._event('initCreate', null); + return this; +} +function message(name, msg) { + if (msg === undefined) { + // Global message + this._message(this.dom.formInfo, name); + } + else { + // Field message + this.field(name).message(msg); + } + return this; +} +function mode(modeIn) { + if (!modeIn) { + return this.s.action; + } + if (!this.s.action) { + throw new Error('Not currently in an editing mode'); + } + else if (this.s.action === 'create' && modeIn !== 'create') { + throw new Error('Changing from create mode is not supported'); + } + this.s.action = modeIn; + return this; +} +/** + * Get the modifier that was used to trigger the edit or delete action. + * + * @returns The identifier that was used for the editing / remove method + * called. + */ +function modifier() { + return this.s.modifier; +} +/** + * Get the values for one or more fields (multi-row editing aware). + * + * @param this Editor instance + * @param fieldNames Fields to get values for, or all fields if not given + * @returns Editor instance + */ +function multiGet(fieldNames) { + var that = this; + if (fieldNames === undefined) { + fieldNames = this.fields(); + } + if (Array.isArray(fieldNames)) { + var out_2 = {}; + $.each(fieldNames, function (i, name) { + out_2[name] = that.field(name).multiGet(); + }); + return out_2; + } + // String + return this.field(fieldNames).multiGet(); +} +function multiSet(fieldNames, valIn) { + var that = this; + if ($.isPlainObject(fieldNames) && valIn === undefined) { + $.each(fieldNames, function (name, value) { + that.field(name).multiSet(value); + }); + } + else { + this.field(fieldNames).multiSet(valIn); + } + return this; +} +function node(name) { + var that = this; + if (!name) { + name = this.order(); + } + return Array.isArray(name) ? + $.map(name, function (n) { + return that.field(n).node(); + }) : + this.field(name).node(); +} +/** + * Remove a bound event listener to the editor instance. + * + * @param this Editor instance + * @param name Event name to remove + * @param fn Handler to remove, or all if not specified + * @returns Editor instance + */ +function off(name, fn) { + $(this).off(this._eventName(name), fn); + return this; +} +/** + * Listen for an event which is fired off by Editor when it performs certain + * actions. + * + * @param this Editor instance + * @param name Event to listen for + * @param fn Event handler to apply + * @returns Editor instance + */ +function on(name, fn) { + $(this).on(this._eventName(name), fn); + return this; +} +/** + * Listen for a single event event which is fired off by Editor when it performs + * certain actions + * + * @param this Editor instance + * @param name Event to listen for + * @param fn Event handler to apply + * @returns Editor instance + */ +function one(name, fn) { + $(this).one(this._eventName(name), fn); + return this; +} +/** + * Display the main form editor to the end user in the web-browser. + * + * @param this Editor instance + * @returns Editor instance + */ +function open() { + var _this = this; + // Insert the display elements in order + this._displayReorder(); + // Define how to do a close + this._closeReg(function () { + _this._nestedClose(function () { + _this._clearDynamicInfo(); + _this._event('closed', ['main']); + }); + }); + // Run the standard open with common events + var ret = this._preopen('main'); + if (!ret) { + return this; + } + this._nestedOpen(function () { + _this._focus($.map(_this.s.order, function (name) { return _this.s.fields[name]; }), _this.s.editOpts.focus); + _this._event('opened', ['main', _this.s.action]); + }, this.s.editOpts.nest); + this._postopen('main', false); + return this; +} +function order(setIn /* , ... */) { + if (!setIn) { + return this.s.order; + } + // Allow new layout to be passed in as arguments + if (arguments.length && !Array.isArray(setIn)) { + setIn = Array.prototype.slice.call(arguments); + } + // Sanity check - array must exactly match the fields we have available + if (this.s.order.slice().sort().join('-') !== setIn.slice().sort().join('-')) { + throw new Error('All fields, and no additional fields, must be provided for ordering.'); + } + // Copy the new array into the order (so the reference is maintained) + $.extend(this.s.order, setIn); + this._displayReorder(); + return this; +} +function remove(items, arg1, arg2, arg3, arg4) { + var _this = this; + var that = this; + // Some other field in inline edit mode? + if (this._tidy(function () { + that.remove(items, arg1, arg2, arg3, arg4); + })) { + return this; + } + if (!items && !this.s.table) { + items = 'keyless'; + } + // Allow a single row node to be passed in to remove, Can't use Array.isArray + // as we also allow array like objects to be passed in (API, jQuery) + if (items.length === undefined) { + items = [items]; + } + var argOpts = this._crudArgs(arg1, arg2, arg3, arg4); + var editFields = this._dataSource('fields', items); + this.s.action = 'remove'; + this.s.modifier = items; + this.s.editFields = editFields; + this.dom.form.style.display = 'none'; + this._actionClass(); + this._event('initRemove', [ + pluck(editFields, 'node'), + pluck(editFields, 'data'), + items + ], function () { + _this._event('initMultiRemove', // undocumented and to be removed in v2 + [editFields, items], function () { + _this._assembleMain(); + _this._formOptions(argOpts.opts); + argOpts.maybeOpen(); + var opts = _this.s.editOpts; + if (opts.focus !== null) { + $('button', _this.dom.buttons).eq(opts.focus).focus(); + } + }); + }); + return this; +} +function set(setIn, valIn) { + var that = this; + if (!$.isPlainObject(setIn)) { + var o = {}; + o[setIn] = valIn; + setIn = o; + } + $.each(setIn, function (n, v) { + that.field(n).set(v); + }); + return this; +} +/** + * Show fields in the display that were previously hidden. + * + * @param this Editor instance + * @param names Field(s) to show. All if not given. + * @param animate Animate the visual change or not + * @returns Editor instance + */ +function show(names, animate) { + var that = this; + $.each(this._fieldNames(names), function (i, n) { + that.field(n).show(animate); + }); + return this; +} +/** + * Submit a form for processing. + * + * @param this Editor instance + * @param successCallback Function executed when submit is completed + * @param errorCallback Function executed on error + * @param formatdata Data formatting function + * @param hideIn Disable default close action by passing in false + * @returns Editor instance + */ +function submit(successCallback, errorCallback, formatdata, hideIn) { + var _this = this; + var fields = this.s.fields; + var errorFields = []; + var errorReady = 0; + var sent = false; + if (this.s.processing || !this.s.action) { + return this; + } + this._processing(true); + // If there are fields in error, we want to wait for the error notification + // to be cleared before the form is submitted - errorFields tracks the + // fields which are in the error state, while errorReady tracks those which + // are ready to submit + var send = function () { + if (errorFields.length !== errorReady || sent) { + return; + } + _this._event('initSubmit', [_this.s.action], function (result) { + if (result === false) { + _this._processing(false); + return; + } + sent = true; + _this._submit(successCallback, errorCallback, formatdata, hideIn); + }); + }; + // Blur the current focus if it is a form input element - this allows any + // actions on change event (e.g. dpendent) to happen + var active = document.activeElement; + if ($(active).closest('div.DTE_Field').length !== 0) { + active.blur(); + } + // Remove the global error (don't know if the form is still in an error + // state!) + this.error(); + // Count how many fields are in error + $.each(fields, function (name, fieldIn) { + if (fieldIn.inError()) { + errorFields.push(name); + } + }); + // Remove the error display + $.each(errorFields, function (i, name) { + fields[name].error('', function () { + errorReady++; + send(); + }); + }); + send(); + return this; +} +function table(setIn) { + if (setIn === undefined) { + return this.s.table; + } + this.s.table = setIn; + return this; +} +function template(setIn) { + if (setIn === undefined) { + return this.s.template; + } + this.s.template = setIn === null ? + null : + $(setIn); + return this; +} +function title(titleIn) { + var header = $(this.dom.header).children('div.' + this.classes.header.content); + var titleClass = this.classes.header.title; + if (titleIn === undefined) { + return header.data('title'); + } + if (typeof titleIn === 'function') { + titleIn = titleIn(this, new DataTable$5.Api(this.s.table)); + } + var set = titleClass.tag + ? $("<" + titleClass.tag + ">Uploading file'); + reader.onload = function (e) { + var data = new FormData(); + var ajax; + data.append('action', 'upload'); + data.append('uploadField', conf.name); + data.append('upload', files[counter]); + if (conf.ajaxData) { + conf.ajaxData(data, files[counter], counter); + } + if (conf.ajax) { + ajax = conf.ajax; + } + else if ($.isPlainObject(editor.s.ajax)) { + ajax = editor.s.ajax.upload ? + editor.s.ajax.upload : + editor.s.ajax; + } + else if (typeof editor.s.ajax === 'string') { + ajax = editor.s.ajax; + } + if (!ajax) { + throw new Error('No Ajax option specified for upload plug-in'); + } + if (typeof ajax === 'string') { + ajax = { url: ajax }; + } + // Handle the case when the ajax data is given as a function + if (typeof ajax.data === 'function') { + var d = {}; + var ret = ajax.data(d); + // Allow the return to be used, or the object passed in + if (ret !== undefined && typeof ret !== 'string') { + d = ret; + } + $.each(d, function (key, value) { + data.append(key, value); + }); + } + else if ($.isPlainObject(ajax.data)) { + throw new Error('Upload feature cannot use `ajax.data` with an object. Please use it as a function instead.'); + } + // Dev cancellable event + editor._event('preUpload', [conf.name, files[counter], data], function (preRet) { + // Upload was cancelled + if (preRet === false) { + // If there are other files still to read, spin through them + if (counter < files.length - 1) { + counter++; + reader.readAsDataURL(files[counter]); + } + else { + completeCallback.call(editor, ids); + } + return; + } + // Use preSubmit to stop form submission during an upload, since the + // value won't be known until that point. + var submit = false; + editor + .on('preSubmit.DTE_Upload', function () { + submit = true; + return false; + }); + $.ajax($.extend({}, ajax, { + contentType: false, + data: data, + dataType: 'json', + error: function (xhr) { + var errors = conf.errors; + editor.off('preSubmit.DTE_Upload'); + editor.error(conf.name, errors && errors[xhr.status] + ? errors[xhr.status] + : generalError); + editor._event('uploadXhrError', [conf.name, xhr]); + progressCallback(conf); + }, + processData: false, + success: function (json) { + editor.off('preSubmit.DTE_Upload'); + editor._event('uploadXhrSuccess', [conf.name, json]); + if (json.fieldErrors && json.fieldErrors.length) { + var errors = json.fieldErrors; + for (var i = 0, ien = errors.length; i < ien; i++) { + editor.error(errors[i].name, errors[i].status); + } + completeCallback.call(editor, ids, true); + } + else if (json.error) { + editor.error(json.error); + completeCallback.call(editor, ids, true); + } + else if (!json.upload || !json.upload.id) { + editor.error(conf.name, generalError); + completeCallback.call(editor, ids, true); + } + else { + if (json.files) { + // Loop over the tables that are defined + $.each(json.files, function (table, filesIn) { + if (!Editor.files[table]) { + Editor.files[table] = {}; + } + $.extend(Editor.files[table], filesIn); + }); + } + ids.push(json.upload.id); + if (counter < files.length - 1) { + counter++; + reader.readAsDataURL(files[counter]); + } + else { + completeCallback.call(editor, ids); + if (submit) { + editor.submit(); + } + } + } + progressCallback(conf); + }, + type: 'post', + xhr: function () { + var xhr = $.ajaxSettings.xhr(); + if (xhr.upload) { + xhr.upload.onprogress = function (e) { + if (e.lengthComputable) { + var percent = (e.loaded / e.total * 100).toFixed(0) + '%'; + progressCallback(conf, files.length === 1 ? + percent : + counter + ':' + files.length + ' ' + percent); + } + }; + xhr.upload.onloadend = function () { + progressCallback(conf, conf.processingText || 'Processing'); + }; + } + return xhr; + } + })); + }); + }; + // Convert to a plain array + files = $.map(files, function (val) { + return val; + }); + // Truncate the selected files if needed + if (conf._limitLeft !== undefined) { + files.splice(conf._limitLeft, files.length); + } + reader.readAsDataURL(files[0]); +} +/** + * CommonJS factory function pass through. Matches DataTables. + * @param {*} root Window + * @param {*} jq jQUery + * @returns {boolean} Indicator + */ +function factory(root, jq) { + var is = false; + // Test if the first parameter is a window object + if (root && root.document) { + window = root; + document = root.document; + } + // Test if the second parameter is a jQuery object + if (jq && jq.fn && jq.fn.jquery) { + $ = jq; + is = true; + } + return is; +} + +var DataTable$4 = $.fn.dataTable; +var _inlineCounter = 0; +/** + * Set the class on the form to relate to the action that is being performed. + * This allows styling to be applied to the form to reflect the state that + * it is in. + * + * @private + */ +function _actionClass() { + var classesActions = this.classes.actions; + var action = this.s.action; + var wrapper = $(this.dom.wrapper); + wrapper.removeClass([classesActions.create, classesActions.edit, classesActions.remove].join(' ')); + if (action === 'create') { + wrapper.addClass(classesActions.create); + } + else if (action === 'edit') { + wrapper.addClass(classesActions.edit); + } + else if (action === 'remove') { + wrapper.addClass(classesActions.remove); + } +} +/** + * Create an Ajax request in the same style as DataTables 1.10, with full + * backwards compatibility for Editor 1.2. + * + * @param {object} data Data to submit + * @param {function} success Success callback + * @param {function} error Error callback + * @param {object} submitParams Submitted data + * @private + */ +function _ajax(data, success, error, submitParams) { + var action = this.s.action; + var thrown; + var opts = { + complete: [function (xhr, text) { + // Use `complete` rather than `success` so that all status codes are + // caught and can return valid JSON (useful when working with REST + // services). + var json = null; + if (xhr.status === 204 || xhr.responseText === 'null') { + json = {}; + } + else { + try { + // jQuery 1.12 or newer for responseJSON, but its the only + // way to get the JSON from a JSONP. So if you want to use + // JSONP with Editor you have to use jQuery 1.12+. + json = xhr.responseJSON ? + xhr.responseJSON : + JSON.parse(xhr.responseText); + } + catch (e) { } + } + if ($.isPlainObject(json) || Array.isArray(json)) { + success(json, xhr.status >= 400, xhr); + } + else { + error(xhr, text, thrown); + } + }], + data: null, + dataType: 'json', + error: [function (xhr, text, err) { + thrown = err; + }], + success: [], + type: 'POST' + }; + var a; + var ajaxSrc = this.s.ajax; + var id = action === 'edit' || action === 'remove' ? + pluck(this.s.editFields, 'idSrc').join(',') : + null; + // Get the correct object for rest style + if ($.isPlainObject(ajaxSrc) && ajaxSrc[action]) { + ajaxSrc = ajaxSrc[action]; + } + if (typeof ajaxSrc === 'function') { + // As a function, execute it, passing in the required parameters + ajaxSrc.call(this, null, null, data, success, error); + return; + } + else if (typeof ajaxSrc === 'string') { + // As a string it gives the URL. For backwards compatibility it can also + // give the method. + if (ajaxSrc.indexOf(' ') !== -1) { + a = ajaxSrc.split(' '); + opts.type = a[0]; + opts.url = a[1]; + } + else { + opts.url = ajaxSrc; + } + } + else { + // As an object, we extend the Editor defaults - with the exception of + // the error and complete functions which get added in so the user can + // specify their own in addition to ours + var optsCopy = $.extend({}, ajaxSrc || {}); + if (optsCopy.complete) { + opts.complete.unshift(optsCopy.complete); + delete optsCopy.complete; + } + if (optsCopy.error) { + opts.error.unshift(optsCopy.error); + delete optsCopy.error; + } + opts = $.extend({}, opts, optsCopy); + } + // URL macros + if (opts.replacements) { + $.each(opts.replacements, function (key, repl) { + opts.url = opts.url.replace('{' + key + '}', repl.call(this, key, id, action, data)); + }); + } + opts.url = opts.url + .replace(/_id_/, id) + .replace(/{id}/, id); + // Data processing option like in DataTables + if (opts.data) { + var isFn = typeof opts.data === 'function'; + var newData = isFn ? + opts.data(data) : // fn can manipulate data or return an object + opts.data; // object or array to merge + // If the function returned something, use that alone + data = isFn && newData ? + newData : + $.extend(true, data, newData); + } + opts.data = data; + // If a DELETE method is used there are a number of servers which will + // reject the request if it has a body. So we need to append to the URL. + // + // http://stackoverflow.com/questions/15088955 + // http://bugs.jquery.com/ticket/11586 + if (opts.type === 'DELETE' && (opts.deleteBody === undefined || opts.deleteBody === true)) { + var params = $.param(opts.data); + opts.url += opts.url.indexOf('?') === -1 ? + '?' + params : + '&' + params; + delete opts.data; + } + // Finally, make the ajax call + $.ajax(opts); +} +/** + * Abstraction for jQuery's animate method, to support jQuery slim which doesn't + * include the animate module + * + * @private + */ +function _animate(target, style, time, callback) { + if ($.fn.animate) { + target + .stop() + .animate(style, time, callback); + } + else { + target.css(style); + var scope = target.length && target.length > 1 + ? target[0] + : target; + if (typeof time === 'function') { + time.call(scope); + } + else if (callback) { + callback.call(scope); + } + } +} +/** + * Create the DOM structure from the source elements for the main form. + * This is required since the elements can be moved around for other form types + * (bubble). + * + * @private + */ +function _assembleMain() { + var dom = this.dom; + $(dom.wrapper) + .prepend(dom.header); + $(dom.footer) + .append(dom.formError) + .append(dom.buttons); + $(dom.bodyContent) + .append(dom.formInfo) + .append(dom.form); +} +/** + * Blur the editing window. A blur is different from a close in that it might + * cause either a close or the form to be submitted. A typical example of a + * blur would be clicking on the background of the bubble or main editing forms + * - i.e. it might be a close, or it might submit depending upon the + * configuration, while a click on the close box is a very definite close. + * + * @private + */ +function _blur() { + var opts = this.s.editOpts; + var onBlur = opts.onBlur; + if (this._event('preBlur') === false) { + return; + } + if (typeof onBlur === 'function') { + onBlur(this); + } + else if (onBlur === 'submit') { + this.submit(); + } + else if (onBlur === 'close') { + this._close(); + } +} +/** + * Clear all of the information that might have been dynamically set while + * the form was visible - specifically errors and dynamic messages + * + * @private + */ +function _clearDynamicInfo(errorsOnly) { + if (errorsOnly === void 0) { errorsOnly = false; } + // Can be triggered due to a destroy if the editor is open + if (!this.s) { + return; + } + var errorClass = this.classes.field.error; + var fields = this.s.fields; + $('div.' + errorClass, this.dom.wrapper).removeClass(errorClass); + $.each(fields, function (name, field) { + field.error(''); + if (!errorsOnly) { + field.message(''); + } + }); + this.error(''); + if (!errorsOnly) { + this.message(''); + } +} +/** + * Close an editing display, firing callbacks and events as needed + * + * @param {function} submitComplete Function to call after the preClose event + * @param {string} mode Editing mode that is just finished + * @private + */ +function _close(submitComplete, mode) { + var closed; + // Allow preClose event to cancel the opening of the display + if (this._event('preClose') === false) { + return; + } + if (this.s.closeCb) { + closed = this.s.closeCb(submitComplete, mode); + this.s.closeCb = null; + } + if (this.s.closeIcb) { + this.s.closeIcb(); + this.s.closeIcb = null; + } + // Remove focus control + $('body').off('focus.editor-focus'); + this.s.displayed = false; + this._event('close'); + if (closed) { + // Note that `bubble` will call this itself due to the animation + this._event('closed', [closed]); + } +} +/** + * Register a function to be called when the editing display is closed. This is + * used by function that create the editing display to tidy up the display on + * close - for example removing event handlers to prevent memory leaks. + * + * @param {function} fn Function to call on close + * @private + */ +function _closeReg(fn) { + this.s.closeCb = fn; +} +/** + * Argument shifting for the create(), edit() and remove() methods. In Editor + * 1.3 the preferred form of calling those three methods is with just two + * parameters (one in the case of create() - the id and the show flag), while in + * previous versions four / three parameters could be passed in, including the + * buttons and title options. In 1.3 the chaining API is preferred, but we want + * to support the old form as well, so this function is provided to perform + * that argument shifting, common to all three. + * + * @private + */ +function _crudArgs(arg1, arg2, arg3, arg4) { + var that = this; + var title; + var buttons; + var show; + var opts; + if ($.isPlainObject(arg1)) { + // Form options passed in as the first option + opts = arg1; + } + else if (typeof arg1 === 'boolean') { + // Show / hide passed in as the first option - form options second + show = arg1; + opts = arg2; // can be undefined + } + else { + // Old style arguments + title = arg1; // can be undefined + buttons = arg2; // can be undefined + show = arg3; // can be undefined + opts = arg4; // can be undefined + } + // If all undefined, then fall into here + if (show === undefined) { + show = true; + } + if (title) { + that.title(title); + } + if (buttons) { + that.buttons(buttons); + } + return { + maybeOpen: function () { + if (show) { + that.open(); + } + }, + opts: $.extend({}, this.s.formOptions.main, opts) + }; +} +/** + * Execute the data source abstraction layer functions. This is simply a case + * of executing the function with the Editor scope, passing in the remaining + * parameters. + * + * @param {string} name Function name to execute + * @private + */ +function _dataSource(name) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var dataSource = this.s.table + ? Editor.dataSources.dataTable + : Editor.dataSources.html; + var fn = dataSource[name]; + if (fn) { + return fn.apply(this, args); + } +} +/** + * Insert the fields into the DOM, in the correct order + * + * @private + */ +function _displayReorder(includeFields) { + var _this = this; + var formContent = $(this.dom.formContent); + var fields = this.s.fields; + var order = this.s.order; + var template = this.s.template; + var mode = this.s.mode || 'main'; + if (includeFields) { + this.s.includeFields = includeFields; + } + else { + includeFields = this.s.includeFields; + } + // Empty before adding in the required fields + formContent.children().detach(); + $.each(order, function (i, name) { + if (_this._weakInArray(name, includeFields) !== -1) { + if (template && mode === 'main') { + template.find('editor-field[name="' + name + '"]').after(fields[name].node()); + template.find('[data-editor-template="' + name + '"]').append(fields[name].node()); + } + else { + formContent.append(fields[name].node()); + } + } + }); + if (template && mode === 'main') { + template.appendTo(formContent); + } + this._event('displayOrder', [ + this.s.displayed, + this.s.action, + formContent + ]); +} +/** + * Generic editing handler. This can be called by the three editing modes (main, + * bubble and inline) to configure Editor for a row edit, and fire the required + * events to ensure that the editing interfaces all provide a common API. + * + * @param {*} rows Identifier for the item(s) to be edited + * @param {string} type Editing type - for the initEdit event + * @private + */ +function _edit(items, editFields, type, formOptions, setupDone) { + var _this = this; + var fields = this.s.fields; + var usedFields = []; + var includeInOrder; + var editData = {}; + this.s.editFields = editFields; + this.s.editData = editData; + this.s.modifier = items; + this.s.action = 'edit'; + this.dom.form.style.display = 'block'; + this.s.mode = type; + this._actionClass(); + // Setup the field values for editing + $.each(fields, function (name, field) { + field.multiReset(); + includeInOrder = false; + editData[name] = {}; + $.each(editFields, function (idSrc, edit) { + if (edit.fields[name]) { + var val = field.valFromData(edit.data); + var nullDefault = field.nullDefault(); + // Save the set data values so we can decided in submit if data has changed + // Note that `null` is stored as an empty string since fields do not currently + // have the ability to store a null value - when they are read back (in the + // submit) they would be an empty string. When null handling is added to + // fields, this will need to be removed. + editData[name][idSrc] = val === null ? + '' : + Array.isArray(val) ? + val.slice() : + val; + // If scoped to edit the whole row, then set all of the fields + if (!formOptions || formOptions.scope === 'row') { + field.multiSet(idSrc, val === undefined || (nullDefault && val === null) ? + field.def() : + val, false); + if (!edit.displayFields || edit.displayFields[name]) { + includeInOrder = true; + } + } + else { + // Limit editing to only those fields selected if any are selected + if (!edit.displayFields || edit.displayFields[name]) { + field.multiSet(idSrc, val === undefined || (nullDefault && val === null) ? + field.def() : + val, false); + includeInOrder = true; + } + } + } + }); + // Loop finished - can do a multi-value check for display of the field now + field._multiValueCheck(); + // If the field is used, then add it to the fields to be shown + if (field.multiIds().length !== 0 && includeInOrder) { + usedFields.push(name); + } + }); + // Remove the fields that are not required from the display + var currOrder = this.order().slice(); + for (var i = currOrder.length - 1; i >= 0; i--) { + // Use `toString()` to convert numbers to strings, since usedFields + // contains strings (object property names) + if ($.inArray(currOrder[i].toString(), usedFields) === -1) { + currOrder.splice(i, 1); + } + } + this._displayReorder(currOrder); + // Events + this._event('initEdit', [ + pluck(editFields, 'node')[0], + pluck(editFields, 'data')[0], + items, + type + ], function () { + _this._event('initMultiEdit', // undocumented and to be removed in v2 + [editFields, items, type], function () { + setupDone(); + }); + }); +} +/** + * Fire callback functions and trigger events. + * + * @param {string|array} trigger Name(s) of the jQuery custom event to trigger + * @param {array} args Array of arguments to pass to the triggered event + * @return {*} Return from the event + * @private + */ +function _event(trigger, args, promiseComplete) { + if (args === void 0) { args = []; } + if (promiseComplete === void 0) { promiseComplete = undefined; } + // Allow an array to be passed in for the trigger to fire multiple events + if (Array.isArray(trigger)) { + for (var i = 0, ien = trigger.length; i < ien; i++) { + this._event(trigger[i], args); + } + } + else { + var e = $.Event(trigger); + $(this).triggerHandler(e, args); + var result = e.result; + // Automatically trigger a cancelled event if a `pre` event handler + // was cancelled by the callback + if (trigger.indexOf('pre') === 0 && result === false) { + $(this).triggerHandler($.Event(trigger + 'Cancelled'), args); + } + // Allow for a promise to be returned and execute a callback + if (promiseComplete) { + if (result && typeof result === 'object' && result.then) { + // jQuery and "real" promises both provide "then" + result.then(promiseComplete); + } + else { + // If there wasn't a promise returned, then execute immediately + promiseComplete(result); + } + } + return result; + } +} +/** + * 'Modernise' event names, from the old style `on[A-Z]` names to camelCase. + * This is done to provide backwards compatibility with Editor 1.2- event names. + * The names themselves were updated for consistency with DataTables. + * + * @param {string} Event name to modernise + * @return {string} String with new event name structure + * @private + */ +function _eventName(input) { + var name; + var names = input.split(' '); + for (var i = 0, ien = names.length; i < ien; i++) { + name = names[i]; + // Strip the 'on' part and lowercase the first character + var onStyle = name.match(/^on([A-Z])/); + if (onStyle) { + name = onStyle[1].toLowerCase() + name.substring(3); + } + names[i] = name; + } + return names.join(' '); +} +/** + * Find a field from a DOM node. All children are searched. + * + * @param {node} node DOM node to search for + * @return {Field} Field instance + */ +function _fieldFromNode(node) { + var foundField = null; + $.each(this.s.fields, function (name, field) { + if ($(field.node()).find(node).length) { + foundField = field; + } + }); + return foundField; +} +/** + * Convert a field name input parameter to an array of field names. + * + * Many of the API methods provide the ability to pass `undefined` a string or + * array of strings to identify fields. This method harmonises that. + * + * @param {array|string} [fieldNames] Field names to get + * @return {array} Field names + * @private + */ +function _fieldNames(fieldNames) { + if (fieldNames === undefined) { + return this.fields(); + } + else if (!Array.isArray(fieldNames)) { + return [fieldNames]; + } + return fieldNames; +} +/** + * Focus on a field. Providing the logic to allow complex focus expressions + * + * @param {array} fields Array of Field instances or field names for the fields + * that are shown + * @param {null|string|integer} focus Field identifier to focus on + * @private + */ +function _focus(fieldsIn, focus) { + var _this = this; + // Can't focus on a field when in remove mode (they aren't shown). + if (this.s.action === 'remove') { + return; + } + var field; + var fields = $.map(fieldsIn, function (fieldOrName) { return typeof fieldOrName === 'string' ? + _this.s.fields[fieldOrName] : + fieldOrName; }); + if (typeof focus === 'number') { + field = fields[focus]; + } + else if (focus) { + if (focus.indexOf('jq:') === 0) { + field = $('div.DTE ' + focus.replace(/^jq:/, '')); + } + else { + field = this.s.fields[focus]; + } + } + else { + document.activeElement.blur(); + } + this.s.setFocus = field; + if (field) { + field.focus(); + } +} +/** + * Form options - common function so all editing methods can provide the same + * basic options, DRY. + * + * @param {object} opts Editing options. See model.formOptions + * @private + */ +function _formOptions(opts) { + var _this = this; + var that = this; + var inlineCount = _inlineCounter++; + var namespace = '.dteInline' + inlineCount; + // Backwards compatibility with 1.4 + // if ( opts.closeOnComplete !== undefined ) { + // opts.onComplete = opts.closeOnComplete ? 'close' : 'none'; + // } + // if ( opts.submitOnBlur !== undefined ) { + // opts.onBlur = opts.submitOnBlur ? 'submit' : 'close'; + // } + // if ( opts.submitOnReturn !== undefined ) { + // opts.onReturn = opts.submitOnReturn ? 'submit' : 'none'; + // } + // if ( opts.blurOnBackground !== undefined ) { + // opts.onBackground = opts.blurOnBackground ? 'blur' : 'none'; + // } + this.s.editOpts = opts; + // When submitting by Ajax we don't want to close a form that has been + // opened during the ajax request, so we keep a count of the form opening + this.s.editCount = inlineCount; + if (typeof opts.title === 'string' || typeof opts.title === 'function') { + this.title(opts.title); + opts.title = true; + } + if (typeof opts.message === 'string' || typeof opts.message === 'function') { + this.message(opts.message); + opts.message = true; + } + if (typeof opts.buttons !== 'boolean') { + this.buttons(opts.buttons); + opts.buttons = true; + } + // Prevent submit by a host `` + $(document).on('keydown' + namespace, function (e) { + if (e.which === 13 && _this.s.displayed) { // return + var el = $(document.activeElement); + if (el) { + var field = _this._fieldFromNode(el); + if (field && typeof field.canReturnSubmit === 'function' && field.canReturnSubmit(el)) { + e.preventDefault(); + } + } + } + }); + $(document).on('keyup' + namespace, function (e) { + var el = $(document.activeElement); + if (e.which === 13 && _this.s.displayed) { // return + var field = _this._fieldFromNode(el); + // Allow the field plug-in to say if we can submit or not + if (field && typeof field.canReturnSubmit === 'function' && field.canReturnSubmit(el)) { + if (opts.onReturn === 'submit') { + e.preventDefault(); + _this.submit(); + } + else if (typeof opts.onReturn === 'function') { + e.preventDefault(); + opts.onReturn(_this, e); + } + } + } + else if (e.which === 27) { // esc + e.preventDefault(); + if (typeof opts.onEsc === 'function') { + opts.onEsc(that, e); + } + else if (opts.onEsc === 'blur') { + that.blur(); + } + else if (opts.onEsc === 'close') { + that.close(); + } + else if (opts.onEsc === 'submit') { + that.submit(); + } + } + else if (el.parents('.DTE_Form_Buttons').length) { + if (e.which === 37) { // left + el.prev('button').trigger('focus'); + } + else if (e.which === 39) { // right + el.next('button').trigger('focus'); + } + } + }); + this.s.closeIcb = function () { + $(document).off('keydown' + namespace); + $(document).off('keyup' + namespace); + }; + return namespace; +} +/** + * Inline editing insertion of fields + */ +function _inline(editFields, opts, closeCb) { + var _this = this; + if (closeCb === void 0) { closeCb = null; } + var closed = false; + var classes = this.classes.inline; + var keys = Object.keys(editFields); + var editRow = editFields[keys[0]]; + var lastAttachPoint; + var elements = []; + for (var i = 0; i < editRow.attach.length; i++) { + var name_1 = editRow.attachFields[i][0]; + elements.push({ + field: this.s.fields[name_1], + name: name_1, + node: $(editRow.attach[i]), + }); + } + var namespace = this._formOptions(opts); + var ret = this._preopen('inline'); + if (!ret) { + return this; + } + for (var _i = 0, elements_1 = elements; _i < elements_1.length; _i++) { + var el = elements_1[_i]; + var node = el.node; + el.children = node.contents().detach(); + // Note the wdith setting shouldn't be required, but Edge increases the column's + // width if a % width is used (even 1%). This is the workaround + var style = navigator.userAgent.indexOf('Edge/') !== -1 ? + 'style="width:' + node.width() + 'px"' : + ''; + node.append($('
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ')); + node.find('div.' + classes.liner.replace(/ /g, '.')) + .append(el.field.node()) + .append(this.dom.formError); + // Need the last insert point to allow for number submitTrigger + lastAttachPoint = el.field.node(); + if (opts.buttons) { + // Use prepend for the CSS, so we can float the buttons right + node.find('div.' + classes.buttons.replace(/ /g, '.')).append(this.dom.buttons); + } + } + // If there is a submit trigger target, we need to modify the document to allow submission + var submitClose = this._inputTrigger('submit', opts, lastAttachPoint); + var cancelClose = this._inputTrigger('cancel', opts, lastAttachPoint); + this._closeReg(function (submitComplete, action) { + // Mark that this specific inline edit has closed + closed = true; + $(document).off('click' + namespace); + // If there was no submit, we need to put the DOM back as it was. If + // there was a submit, the write of the new value will set the DOM to + // how it should be. Note also, check if it was an edit action, if not + // a create will create new row so we tidy this one up + if (!submitComplete || action !== 'edit') { + elements.forEach(function (el) { + el.node.contents().detach(); + el.node.append(el.children); + }); + } + submitClose(); + cancelClose(); + // Clear error messages "offline" + _this._clearDynamicInfo(); + if (closeCb) { + closeCb(); + } + return 'inline'; // trigger `closed` + }); + // Submit and blur actions + setTimeout(function () { + // If already closed, possibly due to some other aspect of the event + // that triggered the inline call, don't add the event listener - it + // isn't needed (and is dangerous) + if (closed) { + return; + } + // andSelf is deprecated in jQ1.8, but we want 1.7 compat + var back = $.fn.addBack ? 'addBack' : 'andSelf'; + // Chrome uses the target as the element where the mouse up happens, + // but we want the target being where the mouse down is, to allow for + // text selection in an input - so listen on mousedown as well. + var target; + $(document) + .on('mousedown' + namespace, function (e) { + target = e.target; + }) + .on('keydown' + namespace, function (e) { + target = e.target; + }) + .on('click' + namespace, function (e) { + // Was the click inside or owned by one of the editing nodes? If + // not, then come out of editing mode. + var isIn = false; + for (var _i = 0, elements_2 = elements; _i < elements_2.length; _i++) { + var el = elements_2[_i]; + if (el.field._typeFn('owns', target) || + $.inArray(el.node[0], $(target).parents()[back]()) !== -1) { + isIn = true; + } + } + if (!isIn) { + _this.blur(); + } + }); + }, 0); + this._focus($.map(elements, function (el) { return el.field; }), opts.focus); + this._postopen('inline', true); +} +/** + * Add a triggering action for inline editing, with a return function that + * will tidy up the events. + * + * @param type Action + * @param opts Form options object + * @param insertPoint Insert point in the DOM + * @private + */ +function _inputTrigger(type, opts, insertPoint) { + var _this = this; + var trigger = opts[type + 'Trigger']; + var html = opts[type + 'Html']; + var event = 'click.dte-' + type; + var tr = $(insertPoint).closest('tr'); + if (trigger === undefined) { + return function () { }; + } + // Allow the input to be a column index, including a negative to count from right + if (typeof trigger === 'number') { + var kids = tr.children(); + trigger = trigger < 0 + ? kids[kids.length + trigger] + : kids[trigger]; + } + // Use childNodes to get text nodes as well + var children = $(trigger, tr).length + ? Array.prototype.slice.call($(trigger, tr)[0].childNodes) + : []; + $(children).detach(); + // Event handler to submit the form and do nothing else + var triggerEl = $(trigger, tr) + .on(event, function (e) { + e.stopImmediatePropagation(); + if (type === 'cancel') { + _this.close(); + } + else { + _this.submit(); + } + }) + .append(html); + return function () { + triggerEl + .off(event) + .empty() + .append(children); + }; +} +/** + * Update the field options from a JSON data source + * + * @param {object} json JSON object from the server + * @private + */ +function _optionsUpdate(json) { + var that = this; + if (json && json.options) { + $.each(this.s.fields, function (name, field) { + if (json.options[name] !== undefined) { + var fieldInst = that.field(name); + if (fieldInst && fieldInst.update) { + fieldInst.update(json.options[name]); + } + } + }); + } +} +/** + * Show a message in the form. This can be used for error messages or dynamic + * messages (information display) as the structure for each is basically the + * same. This method will take into account if the form is visible or not - if + * so then the message is shown with an effect for the end user, otherwise + * it is just set immediately. + * + * @param {element} el The field display node to use + * @param {string|function} msg The message to show + * @private + */ +function _message(el, msg, title, fn) { + // Allow for jQuery slim + var canAnimate = $.fn.animate ? true : false; + if (title === undefined) { + title = false; + } + if (!fn) { + fn = function () { }; + } + if (typeof msg === 'function') { + msg = msg(this, new DataTable$4.Api(this.s.table)); + } + el = $(el); + if (canAnimate) { + el.stop(); + } + if (!msg) { + if (this.s.displayed && canAnimate) { + // Clear the message with visual effect since the form is visible + el + .fadeOut(function () { + el.html(''); + fn(); + }); + } + else { + // Clear the message without visual effect + el + .html('') + .css('display', 'none'); + fn(); + } + if (title) { + el.removeAttr('title'); + } + } + else { + fn(); + if (this.s.displayed && canAnimate) { + // Show the message with visual effect + el + .html(msg) + .fadeIn(); + } + else { + // Show the message without visual effect + el + .html(msg) + .css('display', 'block'); + } + if (title) { + el.attr('title', msg); + } + } +} +/** + * Update the multi-value information display to not show redundant information + * + * @private + */ +function _multiInfo() { + var fields = this.s.fields; + var include = this.s.includeFields; + var show = true; + var state; + if (!include) { + return; + } + for (var i = 0, ien = include.length; i < ien; i++) { + var field = fields[include[i]]; + var multiEditable = field.multiEditable(); + if (field.isMultiValue() && multiEditable && show) { + // Multi-row editable. Only show first message + state = true; + show = false; + } + else if (field.isMultiValue() && !multiEditable) { + // Not multi-row editable. Always show message + state = true; + } + else { + state = false; + } + fields[include[i]].multiInfoShown(state); + } +} +/** + * Close the current form, which can result in the display controller + * hiding its display, or showing a form from a level up if nesting + */ +function _nestedClose(cb) { + var disCtrl = this.s.displayController; + var show = disCtrl._show; + if (!show || !show.length) { + // Nothing shown just now + if (cb) { + cb(); + } + } + else if (show.length > 1) { + // Got nested forms - remove current and go one layer up + show.pop(); + // Get the one to show + var last = show[show.length - 1]; + if (cb) { + cb(); + } + this.s.displayController.open(last.dte, last.append, last.callback); + } + else { + this.s.displayController.close(this, cb); + show.length = 0; + } +} +/** + * Display a form, adding it to the display stack for nesting + */ +function _nestedOpen(cb, nest) { + var disCtrl = this.s.displayController; + // This needs to be per display controller, but the controller + // itself doesn't know anything about the nesting, so we add a + // "hidden" property to it, used here, but not by the controller + // itself. + if (!disCtrl._show) { + disCtrl._show = []; + } + if (!nest) { + disCtrl._show.length = 0; + } + disCtrl._show.push({ + append: this.dom.wrapper, + callback: cb, + dte: this, + }); + this.s.displayController.open(this, this.dom.wrapper, cb); +} +/** + * Common display editing form method called by all editing methods after the + * form has been configured and displayed. This is to ensure all fire the same + * events. + * + * @param {string} type Editing type + * @param {boolean} immediate indicate if the open is immediate (in which case + * `opened` is also triggered). + * @return {boolean} `true` + * @private + */ +function _postopen(type, immediate) { + var _this = this; + var focusCapture = this.s.displayController.captureFocus; + if (focusCapture === undefined) { + focusCapture = true; + } + $(this.dom.form) + .off('submit.editor-internal') + .on('submit.editor-internal', function (e) { + e.preventDefault(); + }); + // Focus capture - when the Editor form is shown we capture the browser's + // focus action. Without doing this is would result in the user being able + // to control items under the Editor display - triggering actions that + // shouldn't be possible while the editing is shown. + if (focusCapture && (type === 'main' || type === 'bubble')) { + $('body').on('focus.editor-focus', function () { + if ($(document.activeElement).parents('.DTE').length === 0 && + $(document.activeElement).parents('.DTED').length === 0) { + if (_this.s.setFocus) { + _this.s.setFocus.focus(); + } + } + }); + } + this._multiInfo(); + this._event('open', [type, this.s.action]); + if (immediate) { + this._event('opened', [type, this.s.action]); + } + return true; +} +/** + * Common display editing form method called by all editing methods before the + * form has been configured and displayed. This is to ensure all fire the same + * events. + * + * @param {string} Editing type + * @return {boolean} `false` if the open is cancelled by the preOpen event, + * otherwise `true` + * @private + */ +function _preopen(type) { + // Allow preOpen event to cancel the opening of the display + if (this._event('preOpen', [type, this.s.action]) === false) { + // Tidy- this would normally be done on close, but we never get that far + this._clearDynamicInfo(); + this._event('cancelOpen', [type, this.s.action]); + // inline and bubble methods cannot be opened using `open()`, they + // have to be called again, so we need to clean up the event + // listener added by _formOptions + if ((this.s.mode === 'inline' || this.s.mode === 'bubble') && this.s.closeIcb) { + this.s.closeIcb(); + } + this.s.closeIcb = null; + return false; + } + this._clearDynamicInfo(true); + this.s.displayed = type; + return true; +} +/** + * Set the form into processing mode or take it out of processing mode. In + * processing mode a processing indicator is shown and user interaction with the + * form buttons is blocked + * + * @param {boolean} processing true if to go into processing mode and false if + * to come out of processing mode + * @private + */ +function _processing(processing) { + var procClass = this.classes.processing.active; + $(['div.DTE', this.dom.wrapper]).toggleClass(procClass, processing); + this.s.processing = processing; + this._event('processing', [processing]); +} +/** + * Check if any of the fields are processing for the submit to carry on. It + * can recurse. + * + * @private + */ +function _noProcessing(args) { + var processing = false; + $.each(this.s.fields, function (name, field) { + if (field.processing()) { + processing = true; + } + }); + if (processing) { + this.one('processing-field', function () { + // Are any other fields in a processing state? - Might need to wait again + if (this._noProcessing(args) === true) { + this._submit.apply(this, args); + } + }); + } + return !processing; +} +/** + * Submit a form to the server for processing. This is the private method that is used + * by the 'submit' API method, which should always be called in preference to calling + * this method directly. + * + * @param {function} [successCallback] Callback function that is executed once the + * form has been successfully submitted to the server and no errors occurred. + * @param {function} [errorCallback] Callback function that is executed if the + * server reports an error due to the submission (this includes a JSON formatting + * error should the error return invalid JSON). + * @param {function} [formatdata] Callback function that is passed in the data + * that will be submitted to the server, allowing pre-formatting of the data, + * removal of data or adding of extra fields. + * @param {boolean} [hide=true] When the form is successfully submitted, by default + * the form display will be hidden - this option allows that to be overridden. + * @private + */ +function _submit(successCallback, errorCallback, formatdata, hide) { + var _this = this; + var changed = false; + var allData = {}; + var changedData = {}; + var setBuilder = dataSet; + var fields = this.s.fields; + var editCount = this.s.editCount; + var editFields = this.s.editFields; + var editData = this.s.editData; + var opts = this.s.editOpts; + var changedSubmit = opts.submit; + var submitParamsLocal; + // First - are any of the fields currently "processing"? If so, then we + // want to let them complete before submitting + if (this._noProcessing(arguments) === false) { + Editor.error('Field is still processing', 16, false); + return; + } + // After initSubmit to allow `mode()` to be used as a setter + var action = this.s.action; + var submitParams = { + data: {} + }; + submitParams[this.s.actionName] = action; + // Gather the data that is to be submitted + if (action === 'create' || action === 'edit') { + $.each(editFields, function (idSrc, edit) { + var allRowData = {}; + var changedRowData = {}; + $.each(fields, function (name, field) { + if (edit.fields[name] && field.submittable()) { + var multiGet = field.multiGet(); + var builder = setBuilder(name); + // If it wasn't an edit field, we still need to get the original + // data, so we can submit it if `all` or `allIfChanged` + if (multiGet[idSrc] === undefined) { + var originalVal = field.valFromData(edit.data); + builder(allRowData, originalVal); + return; + } + var value = multiGet[idSrc]; + var manyBuilder = Array.isArray(value) && typeof name === 'string' && name.indexOf('[]') !== -1 ? + setBuilder(name.replace(/\[.*$/, '') + '-many-count') : + null; + builder(allRowData, value); + // We need to tell the server-side if an array submission + // actually has no elements so it knows if the array was + // being submitted or not (since otherwise it doesn't know + // if the array was empty, or just not being submitted) + if (manyBuilder) { + manyBuilder(allRowData, value.length); + } + // Build a changed object for if that is the selected data + // type + if (action === 'edit' && (!editData[name] || !field.compare(value, editData[name][idSrc]))) { + builder(changedRowData, value); + changed = true; + if (manyBuilder) { + manyBuilder(changedRowData, value.length); + } + } + } + }); + if (!$.isEmptyObject(allRowData)) { + allData[idSrc] = allRowData; + } + if (!$.isEmptyObject(changedRowData)) { + changedData[idSrc] = changedRowData; + } + }); + // Decide what data to submit to the server for edit (create is all, always) + if (action === 'create' || changedSubmit === 'all' || (changedSubmit === 'allIfChanged' && changed)) { + submitParams.data = allData; + } + else if (changedSubmit === 'changed' && changed) { + submitParams.data = changedData; + } + else { + // Nothing to submit + this.s.action = null; + if (opts.onComplete === 'close' && (hide === undefined || hide)) { + this._close(false); + } + else if (typeof opts.onComplete === 'function') { + opts.onComplete(this); + } + if (successCallback) { + successCallback.call(this); + } + this._processing(false); + this._event('submitComplete'); + return; + } + } + else if (action === 'remove') { + $.each(editFields, function (idSrc, edit) { + submitParams.data[idSrc] = edit.data; + }); + } + // Local copy of the submit parameters, needed for the data lib prep since + // the preSubmit can modify the format and we need to know what the format is + submitParamsLocal = $.extend(true, {}, submitParams); + // Allow the data to be submitted to the server to be preprocessed by callback + // and event functions + if (formatdata) { + formatdata(submitParams); + } + this._event('preSubmit', [submitParams, action], function (result) { + if (result === false) { + _this._processing(false); + } + else { + // Submit to the server (or whatever method is defined in the settings) + var submitWire = _this.s.ajax ? + _this._ajax : + _this._submitTable; + submitWire.call(_this, submitParams, function (json, notGood, xhr) { + _this._submitSuccess(json, notGood, submitParams, submitParamsLocal, _this.s.action, editCount, hide, successCallback, errorCallback, xhr); + }, function (xhr, err, thrown) { + _this._submitError(xhr, err, thrown, errorCallback, submitParams, _this.s.action); + }, submitParams); + } + }); +} +/** + * Save submitted data without an Ajax request. This will write to a local + * table only - not saving it permanently, but rather using the DataTable itself + * as a data store. + * + * @param {object} data Data to submit + * @param {function} success Success callback + * @param {function} error Error callback + * @param {object} submitParams Submitted data + * @private + */ +function _submitTable(data, success, error, submitParams) { + var action = data.action; + var out = { data: [] }; + var idGet = dataGet(this.s.idSrc); + var idSet = dataSet(this.s.idSrc); + // Nothing required for remove - create and edit get a copy of the data + if (action !== 'remove') { + var originalData_1 = this.s.mode === 'main' ? + this._dataSource('fields', this.modifier()) : + this._dataSource('individual', this.modifier()); + $.each(data.data, function (key, vals) { + var toSave; + var extender = extend; + // Get the original row's data, so we can modify it with new values. + // This allows Editor to not need to submit all fields + if (action === 'edit') { + var rowData = originalData_1[key].data; + toSave = extender({}, rowData, true); + toSave = extender(toSave, vals, true); + } + else { + toSave = extender({}, vals, true); + } + // If create and there isn't an id for the new row, create + // one. An id could be creased by `preSubmit` + var overrideId = idGet(toSave); + if (action === 'create' && overrideId === undefined) { + idSet(toSave, +new Date() + key.toString()); + } + else { + idSet(toSave, overrideId); + } + out.data.push(toSave); + }); + } + success(out); +} +/** + * Submit success callback function + * + * @param {object} json Payload + * @param {bool} notGood True if the returned status code was + * >=400 (i.e. processing failed). This is called `notGood` rather than + * `success` since the request was successfully processed, just not written to + * the db. It is also inverted from "good" to make it optional when overriding + * the `ajax` function. + * @param {object} submitParams Submitted data + * @param {object} submitParamsLocal Unmodified copy of submitted data + * (before it could be modified by the user) + * @param {string} action CRUD action being taken + * @param {int} editCount Protection against async errors + * @param {bool} hide Hide the form flag + * @param {function} successCallback Success callback + * @param {function} errorCallback Error callback + * @private + */ +function _submitSuccess(json, notGood, submitParams, submitParamsLocal, action, editCount, hide, successCallback, errorCallback, xhr) { + var _this = this; + var that = this; + var setData; + var fields = this.s.fields; + var opts = this.s.editOpts; + var modifier = this.s.modifier; + this._event('postSubmit', [json, submitParams, action, xhr]); + if (!json.error) { + json.error = ''; + } + if (!json.fieldErrors) { + json.fieldErrors = []; + } + if (notGood || json.error || json.fieldErrors.length) { + // Global form error + var globalError_1 = []; + if (json.error) { + globalError_1.push(json.error); + } + // Field specific errors + $.each(json.fieldErrors, function (i, err) { + var field = fields[err.name]; + if (!field) { + throw new Error('Unknown field: ' + err.name); + } + else if (field.displayed()) { + field.error(err.status || 'Error'); + if (i === 0) { + if (opts.onFieldError === 'focus') { + // Scroll the display to the first error and focus + _this._animate($(_this.dom.bodyContent), { scrollTop: $(field.node()).position().top }, 500); + field.focus(); + } + else if (typeof opts.onFieldError === 'function') { + opts.onFieldError(_this, err); + } + } + } + else { + // If the field isn't visible, we need to make it display as a global error + // This _shouldn't_ happen - it means there is invalid data if it does + globalError_1.push(field.name() + ': ' + (err.status || 'Error')); + } + }); + this.error(globalError_1.join('
        ')); + this._event('submitUnsuccessful', [json]); + if (errorCallback) { + errorCallback.call(that, json); + } + } + else { + // Create a data store that the data source can use, which is + // unique to this action + var store = {}; + if (json.data && (action === 'create' || action === 'edit')) { + this._dataSource('prep', action, modifier, submitParamsLocal, json, store); + for (var _i = 0, _a = json.data; _i < _a.length; _i++) { + var data = _a[_i]; + setData = data; + var id = this._dataSource('id', data); + this._event('setData', [json, data, action]); // legacy + if (action === 'create') { + // New row was created to add it to the DT + this._event('preCreate', [json, data, id]); + this._dataSource('create', fields, data, store); + this._event(['create', 'postCreate'], [json, data, id]); + } + else if (action === 'edit') { + // Row was updated, so tell the DT + this._event('preEdit', [json, data, id]); + this._dataSource('edit', modifier, fields, data, store); + this._event(['edit', 'postEdit'], [json, data, id]); + } + } + this._dataSource('commit', action, modifier, json.data, store); + } + else if (action === 'remove') { + this._dataSource('prep', action, modifier, submitParamsLocal, json, store); + // Remove the rows given and then redraw the table + this._event('preRemove', [json, this.ids()]); + this._dataSource('remove', modifier, fields, store); + this._event(['remove', 'postRemove'], [json, this.ids()]); + this._dataSource('commit', action, modifier, json.data, store); + } + // Submission complete + if (editCount === this.s.editCount) { + var sAction = this.s.action; + this.s.action = null; // Must do before close, in case close starts a new edit + if (opts.onComplete === 'close' && (hide === undefined || hide)) { + // If no data returned, then treat as not complete + this._close(json.data ? true : false, sAction); + } + else if (typeof opts.onComplete === 'function') { + opts.onComplete(this); + } + } + // All done - fire off the callbacks and events + if (successCallback) { + successCallback.call(that, json); + } + this._event('submitSuccess', [json, setData, action]); + } + this._processing(false); + this._event('submitComplete', [json, setData, action]); +} +/** + * Submit error callback function + * + * @private + */ +function _submitError(xhr, err, thrown, errorCallback, submitParams, action) { + this._event('postSubmit', [null, submitParams, action, xhr]); + this.error(this.i18n.error.system); + this._processing(false); + if (errorCallback) { + errorCallback.call(this, xhr, err, thrown); + } + this._event(['submitError', 'submitComplete'], [xhr, err, thrown, submitParams]); +} +/** + * Check to see if the form needs to be tidied before a new action can be performed. + * This includes if the from is currently processing an old action and if it + * is inline editing. + * + * @param {function} fn Callback function + * @returns {boolean} `true` if was in inline mode, `false` otherwise + * @private + */ +function _tidy(fn) { + var _this = this; + var dt = this.s.table ? + new $.fn.dataTable.Api(this.s.table) : + null; + var ssp = false; + if (dt) { + ssp = dt.settings()[0].oFeatures.bServerSide; + } + if (this.s.processing) { + // If currently processing, wait until the action is complete + this.one('submitComplete', function () { + // If server-side processing is being used in DataTables, first + // check that we are still processing (might not be if nothing was + // submitted) and then wait for the draw to finished + if (ssp) { + dt.one('draw', fn); + } + else { + setTimeout(function () { + fn(); + }, 10); + } + }); + return true; + } + else if (this.display() === 'inline' || this.display() === 'bubble') { + // If there is an inline edit box, it needs to be tidied + this + .one('close', function () { + // On close if processing then we need to wait for the submit to + // complete before running the callback as onBlur was set to + // submit + if (!_this.s.processing) { + // IE needs a small timeout, otherwise it may not focus on a + // field if one already has focus + setTimeout(function () { + // Check this Editor wasn't destroyed + if (_this.s) { + fn(); + } + }, 10); + } + else { + // Need to wait for the submit to finish + _this.one('submitComplete', function (e, json) { + // If SSP then need to wait for the draw + if (ssp && json) { + dt.one('draw', fn); + } + else { + setTimeout(function () { + if (_this.s) { + fn(); + } + }, 10); + } + }); + } + }) + .blur(); + return true; + } + return false; +} +/** + * Same as $.inArray but with weak type checking + * + * @param {any} name Value to look for in the array + * @param {array} arr Array to scan through + * @returns {number} -1 if not found, index otherwise + */ +function _weakInArray(name, arr) { + for (var i = 0, ien = arr.length; i < ien; i++) { + if (name == arr[i]) { + return i; + } + } + return -1; +} + +var fieldType = { + create: function () { }, + disable: function () { }, + enable: function () { }, + get: function () { }, + set: function () { } +}; + +var DataTable$3 = $.fn.dataTable; +// Upload private helper method +function _buttonText(conf, textIn) { + if (textIn === null || textIn === undefined) { + textIn = conf.uploadText || 'Choose file...'; + } + conf._input.find('div.upload button').html(textIn); +} +function _commonUpload(editor, conf, dropCallback, multiple) { + if (multiple === void 0) { multiple = false; } + var btnClass = editor.classes.form.buttonInternal; + var container = $('
        ' + + '
        ' + + '
        ' + + '
        ' + + '' + + '' + + '
        ' + + '
        ' + + '' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        ' + + '
        '); + conf._input = container; + conf._enabled = true; + if (conf.id) { + container.find('input[type=file]').attr('id', Editor.safeId(conf.id)); + } + if (conf.attr) { + container.find('input[type=file]').attr(conf.attr); + } + _buttonText(conf); + if (window.FileReader && conf.dragDrop !== false) { + container.find('div.drop span').text(conf.dragDropText || 'Drag and drop a file here to upload'); + var dragDrop_1 = container.find('div.drop'); + dragDrop_1 + .on('drop', function (e) { + if (conf._enabled) { + Editor.upload(editor, conf, e.originalEvent.dataTransfer.files, _buttonText, dropCallback); + dragDrop_1.removeClass('over'); + } + return false; + }) + .on('dragleave dragexit', function (e) { + if (conf._enabled) { + dragDrop_1.removeClass('over'); + } + return false; + }) + .on('dragover', function (e) { + if (conf._enabled) { + dragDrop_1.addClass('over'); + } + return false; + }); + // When an Editor is open with a file upload input there is a + // reasonable chance that the user will miss the drop point when + // dragging and dropping. Rather than loading the file in the browser, + // we want nothing to happen, otherwise the form will be lost. + editor + .on('open', function () { + $('body').on('dragover.DTE_Upload drop.DTE_Upload', function (e) { + return false; + }); + }) + .on('close', function () { + $('body').off('dragover.DTE_Upload drop.DTE_Upload'); + }); + } + else { + container.addClass('noDrop'); + container.append(container.find('div.rendered')); + } + container.find('div.clearValue button').on('click', function (e) { + e.preventDefault(); + if (conf._enabled) { + upload.set.call(editor, conf, ''); + } + }); + container.find('input[type=file]').on('input', function () { + Editor.upload(editor, conf, this.files, _buttonText, function (ids, error) { + if (!error) { + dropCallback.call(editor, ids); + } + container.find('input[type=file]')[0].value = ''; + }); + }); + return container; +} +// Typically a change event caused by the end user will be added to a queue that +// the browser will handle when no other script is running. However, using +// `$().trigger()` will cause it to happen immediately, so in order to simulate +// the standard browser behaviour we use setTimeout. This also means that +// `dependent()` and other change event listeners will trigger when the field +// values have all been set, rather than as they are being set - 31594 +function _triggerChange(input) { + setTimeout(function () { + input.trigger('change', { editor: true, editorSet: true }); // editorSet legacy + }, 0); +} +// A number of the fields in this file use the same get, set, enable and disable +// methods (specifically the text based controls), so in order to reduce the code +// size, we just define them once here in our own local base model for the field +// types. +var baseFieldType = $.extend(true, {}, fieldType, { + canReturnSubmit: function (conf, node) { + return true; + }, + disable: function (conf) { + conf._input.prop('disabled', true); + }, + enable: function (conf) { + conf._input.prop('disabled', false); + }, + get: function (conf) { + return conf._input.val(); + }, + set: function (conf, val) { + conf._input.val(val); + _triggerChange(conf._input); + } +}); +var hidden = { + create: function (conf) { + conf._input = $(''); + conf._val = conf.value; + return null; + }, + get: function (conf) { + return conf._val; + }, + set: function (conf, val) { + var oldVal = conf._val; + conf._val = val; + conf._input.val(val); + if (oldVal !== val) { + _triggerChange(conf._input); + } + } +}; +var readonly = $.extend(true, {}, baseFieldType, { + create: function (conf) { + conf._input = $('').attr($.extend({ + id: Editor.safeId(conf.id), + readonly: 'readonly', + type: 'text' + }, conf.attr || {})); + return conf._input[0]; + } +}); +var text = $.extend(true, {}, baseFieldType, { + create: function (conf) { + conf._input = $('').attr($.extend({ + id: Editor.safeId(conf.id), + type: 'text' + }, conf.attr || {})); + return conf._input[0]; + } +}); +var password = $.extend(true, {}, baseFieldType, { + create: function (conf) { + conf._input = $('').attr($.extend({ + id: Editor.safeId(conf.id), + type: 'password' + }, conf.attr || {})); + return conf._input[0]; + } +}); +var textarea = $.extend(true, {}, baseFieldType, { + canReturnSubmit: function (conf, node) { + return false; + }, + create: function (conf) { + conf._input = $('').attr($.extend({ + id: Editor.safeId(conf.id) + }, conf.attr || {})); + return conf._input[0]; + } +}); +var select = $.extend(true, {}, baseFieldType, { + // Locally "private" function that can be reused for the create and update methods + _addOptions: function (conf, opts, append) { + if (append === void 0) { append = false; } + var elOpts = conf._input[0].options; + var countOffset = 0; + if (!append) { + elOpts.length = 0; + if (conf.placeholder !== undefined) { + var placeholderValue = conf.placeholderValue !== undefined ? + conf.placeholderValue : + ''; + countOffset += 1; + elOpts[0] = new Option(conf.placeholder, placeholderValue); + var disabled = conf.placeholderDisabled !== undefined ? + conf.placeholderDisabled : + true; + elOpts[0].hidden = disabled; // can't be hidden if not disabled! + elOpts[0].disabled = disabled; + elOpts[0]._editor_val = placeholderValue; + } + } + else { + countOffset = elOpts.length; + } + if (opts) { + Editor.pairs(opts, conf.optionsPair, function (val, label, i, attr) { + var option = new Option(label, val); + option._editor_val = val; + if (attr) { + $(option).attr(attr); + } + elOpts[i + countOffset] = option; + }); + } + }, + create: function (conf) { + conf._input = $('') + .attr($.extend({ + id: Editor.safeId(conf.id), + multiple: conf.multiple === true + }, conf.attr || {})) + .on('change.dte', function (e, d) { + // On change, get the user selected value and store it as the + // last set, so `update` can reflect it. This way `_lastSet` + // always gives the intended value, be it set via the API or by + // the end user. + if (!d || !d.editor) { + conf._lastSet = select.get(conf); + } + }); + select._addOptions(conf, conf.options || conf.ipOpts); + return conf._input[0]; + }, + destroy: function (conf) { + conf._input.off('change.dte'); + }, + get: function (conf) { + var val = conf._input.find('option:selected').map(function () { + return this._editor_val; + }).toArray(); + if (conf.multiple) { + return conf.separator ? + val.join(conf.separator) : + val; + } + return val.length ? val[0] : null; + }, + set: function (conf, val, localUpdate) { + if (!localUpdate) { + conf._lastSet = val; + } + // Can't just use `$().val()` because it won't work with strong types + if (conf.multiple && conf.separator && !Array.isArray(val)) { + val = typeof val === 'string' ? + val.split(conf.separator) : + []; + } + else if (!Array.isArray(val)) { + val = [val]; + } + var i; + var len = val.length; + var found; + var allFound = false; + var options = conf._input.find('option'); + conf._input.find('option').each(function () { + found = false; + for (i = 0; i < len; i++) { + // Weak typing + if (this._editor_val == val[i]) { + found = true; + allFound = true; + break; + } + } + this.selected = found; + }); + // If there is a placeholder, we might need to select it if nothing else + // was selected. It doesn't make sense to select when multi is enabled + if (conf.placeholder && !allFound && !conf.multiple && options.length) { + options[0].selected = true; + } + // Update will call change itself, otherwise multiple might be called + if (!localUpdate) { + _triggerChange(conf._input); + } + return allFound; + }, + update: function (conf, options, append) { + select._addOptions(conf, options, append); + // Attempt to set the last selected value (set by the API or the end + // user, they get equal priority) + var lastSet = conf._lastSet; + if (lastSet !== undefined) { + select.set(conf, lastSet, true); + } + _triggerChange(conf._input); + } +}); +var checkbox = $.extend(true, {}, baseFieldType, { + // Locally "private" function that can be reused for the create and update methods + _addOptions: function (conf, opts, append) { + if (append === void 0) { append = false; } + var jqInput = conf._input; + var offset = 0; + if (!append) { + jqInput.empty(); + } + else { + offset = $('input', jqInput).length; + } + if (opts) { + Editor.pairs(opts, conf.optionsPair, function (val, label, i, attr) { + jqInput.append('
        ' + + '' + + '' + + '
        '); + $('input:last', jqInput).attr('value', val)[0]._editor_val = val; + if (attr) { + $('input:last', jqInput).attr(attr); + } + }); + } + }, + create: function (conf) { + conf._input = $('
        '); + checkbox._addOptions(conf, conf.options || conf.ipOpts); + return conf._input[0]; + }, + disable: function (conf) { + conf._input.find('input').prop('disabled', true); + }, + enable: function (conf) { + conf._input.find('input').prop('disabled', false); + }, + get: function (conf) { + var out = []; + var selected = conf._input.find('input:checked'); + if (selected.length) { + selected.each(function () { + out.push(this._editor_val); + }); + } + else if (conf.unselectedValue !== undefined) { + out.push(conf.unselectedValue); + } + return conf.separator === undefined || conf.separator === null ? + out : + out.join(conf.separator); + }, + set: function (conf, val) { + var jqInputs = conf._input.find('input'); + if (!Array.isArray(val) && typeof val === 'string') { + val = val.split(conf.separator || '|'); + } + else if (!Array.isArray(val)) { + val = [val]; + } + var i; + var len = val.length; + var found; + jqInputs.each(function () { + found = false; + for (i = 0; i < len; i++) { + if (this._editor_val == val[i]) { + found = true; + break; + } + } + this.checked = found; + }); + _triggerChange(jqInputs); + }, + update: function (conf, options, append) { + // Get the current value + var currVal = checkbox.get(conf); + checkbox._addOptions(conf, options, append); + checkbox.set(conf, currVal); + } +}); +var radio = $.extend(true, {}, baseFieldType, { + // Locally "private" function that can be reused for the create and update methods + _addOptions: function (conf, opts, append) { + if (append === void 0) { append = false; } + var jqInput = conf._input; + var offset = 0; + if (!append) { + jqInput.empty(); + } + else { + offset = $('input', jqInput).length; + } + if (opts) { + Editor.pairs(opts, conf.optionsPair, function (val, label, i, attr) { + jqInput.append('
        ' + + '' + + '' + + '
        '); + $('input:last', jqInput).attr('value', val)[0]._editor_val = val; + if (attr) { + $('input:last', jqInput).attr(attr); + } + }); + } + }, + create: function (conf) { + conf._input = $('
        '); + radio._addOptions(conf, conf.options || conf.ipOpts); + // this is ugly, but IE6/7 has a problem with radio elements that are created + // and checked before being added to the DOM! Basically it doesn't check them. As + // such we use the _preChecked property to set cache the checked button and then + // check it again when the display is shown. This has no effect on other browsers + // other than to cook a few clock cycles. + this.on('open', function () { + conf._input.find('input').each(function () { + if (this._preChecked) { + this.checked = true; + } + }); + }); + return conf._input[0]; + }, + disable: function (conf) { + conf._input.find('input').prop('disabled', true); + }, + enable: function (conf) { + conf._input.find('input').prop('disabled', false); + }, + get: function (conf) { + var el = conf._input.find('input:checked'); + if (el.length) { + return el[0]._editor_val; + } + return conf.unselectedValue !== undefined ? + conf.unselectedValue : + undefined; + }, + set: function (conf, val) { + conf._input.find('input').each(function () { + this._preChecked = false; + if (this._editor_val == val) { + this.checked = true; + this._preChecked = true; + } + else { + // In a detached DOM tree, there is no relationship between the + // input elements, so we need to uncheck any element that does + // not match the value + this.checked = false; + this._preChecked = false; + } + }); + _triggerChange(conf._input.find('input:checked')); + }, + update: function (conf, options, append) { + var currVal = radio.get(conf); + radio._addOptions(conf, options, append); + // Select the current value if it exists in the new data set, otherwise + // select the first radio input so there is always a value selected + var inputs = conf._input.find('input'); + radio.set(conf, inputs.filter('[value="' + currVal + '"]').length ? + currVal : + inputs.eq(0).attr('value')); + } +}); +var datetime = $.extend(true, {}, baseFieldType, { + create: function (conf) { + conf._input = $('').attr($.extend(true, { + id: Editor.safeId(conf.id), + type: 'text' + }, conf.attr)); + if (!DataTable$3.DateTime) { + Editor.error('DateTime library is required', 15); + } + // Legacy support for 2.0- parameters + if (conf.momentLocale && !conf.opts.locale) { + conf.opts.locale = conf.momentLocale; + } + if (conf.momentStrict && !conf.opts.strict) { + conf.opts.strict = conf.momentStrict; + } + conf._picker = new DataTable$3.DateTime(conf._input, $.extend({ + format: conf.displayFormat || conf.format, + i18n: this.i18n.datetime, + }, conf.opts)); + conf._closeFn = function () { + conf._picker.hide(); + }; + if (conf.keyInput === false) { + conf._input.on('keydown', function (e) { + e.preventDefault(); + }); + } + this.on('close', conf._closeFn); + return conf._input[0]; + }, + destroy: function (conf) { + this.off('close', conf._closeFn); + conf._input.off('keydown'); + conf._picker.destroy(); + }, + errorMessage: function (conf, msg) { + conf._picker.errorMsg(msg); + }, + get: function (conf) { + return conf.wireFormat + ? conf._picker.valFormat(conf.wireFormat) + : conf._input.val(); + }, + maxDate: function (conf, max) { + conf._picker.max(max); + }, + minDate: function (conf, min) { + conf._picker.min(min); + }, + // default disable and enable options are okay + owns: function (conf, node) { + return conf._picker.owns(node); + }, + set: function (conf, val) { + // If there is a wire format, convert it to the display format + // Note that special values (e.g. `--now` and empty) do not get formatted + if (typeof val === 'string' && val && val.indexOf('--') !== 0 && conf.wireFormat) { + conf._picker.valFormat(conf.wireFormat, val); + } + else { + conf._picker.val(val); + } + _triggerChange(conf._input); + } +}); +var upload = $.extend(true, {}, baseFieldType, { + canReturnSubmit: function (conf, node) { + return false; + }, + create: function (conf) { + var editor = this; + var container = _commonUpload(editor, conf, function (val) { + upload.set.call(editor, conf, val[0]); + editor._event('postUpload', [conf.name, val[0]]); + }); + return container; + }, + disable: function (conf) { + conf._input.find('input').prop('disabled', true); + conf._enabled = false; + }, + enable: function (conf) { + conf._input.find('input').prop('disabled', false); + conf._enabled = true; + }, + get: function (conf) { + return conf._val; + }, + set: function (conf, val) { + conf._val = val; + conf._input.val(''); + var container = conf._input; + if (conf.display) { + var rendered = container.find('div.rendered'); + if (conf._val) { + rendered.html(conf.display(conf._val)); + } + else { + rendered + .empty() + .append('' + (conf.noFileText || 'No file') + ''); + } + } + var button = container.find('div.clearValue button'); + if (val && conf.clearText) { + button.html(conf.clearText); + container.removeClass('noClear'); + } + else { + container.addClass('noClear'); + } + conf._input.find('input').triggerHandler('upload.editor', [conf._val]); + } +}); +var uploadMany = $.extend(true, {}, baseFieldType, { + _showHide: function (conf) { + if (!conf.limit) { + return; + } + conf._container.find('div.limitHide').css('display', conf._val.length >= conf.limit ? + 'none' : + 'block'); + // Used by the Editor.upload static function to truncate if too many + // files are selected for upload + conf._limitLeft = conf.limit - conf._val.length; + }, + canReturnSubmit: function (conf, node) { + return false; + }, + create: function (conf) { + var editor = this; + var container = _commonUpload(editor, conf, function (val) { + conf._val = conf._val.concat(val); + uploadMany.set.call(editor, conf, conf._val); + editor._event('postUpload', [conf.name, conf._val]); + }, true); + container + .addClass('multi') + .on('click', 'button.remove', function (e) { + e.stopPropagation(); + if (conf._enabled) { + var idx = $(this).data('idx'); + conf._val.splice(idx, 1); + uploadMany.set.call(editor, conf, conf._val); + } + }); + conf._container = container; + return container; + }, + disable: function (conf) { + conf._input.find('input').prop('disabled', true); + conf._enabled = false; + }, + enable: function (conf) { + conf._input.find('input').prop('disabled', false); + conf._enabled = true; + }, + get: function (conf) { + return conf._val; + }, + set: function (conf, val) { + // Default value for fields is an empty string, whereas we want [] + if (!val) { + val = []; + } + if (!Array.isArray(val)) { + throw new Error('Upload collections must have an array as a value'); + } + conf._val = val; + conf._input.val(''); + var that = this; + var container = conf._input; + if (conf.display) { + var rendered = container.find('div.rendered').empty(); + if (val.length) { + var list_1 = $('
          ').appendTo(rendered); + $.each(val, function (i, file) { + var display = conf.display(file, i); + if (display !== null) { + list_1.append('
        • ' + + display + + ' ' + + '
        • '); + } + }); + } + else { + rendered.append('' + (conf.noFileText || 'No files') + ''); + } + } + uploadMany._showHide(conf); + conf._input.find('input').triggerHandler('upload.editor', [conf._val]); + } +}); +var datatable = $.extend(true, {}, baseFieldType, { + _addOptions: function (conf, options, append) { + if (append === void 0) { append = false; } + var dt = conf.dt; + if (!append) { + dt.clear(); + } + dt.rows.add(options).draw(); + }, + _jumpToFirst: function (conf, editor) { + var dt = conf.dt; + // Find which page in the table the first selected row is + var idx = dt.row({ order: 'applied', selected: true }).index(); + var page = 0; + if (typeof idx === 'number') { + var pageLen = dt.page.info().length; + var pos = dt.rows({ order: 'applied' }).indexes().indexOf(idx); + page = pageLen > 0 + ? Math.floor(pos / pageLen) + : 0; + } + dt.page(page).draw(false); + // If scrolling is enabled, scroll down to first selected + var container = $('div.dataTables_scrollBody', dt.table().container()); + var scrollTo = function () { + var node = dt.row({ order: 'applied', selected: true }).node(); + if (node) { + var height = container.height(); + var top_1 = $(node).position().top; + if (top_1 > height - 10) { + container.scrollTop(top_1); + } + } + }; + if (container.length) { + // Check that the form has actually been displayed. If not need + // to wait for Editor's open event + if (container.parents('body').length) { + scrollTo(); + } + else { + editor.one('open', function () { + scrollTo(); + }); + } + } + }, + create: function (conf) { + var _this = this; + conf.optionsPair = $.extend({ + label: 'label', + value: 'value' + }, conf.optionsPair); + var table = $(''); + var container = $('
          ').append(table); + var side = $('
          '); + if (conf.footer) { + $('
          ') + .append(Array.isArray(conf.footer) + ? $('').append($.map(conf.footer, function (str) { return $('' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
          ').html(str); })) + : conf.footer) + .appendTo(table); + } + var dt = table + .addClass(datatable.tableClass) + .width('100%') + .on('init.dt', function (e, settings) { + if (settings.nTable !== table[0]) { + return; + } + var api = new DataTable$3.Api(settings); + var containerNode = $(api.table(undefined).container()); + // Select init + DataTable$3.select.init(api); + // Append side button controls + side + .append(containerNode.find('div.dataTables_filter')) + .append(containerNode.find('div.dt-buttons')) + .append(containerNode.find('div.dataTables_info')); + }) + .DataTable($.extend({ + buttons: [], + columns: [ + { + data: conf.optionsPair.label, + title: 'Label' + } + ], + deferRender: true, + dom: 'fiBtp', + language: { + paginate: { + next: '>', + previous: '<', + }, + search: '', + searchPlaceholder: 'Search' + }, + lengthChange: false, + select: { + style: conf.multiple ? 'os' : 'single' + }, + }, conf.config)); + this.on('open', function () { + if (dt.search()) { + dt.search('').draw(); + } + dt.columns.adjust(); + }); + // Change event for when the user does a select - `set` will do its own + // triggering of the change for the api + dt.on('user-select', function () { + _triggerChange($(conf.dt.table().container())); + }); + if (conf.editor) { + conf.editor.table(dt); + conf.editor.on('submitComplete', function (e, json, data, action) { + if (action === 'create') { + var _loop_1 = function (dp) { + dt + .rows(function (idx, d) { return d === dp; }) + .select(); + }; + // Automatically select the new data + for (var _i = 0, _a = json.data; _i < _a.length; _i++) { + var dp = _a[_i]; + _loop_1(dp); + } + } + else if (action === 'edit' || action === 'remove') { + _this._dataSource('refresh'); + } + datatable._jumpToFirst(conf, _this); + }); + } + conf.dt = dt; + datatable._addOptions(conf, conf.options || []); + return { + input: container, + side: side, + }; + }, + disable: function (conf) { + conf.dt.select.style('api'); + conf.dt.buttons().container().css('display', 'none'); + }, + dt: function (conf) { + return conf.dt; + }, + enable: function (conf) { + conf.dt.select.style(conf.multiple ? 'os' : 'single'); + conf.dt.buttons().container().css('display', 'block'); + }, + get: function (conf) { + var rows = conf.dt + .rows({ selected: true }) + .data() + .pluck(conf.optionsPair.value) + .toArray(); + return conf.separator || !conf.multiple + ? rows.join(conf.separator || ',') + : rows; + }, + set: function (conf, val, localUpdate) { + // Convert to an array of values - works for both single and multiple + if (conf.multiple && conf.separator && !Array.isArray(val)) { + val = typeof val === 'string' ? + val.split(conf.separator) : + []; + } + else if (!Array.isArray(val)) { + val = [val]; + } + // if ( ! localUpdate ) { + // conf._lastSet = val; + // } + var valueFn = dataGet(conf.optionsPair.value); + conf.dt.rows({ selected: true }).deselect(); + conf.dt.rows(function (idx, data, node) { return val.indexOf(valueFn(data)) !== -1; }).select(); + // Jump to the first page with a selected row (if there are any) + datatable._jumpToFirst(conf, this); + // Update will call change itself, otherwise multiple might be called + if (!localUpdate) { + _triggerChange($(conf.dt.table().container())); + } + }, + tableClass: '', + update: function (conf, options, append) { + datatable._addOptions(conf, options, append); + // Attempt to set the last selected value (set by the API or the end + // user, they get equal priority) + var lastSet = conf._lastSet; + if (lastSet !== undefined) { + datatable.set(conf, lastSet, true); + } + _triggerChange($(conf.dt.table().container())); + } +}); + +var defaults = { + className: '', + compare: null, + data: '', + def: '', + entityDecode: true, + fieldInfo: '', + getFormatter: null, + id: '', + label: '', + labelInfo: '', + message: '', + multiEditable: true, + name: null, + nullDefault: false, + setFormatter: null, + submit: true, + type: 'text' +}; + +var DataTable$2 = $.fn.dataTable; +var Field = /** @class */ (function () { + function Field(options, classes, host) { + var that = this; + var multiI18n = host.internalI18n().multi; + var opts = $.extend(true, {}, Field.defaults, options); + if (!Editor.fieldTypes[opts.type]) { + throw new Error('Error adding field - unknown field type ' + opts.type); + } + this.s = { + classes: classes, + host: host, + multiIds: [], + multiValue: false, + multiValues: {}, + name: opts.name, + opts: opts, + processing: false, + type: Editor.fieldTypes[opts.type], + }; + // No id, so assign one to have the label reference work + if (!opts.id) { + opts.id = 'DTE_Field_' + opts.name; + } + // If no `data` option is given, then we use the name from the field as the + // data prop to read data for the field from DataTables + if (opts.data === '') { + opts.data = opts.name; + } + // Get and set functions in the data object for the record + this.valFromData = function (d) { + // wrapper to automatically pass `editor` as the type + return dataGet(opts.data)(d, 'editor'); + }; + this.valToData = dataSet(opts.data); // set val to data + // Field HTML structure + var template = $('
          ' + + '' + + '
          ' + + // Field specific HTML is added here if there is any + '
          ' + + '
          ' + + multiI18n.title + + '' + + multiI18n.info + + '' + + '
          ' + + '
          ' + + multiI18n.restore + + '
          ' + + '
          ' + + '
          ' + opts.message + '
          ' + + '
          ' + opts.fieldInfo + '
          ' + + '
          ' + + '
          ' + + '
          '); + var input = this._typeFn('create', opts); + var side = null; + if (input && input.side) { + side = input.side; + input = input.input; + } + if (input !== null) { + el('input-control', template).prepend(input); + } + else { + template.css('display', 'none'); + } + this.dom = { + container: template, + fieldError: el('msg-error', template), + fieldInfo: el('msg-info', template), + fieldMessage: el('msg-message', template), + inputControl: el('input-control', template), + label: el('label', template).append(side), + labelInfo: el('msg-label', template), + multi: el('multi-value', template), + multiInfo: el('multi-info', template), + multiReturn: el('msg-multi', template), + processing: el('field-processing', template) + }; + // On click - set a common value for the field + this.dom.multi.on('click', function () { + if (that.s.opts.multiEditable && !template.hasClass(classes.disabled) && opts.type !== 'readonly') { + that.val(''); + that.focus(); + } + }); + this.dom.multiReturn.on('click', function () { + that.multiRestore(); + }); + // Field type extension methods - add a method to the field for the public + // methods that each field type defines beyond the default ones that already + // exist as part of this instance + $.each(this.s.type, function (name, fn) { + if (typeof fn === 'function' && that[name] === undefined) { + that[name] = function () { + var args = Array.prototype.slice.call(arguments); + args.unshift(name); + var ret = that._typeFn.apply(that, args); + // Return the given value if there is one, or the field instance + // for chaining if there is no value + return ret === undefined ? + that : + ret; + }; + } + }); + } + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Public + */ + Field.prototype.def = function (set) { + var opts = this.s.opts; + if (set === undefined) { + // Backwards compat + var def = opts['default'] !== undefined ? + opts['default'] : + opts.def; + return typeof def === 'function' ? + def() : + def; + } + opts.def = set; + return this; + }; + Field.prototype.disable = function () { + this.dom.container.addClass(this.s.classes.disabled); + this._typeFn('disable'); + return this; + }; + Field.prototype.displayed = function () { + var container = this.dom.container; + return container.parents('body').length && container.css('display') !== 'none' ? + true : + false; + }; + Field.prototype.enable = function (toggle) { + if (toggle === void 0) { toggle = true; } + if (toggle === false) { + return this.disable(); + } + this.dom.container.removeClass(this.s.classes.disabled); + this._typeFn('enable'); + return this; + }; + Field.prototype.enabled = function () { + return this.dom.container.hasClass(this.s.classes.disabled) === false; + }; + Field.prototype.error = function (msg, fn) { + var classes = this.s.classes; + // Add or remove the error class + if (msg) { + this.dom.container.addClass(classes.error); + } + else { + this.dom.container.removeClass(classes.error); + } + this._typeFn('errorMessage', msg); + return this._msg(this.dom.fieldError, msg, fn); + }; + Field.prototype.fieldInfo = function (msg) { + return this._msg(this.dom.fieldInfo, msg); + }; + Field.prototype.isMultiValue = function () { + return this.s.multiValue && this.s.multiIds.length !== 1; + }; + Field.prototype.inError = function () { + return this.dom.container.hasClass(this.s.classes.error); + }; + Field.prototype.input = function () { + return this.s.type.input ? + this._typeFn('input') : + $('input, select, textarea', this.dom.container); + }; + Field.prototype.focus = function () { + if (this.s.type.focus) { + this._typeFn('focus'); + } + else { + $('input, select, textarea', this.dom.container).focus(); + } + return this; + }; + Field.prototype.get = function () { + // When multi-value a single get is undefined + if (this.isMultiValue()) { + return undefined; + } + return this._format(this._typeFn('get'), this.s.opts.getFormatter); + }; + Field.prototype.hide = function (animate) { + var el = this.dom.container; + if (animate === undefined) { + animate = true; + } + if (this.s.host.display() && animate && $.fn.slideUp) { + el.slideUp(); + } + else { + el.css('display', 'none'); + } + return this; + }; + Field.prototype.label = function (str) { + var label = this.dom.label; + var labelInfo = this.dom.labelInfo.detach(); + if (str === undefined) { + return label.html(); + } + label.html(str); + label.append(labelInfo); + return this; + }; + Field.prototype.labelInfo = function (msg) { + return this._msg(this.dom.labelInfo, msg); + }; + Field.prototype.message = function (msg, fn) { + return this._msg(this.dom.fieldMessage, msg, fn); + }; + // There is no `multiVal()` as its arguments could be ambiguous + // id is an idSrc value _only_ + Field.prototype.multiGet = function (id) { + var value; + var multiValues = this.s.multiValues; + var multiIds = this.s.multiIds; + var isMultiValue = this.isMultiValue(); + if (id === undefined) { + var fieldVal = this.val(); + // Get an object with the values for each item being edited + value = {}; + for (var _i = 0, multiIds_1 = multiIds; _i < multiIds_1.length; _i++) { + var multiId = multiIds_1[_i]; + value[multiId] = isMultiValue ? + multiValues[multiId] : + fieldVal; + } + } + else if (isMultiValue) { + // Individual value + value = multiValues[id]; + } + else { + // Common value + value = this.val(); + } + return value; + }; + Field.prototype.multiRestore = function () { + this.s.multiValue = true; + this._multiValueCheck(); + }; + Field.prototype.multiSet = function (id, val, recalc) { + if (recalc === void 0) { recalc = true; } + var that = this; + var multiValues = this.s.multiValues; + var multiIds = this.s.multiIds; + if (val === undefined) { + val = id; + id = undefined; + } + // Set + var set = function (idSrc, valIn) { + // Get an individual item's value - add the id to the edit ids if + // it isn't already in the set. + if ($.inArray(idSrc, multiIds) === -1) { + multiIds.push(idSrc); + } + multiValues[idSrc] = that._format(valIn, that.s.opts.setFormatter); + }; + if ($.isPlainObject(val) && id === undefined) { + // idSrc / value pairs passed in + $.each(val, function (idSrc, innerVal) { + set(idSrc, innerVal); + }); + } + else if (id === undefined) { + // Set same value for all existing ids + $.each(multiIds, function (i, idSrc) { + set(idSrc, val); + }); + } + else { + // Setting an individual property + set(id, val); + } + this.s.multiValue = true; + if (recalc) { + this._multiValueCheck(); + } + return this; + }; + Field.prototype.name = function () { + return this.s.opts.name; + }; + Field.prototype.node = function () { + return this.dom.container[0]; + }; + Field.prototype.nullDefault = function () { + return this.s.opts.nullDefault; + }; + Field.prototype.processing = function (set) { + if (set === undefined) { + return this.s.processing; + } + this.dom.processing.css('display', set ? 'block' : 'none'); + this.s.processing = set; + this.s.host.internalEvent('processing-field', [set]); + return this; + }; + // multiCheck is not publicly documented + Field.prototype.set = function (val, multiCheck) { + if (multiCheck === void 0) { multiCheck = true; } + var decodeFn = function (d) { + return typeof d !== 'string' ? + d : + d + .replace(/>/g, '>') + .replace(/</g, '<') + .replace(/&/g, '&') + .replace(/"/g, '"') + .replace(/£/g, '£') + .replace(/�?39;/g, '\'') + .replace(/�?10;/g, '\n'); + }; + this.s.multiValue = false; + var decode = this.s.opts.entityDecode; + if (decode === undefined || decode === true) { + if (Array.isArray(val)) { + for (var i = 0, ien = val.length; i < ien; i++) { + val[i] = decodeFn(val[i]); + } + } + else { + val = decodeFn(val); + } + } + // If triggered from multi check we don't want to do formatting or multi checking again + if (multiCheck === true) { + val = this._format(val, this.s.opts.setFormatter); + this._typeFn('set', val); + this._multiValueCheck(); + } + else { + this._typeFn('set', val); + } + return this; + }; + Field.prototype.show = function (animate, toggle) { + if (animate === void 0) { animate = true; } + if (toggle === void 0) { toggle = true; } + if (toggle === false) { + return this.hide(animate); + } + var el = this.dom.container; + if (this.s.host.display() && animate && $.fn.slideDown) { + el.slideDown(); + } + else { + el.css('display', ''); // empty to restore css default (flex or block) + } + return this; + }; + Field.prototype.update = function (options, append) { + if (append === void 0) { append = false; } + if (this.s.type.update) { + this._typeFn('update', options, append); + } + return this; + }; + Field.prototype.val = function (val) { + return val === undefined ? + this.get() : + this.set(val); + }; + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Internal - Called from Editor only and are not publicly documented - + * these APIs can change! + */ + Field.prototype.compare = function (value, original) { + var compare = this.s.opts.compare || deepCompare; + return compare(value, original); + }; + Field.prototype.dataSrc = function () { + return this.s.opts.data; + }; + Field.prototype.destroy = function () { + // remove element + this.dom.container.remove(); + // field's own destroy method if there is one + this._typeFn('destroy'); + return this; + }; + Field.prototype.multiEditable = function () { + return this.s.opts.multiEditable; + }; + Field.prototype.multiIds = function () { + return this.s.multiIds; + }; + Field.prototype.multiInfoShown = function (show) { + this.dom.multiInfo.css({ display: show ? 'block' : 'none' }); + }; + Field.prototype.multiReset = function () { + this.s.multiIds = []; + this.s.multiValues = {}; + }; + Field.prototype.submittable = function () { + return this.s.opts.submit; + }; + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Internal + */ + Field.prototype._msg = function (el, msg, fn) { + if (msg === undefined) { + return el.html(); + } + if (typeof msg === 'function') { + var editor = this.s.host; + msg = msg(editor, new DataTable$2.Api(editor.internalSettings().table)); + } + if (el.parent().is(':visible') && $.fn.animate) { + el.html(msg); + if (msg) { + el.slideDown(fn); // fn can be undefined - so jQuery won't execute it + } + else { + el.slideUp(fn); + } + } + else { + // Not visible, so immediately set, or blank out the element + el + .html(msg || '') + .css('display', msg ? 'block' : 'none'); + if (fn) { + fn(); + } + } + return this; + }; + Field.prototype._multiValueCheck = function () { + var last; + var ids = this.s.multiIds; + var values = this.s.multiValues; + var isMultiValue = this.s.multiValue; + var isMultiEditable = this.s.opts.multiEditable; + var val; + var different = false; + if (ids) { + for (var i = 0; i < ids.length; i++) { + val = values[ids[i]]; + if (i > 0 && !deepCompare(val, last)) { + different = true; + break; + } + last = val; + } + } + if ((different && isMultiValue) || (!isMultiEditable && this.isMultiValue())) { + // Different values or same values, but not multiple editable + this.dom.inputControl.css({ display: 'none' }); + this.dom.multi.css({ display: 'block' }); + } + else { + // All the same value + this.dom.inputControl.css({ display: 'block' }); + this.dom.multi.css({ display: 'none' }); + if (isMultiValue && !different) { + this.set(last, false); + } + } + this.dom.multiReturn.css({ + display: ids && ids.length > 1 && different && !isMultiValue ? + 'block' : + 'none' + }); + // Update information label + var i18n = this.s.host.internalI18n().multi; + this.dom.multiInfo.html(isMultiEditable ? i18n.info : i18n.noMulti); + this.dom.multi.toggleClass(this.s.classes.multiNoEdit, !isMultiEditable); + this.s.host.internalMultiInfo(); + return true; + }; + Field.prototype._typeFn = function (name) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + // Insert the options as the first parameter - all field type methods + // take the field's configuration object as the first parameter + args.unshift(this.s.opts); + var fn = this.s.type[name]; + if (fn) { + return fn.apply(this.s.host, args); + } + }; + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Private + */ + Field.prototype._errorNode = function () { + return this.dom.fieldError; + }; + Field.prototype._format = function (val, formatter) { + if (formatter) { + if (Array.isArray(formatter)) { + var args = formatter.slice(); + var name_1 = args.shift(); + formatter = Field.formatters[name_1].apply(this, args); + } + return formatter.call(this.s.host, val, this); + } + return val; + }; + Field.defaults = defaults; + Field.formatters = {}; + return Field; +}()); + +var button = { + action: null, + className: null, + tabIndex: 0, + text: null, +}; + +var displayController = { + close: function () { }, + init: function () { }, + node: function () { }, + open: function () { } +}; + +var DataTable$1 = $.fn.dataTable; +/* + * DataTables 1.10 API integration. Provides the ability to control basic Editor + * aspects from the DataTables API. Full control does of course require use of + * the Editor API though. + */ +var apiRegister = DataTable$1.Api.register; +function _getInst(api) { + var ctx = api.context[0]; + return ctx.oInit.editor || ctx._editor; +} +// Set sensible defaults for the editing options +function _setBasic(inst, opts, type, plural) { + if (!opts) { + opts = {}; + } + if (opts.buttons === undefined) { + opts.buttons = '_basic'; + } + if (opts.title === undefined) { + opts.title = inst.i18n[type].title; + } + if (opts.message === undefined) { + if (type === 'remove') { + var confirm_1 = inst.i18n[type].confirm; + opts.message = plural !== 1 ? confirm_1._.replace(/%d/, plural) : confirm_1['1']; + } + else { + opts.message = ''; + } + } + return opts; +} +apiRegister('editor()', function () { + return _getInst(this); +}); +// Row editing +apiRegister('row.create()', function (opts) { + // main + var inst = _getInst(this); + inst.create(_setBasic(inst, opts, 'create')); + return this; +}); +apiRegister('row().edit()', function (opts) { + // main + var inst = _getInst(this); + inst.edit(this[0][0], _setBasic(inst, opts, 'edit')); + return this; +}); +apiRegister('rows().edit()', function (opts) { + // main + var inst = _getInst(this); + inst.edit(this[0], _setBasic(inst, opts, 'edit')); + return this; +}); +apiRegister('row().delete()', function (opts) { + // main + var inst = _getInst(this); + inst.remove(this[0][0], _setBasic(inst, opts, 'remove', 1)); + return this; +}); +apiRegister('rows().delete()', function (opts) { + // main + var inst = _getInst(this); + inst.remove(this[0], _setBasic(inst, opts, 'remove', this[0].length)); + return this; +}); +apiRegister('cell().edit()', function (type, opts) { + // inline or bubble + if (!type) { + type = 'inline'; + } + else if ($.isPlainObject(type)) { + opts = type; + type = 'inline'; + } + _getInst(this)[type](this[0][0], opts); + return this; +}); +apiRegister('cells().edit()', function (opts) { + // bubble only at the moment + _getInst(this).bubble(this[0], opts); + return this; +}); +apiRegister('file()', file); +apiRegister('files()', files); +// Global listener for file information updates via DataTables' Ajax JSON +$(document).on('xhr.dt', function (e, ctx, json) { + if (e.namespace !== 'dt') { + return; + } + if (json && json.files) { + $.each(json.files, function (name, filesIn) { + if (!Editor.files[name]) { + Editor.files[name] = {}; + } + $.extend(Editor.files[name], filesIn); + }); + } +}); + +/* + * Add helpful buttons to make life easier + * + * Note that the values that require a string to make any sense (the button text + * for example) are set by Editor when Editor is initialised through the i18n + * options. + */ +var _buttons = $.fn.dataTable.ext.buttons; +$.extend(_buttons, { + create: { + action: function (e, dt, node, config) { + var that = this; + var editor = config.editor; + this.processing(true); + editor + .one('preOpen', function () { + that.processing(false); + }) + .create($.extend({ + buttons: config.formButtons, + message: config.formMessage || editor.i18n.create.message, + nest: true, + title: config.formTitle || editor.i18n.create.title + }, config.formOptions)); + }, + className: 'buttons-create', + editor: null, + formButtons: { + action: function (e) { + this.submit(); + }, + text: function (editor) { + return editor.i18n.create.submit; + } + }, + formMessage: null, + formOptions: {}, + formTitle: null, + text: function (dt, node, config) { + return dt.i18n('buttons.create', config.editor.i18n.create.button); + }, + }, + createInline: { + action: function (e, dt, node, config) { + config.editor.inlineCreate(config.position, config.formOptions); + }, + className: 'buttons-create', + editor: null, + formButtons: { + action: function (e) { + this.submit(); + }, + text: function (editor) { + return editor.i18n.create.submit; + } + }, + formOptions: {}, + position: 'start', + text: function (dt, node, config) { + return dt.i18n('buttons.create', config.editor.i18n.create.button); + }, + }, + edit: { + action: function (e, dt, node, config) { + var that = this; + var editor = config.editor; + var rows = dt.rows({ selected: true }).indexes(); + var columns = dt.columns({ selected: true }).indexes(); + var cells = dt.cells({ selected: true }).indexes(); + var items = columns.length || cells.length ? + { + cells: cells, + columns: columns, + rows: rows + } : + rows; + this.processing(true); + editor + .one('preOpen', function () { + that.processing(false); + }) + .edit(items, $.extend({ + buttons: config.formButtons, + message: config.formMessage || editor.i18n.edit.message, + nest: true, + title: config.formTitle || editor.i18n.edit.title + }, config.formOptions)); + }, + className: 'buttons-edit', + editor: null, + extend: 'selected', + formButtons: { + action: function (e) { + this.submit(); + }, + text: function (editor) { + return editor.i18n.edit.submit; + }, + }, + formMessage: null, + formOptions: {}, + formTitle: null, + text: function (dt, node, config) { + return dt.i18n('buttons.edit', config.editor.i18n.edit.button); + }, + }, + remove: { + action: function (e, dt, node, config) { + var that = this; + var editor = config.editor; + this.processing(true); + editor + .one('preOpen', function () { + that.processing(false); + }) + .remove(dt.rows({ selected: true }).indexes(), $.extend({ + buttons: config.formButtons, + message: config.formMessage, + nest: true, + title: config.formTitle || editor.i18n.remove.title + }, config.formOptions)); + }, + className: 'buttons-remove', + editor: null, + extend: 'selected', + formButtons: { + action: function (e) { + this.submit(); + }, + text: function (editor) { + return editor.i18n.remove.submit; + }, + }, + formMessage: function (editor, dt) { + var rows = dt.rows({ selected: true }).indexes(); + var i18n = editor.i18n.remove; + var question = typeof i18n.confirm === 'string' ? + i18n.confirm : + i18n.confirm[rows.length] ? + i18n.confirm[rows.length] : i18n.confirm._; + return question.replace(/%d/g, rows.length); + }, + formOptions: {}, + formTitle: null, + limitTo: ['rows'], + text: function (dt, node, config) { + return dt.i18n('buttons.remove', config.editor.i18n.remove.button); + }, + } +}); +// Reuse the standard edit and remove buttons for their singular equivalent, +// but set it to extend the single selected button only +_buttons.editSingle = $.extend({}, _buttons.edit); +_buttons.editSingle.extend = 'selectedSingle'; +_buttons.removeSingle = $.extend({}, _buttons.remove); +_buttons.removeSingle.extend = 'selectedSingle'; + + +if (!DataTable || !DataTable.versionCheck || !DataTable.versionCheck('1.10.20')) { + throw new Error('Editor requires DataTables 1.10.20 or newer'); +} +var Editor = /** @class */ (function () { + function Editor(init, cjsJq) { + var _this = this; + this.add = add; + this.ajax = ajax; + this.background = background; + this.blur = blur; + this.bubble = bubble; + this.bubblePosition = bubblePosition; + this.buttons = buttons; + this.clear = clear; + this.close = close; + this.create = create; + this.undependent = undependent; + this.dependent = dependent; + this.destroy = destroy; + this.disable = disable; + this.display = display; + this.displayed = displayed; + this.displayNode = displayNode; + this.edit = edit; + this.enable = enable; + this.error = error$1; + this.field = field; + this.fields = fields; + this.file = file; + this.files = files; + this.get = get; + this.hide = hide; + this.ids = ids; + this.inError = inError; + this.inline = inline; + this.inlineCreate = inlineCreate; + this.message = message; + this.mode = mode; + this.modifier = modifier; + this.multiGet = multiGet; + this.multiSet = multiSet; + this.node = node; + this.off = off; + this.on = on; + this.one = one; + this.open = open; + this.order = order; + this.remove = remove; + this.set = set; + this.show = show; + this.submit = submit; + this.table = table; + this.template = template; + this.title = title; + this.val = val; + this._actionClass = _actionClass; + this._ajax = _ajax; + this._animate = _animate; + this._assembleMain = _assembleMain; + this._blur = _blur; + this._clearDynamicInfo = _clearDynamicInfo; + this._close = _close; + this._closeReg = _closeReg; + this._crudArgs = _crudArgs; + this._dataSource = _dataSource; + this._displayReorder = _displayReorder; + this._edit = _edit; + this._event = _event; + this._eventName = _eventName; + this._fieldFromNode = _fieldFromNode; + this._fieldNames = _fieldNames; + this._focus = _focus; + this._formOptions = _formOptions; + this._inline = _inline; + this._inputTrigger = _inputTrigger; + this._optionsUpdate = _optionsUpdate; + this._message = _message; + this._multiInfo = _multiInfo; + this._nestedClose = _nestedClose; + this._nestedOpen = _nestedOpen; + this._postopen = _postopen; + this._preopen = _preopen; + this._processing = _processing; + this._noProcessing = _noProcessing; + this._submit = _submit; + this._submitTable = _submitTable; + this._submitSuccess = _submitSuccess; + this._submitError = _submitError; + this._tidy = _tidy; + this._weakInArray = _weakInArray; + // Check if called with a window or jQuery object for DOM less applications + // This is for backwards compatibility with CommonJS loader + if (Editor.factory(init, cjsJq)) { + return Editor; + } + if (!(this instanceof Editor)) { + alert('DataTables Editor must be initialised as a \'new\' instance'); + } + init = $.extend(true, {}, Editor.defaults, init); + this.c = init; + this.s = $.extend(true, {}, Editor.models.settings, { + actionName: init.actionName, + ajax: init.ajax, + formOptions: init.formOptions, + idSrc: init.idSrc, + table: init.domTable || init.table, + template: init.template ? + $(init.template).detach() : null + }); + this.classes = $.extend(true, {}, Editor.classes); + this.i18n = init.i18n; + // Increment the unique counter for the next instance + Editor.models.settings.unique++; + var that = this; + var classes = this.classes; + var wrapper = $('
          ' + + '
          ' + + '
          ' + + '
          ' + + '
          ' + + '
          ' + + '
          ' + + '
          ' + + '
          '); + var form = $('' + + '
          ' + + ''); + this.dom = { + body: el('body', wrapper)[0], + bodyContent: el('body_content', wrapper)[0], + buttons: $('
          ')[0], + footer: el('foot', wrapper)[0], + form: form[0], + formContent: el('form_content', form)[0], + formError: $('
          ')[0], + formInfo: $('
          ')[0], + header: $('
          ')[0], + processing: el('processing', wrapper)[0], + wrapper: wrapper[0], + }; + // Bind callback methods + $.each(init.events, function (evt, fn) { + that.on(evt, function () { + var argsIn = []; + for (var _i = 0; _i < arguments.length; _i++) { + argsIn[_i] = arguments[_i]; + } + // When giving events in the constructor the event argument was not + // given in 1.2-, so we remove it here. This is solely for + // backwards compatibility as the events in the initialisation are + // not documented in 1.3+. + fn.apply(that, argsIn); + }); + }); + // Cache the DOM nodes + this.dom; + // Add any fields which are given on initialisation + if (init.fields) { + this.add(init.fields); + } + $(document) + .on('init.dt.dte' + this.s.unique, function (e, settings, json) { + // Resolve this reference in the event handlers so the + // table() API method can be used to change it and the + // change still be operated on here. + var table = _this.s.table; + if (table) { + var dtApi = new DataTable.Api(table); + if (settings.nTable === dtApi.table().node()) { + // Attempt to attach to a DataTable automatically when the table is + // initialised + settings._editor = _this; + } + } + }) + .on('i18n.dt.dte' + this.s.unique, function (e, settings) { + var table = _this.s.table; + if (table) { + var dtApi = new DataTable.Api(table); + if (settings.nTable === dtApi.table().node()) { + // Use loaded language options + if (settings.oLanguage.editor) { + $.extend(true, _this.i18n, settings.oLanguage.editor); + } + } + } + }) + .on('xhr.dt.dte' + this.s.unique, function (e, settings, json) { + var table = _this.s.table; + if (table) { + var dtApi = new DataTable.Api(table); + if (settings.nTable === dtApi.table().node()) { + // Automatically update fields which have a field name defined in + // the returned json - saves an `initComplete` for the user + _this._optionsUpdate(json); + } + } + }); + // Prep the display controller + if (!Editor.display[init.display]) { + throw new Error('Cannot find display controller ' + init.display); + } + this.s.displayController = Editor.display[init.display].init(this); + this._event('initComplete', []); + $(document).trigger('initEditor', [this]); + } + // Expose internal methods and options for the Field class to use + // These are not publicly documented. + /** @internal */ + Editor.prototype.internalEvent = function (name, args) { + this._event(name, args); + }; + /** @internal */ + Editor.prototype.internalI18n = function () { + return this.i18n; + }; + /** @internal */ + Editor.prototype.internalMultiInfo = function () { + return this._multiInfo(); + }; + /** @internal */ + Editor.prototype.internalSettings = function () { + return this.s; + }; + Editor.fieldTypes = { + checkbox: checkbox, + datatable: datatable, + datetime: datetime, + hidden: hidden, + password: password, + radio: radio, + readonly: readonly, + select: select, + text: text, + textarea: textarea, + upload: upload, + uploadMany: uploadMany + }; + Editor.files = {}; + Editor.version = '2.1.3'; + Editor.classes = classNames; + Editor.Field = Field; + Editor.DateTime = null; + Editor.error = error; + Editor.pairs = pairs; + Editor.factory = factory; + Editor.upload = upload$1; + Editor.defaults = defaults$1; + Editor.models = { + button: button, + displayController: displayController, + fieldType: fieldType, + formOptions: formOptions, + settings: settings, + }; + Editor.dataSources = { + dataTable: dataSource$1, + html: dataSource, + }; + Editor.display = { + envelope: envelope, + lightbox: self, + }; + Editor.safeId = function (id) { + return safeDomId(id, ''); + }; + return Editor; +}()); +DataTable.Editor = Editor; +$.fn.DataTable.Editor = Editor; +if (DataTable.DateTime) { + Editor.DateTime = DataTable.DateTime; +} +// If there are field types available on DataTables we copy them in (after the +// built in ones to allow overrides) and then expose the field types object. +if (DataTable.ext.editorFields) { + $.extend(Editor.fieldTypes, DataTable.ext.editorFields); +} +DataTable.ext.editorFields = Editor.fieldTypes; + + + +export default Editor; diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.bootstrap.js b/httpdocs/themes/vuexy/js/datatables-editor/editor.bootstrap.js new file mode 100755 index 00000000..2bc68d60 --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.bootstrap.js @@ -0,0 +1,272 @@ +/*! Bootstrap integration for DataTables' Editor + * © SpryMedia Ltd - datatables.net/license + */ + +(function( factory ){ + if ( typeof define === 'function' && define.amd ) { + // AMD + define( ['jquery', 'datatables.net-bs', 'datatables.net-editor'], function ( $ ) { + return factory( $, window, document ); + } ); + } + else if ( typeof exports === 'object' ) { + // CommonJS + var jq = require('jquery'); + var cjsRequires = function (root, $) { + if ( ! $.fn.dataTable ) { + require('datatables.net-bs')(root, $); + } + + if ( ! $.fn.dataTable.Editor ) { + require('datatables.net-editor')(root, $); + } + }; + + if (typeof window === 'undefined') { + module.exports = function (root, $) { + if ( ! root ) { + // CommonJS environments without a window global must pass a + // root. This will give an error otherwise + root = window; + } + + if ( ! $ ) { + $ = jq( root ); + } + + cjsRequires( root, $ ); + return factory( $, root, root.document ); + }; + } + else { + cjsRequires( window, jq ); + module.exports = factory( jq, window, window.document ); + } + } + else { + // Browser + factory( jQuery, window, document ); + } +}(function( $, window, document, undefined ) { +'use strict'; +var DataTable = $.fn.dataTable; + + +var Editor = DataTable.Editor; + +/* + * Set the default display controller to be our bootstrap control + */ +DataTable.Editor.defaults.display = "bootstrap"; + + +/* + * Change the default classes from Editor to be classes for Bootstrap + */ +$.extend( true, $.fn.dataTable.Editor.classes, { + "header": { + "wrapper": "DTE_Header modal-header", + title: { + tag: 'h4', + class: 'modal-title' + } + }, + "body": { + "wrapper": "DTE_Body modal-body" + }, + "footer": { + "wrapper": "DTE_Footer modal-footer" + }, + "form": { + "tag": "form-horizontal", + "button": "btn btn-default", + "buttonInternal": "btn btn-default" + }, + "field": { + "wrapper": "DTE_Field", + "label": "col-lg-4 control-label", + "input": "col-lg-8 controls", + "error": "error has-error", + "msg-labelInfo": "help-block", + "msg-info": "help-block", + "msg-message": "help-block", + "msg-error": "help-block", + "multiValue": "well well-sm multi-value", + "multiInfo": "small", + "multiRestore": "well well-sm multi-restore" + } +} ); + +$.extend( true, DataTable.ext.buttons, { + create: { + formButtons: { + className: 'btn-primary' + } + }, + edit: { + formButtons: { + className: 'btn-primary' + } + }, + remove: { + formButtons: { + className: 'btn-danger' + } + } +} ); + +DataTable.Editor.fieldTypes.datatable.tableClass = 'table'; + +let shown = false; +let fullyShown = false; + +const dom = { + // Note that `modal-dialog-scrollable` is BS4.3+ only. It has no effect on 4.0-4.2 + content: $( + '' + ), + close: $(''+ + '' + ) +}; + +DataTable.Editor.display.bulma = $.extend( true, {}, DataTable.Editor.models.displayController, { + /* + * API methods + */ + init: function ( dte ) { + // Add `form-control` to required elements + dte.on( 'displayOrder.dtebm open.dtebm', function ( e, display, action, form ) { + $.each( dte.s.fields, function ( key, field ) { + $('input:not([type=checkbox]):not([type=radio]), select, textarea', field.node() ) + .addClass( 'input' ); + + $('input[type=checkbox], input[type=radio]', field.node() ) + .removeClass('input'); + + $('select', field.node() ) + .addClass( 'select' ) + .parent().addClass('select'); + + $('select[multiple]', field.node() ) + .parent().addClass('is-multiple'); + } ); + } ); + + return DataTable.Editor.display.bulma; + }, + + open: function ( dte, append, callback ) { + $(append).removeClass('is-hidden').addClass('is-active'); + $(append).find('.modal-title').addClass('title'); + dom.content.find('.modal-content').append(append); + dom.content.addClass('is-active is-clipped'); + + dom.content.appendTo("body"); + // Setup events on each show + $('.modal-close') + .attr('title', dte.i18n.close) + .one('click', function () { + dte.close('icon'); + }) + .appendTo($('div.modal-header', append)); + + // This is a bit horrible, but if you mousedown and then drag out of the modal container, we don't + // want to trigger a background action. + let allowBackgroundClick = false; + $(document) + .off('mousedown.dte-bs5') + .on('mousedown.dte-bs5', 'div.modal-background', function (e) { + allowBackgroundClick = $(e.target).hasClass('modal-background'); + } ); + + $(document) + .off('click.dte-bs5') + .on('click.dte-bs5', 'div.modal-background', function (e) { + if ( $(e.target).hasClass('modal-background') && allowBackgroundClick ) { + dte.background(); + } + } ); + + if ( callback ) { + callback(); + } + return; + }, + + close: function ( dte, callback ) { + dom.content + .find('.is-active') + .removeClass('is-active') + .addClass('is-hidden'); + + dom.content.removeClass('is-active is-clipped'); + if ( callback ) { + callback(); + } + }, + + node: function ( dte ) { + return dom.content[0]; + } +} ); + + +return Editor; +})); diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.min.js b/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.min.js new file mode 100755 index 00000000..16e2faba --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.min.js @@ -0,0 +1,4 @@ +/*! Bulma integration for DataTables' Editor + * © SpryMedia Ltd - datatables.net/license + */ +!function(o){var a,d;"function"==typeof define&&define.amd?define(["jquery","datatables.net-bm","datatables.net-editor"],function(e){return o(e,window,document)}):"object"==typeof exports?(a=require("jquery"),d=function(e,t){t.fn.dataTable||require("datatables.net-bm")(e,t),t.fn.dataTable.Editor||require("datatables.net-editor")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||a(e),d(e,t),o(t,0,e.document)}:(d(window,a),module.exports=o(a,window,window.document))):o(jQuery,window,document)}(function(n,e,d,t){"use strict";var o=n.fn.dataTable,a=o.Editor;o.Editor.defaults.display="bulma",n.extend(!0,n.fn.dataTable.Editor.classes,{header:{wrapper:"DTE_Header modal-header",title:{tag:"h5",class:"modal-title"}},body:{wrapper:"DTE_Body modal-body"},footer:{wrapper:"DTE_Footer modal-footer"},form:{tag:"form-horizontal",button:"button",buttonInternal:"button",error:"DTE_Form_Error help is-danger"},field:{wrapper:"DTE_Field field",label:"label",error:"DTE_Field_Error help is-danger",multiValue:"card multi-value",multiInfo:"small",multiRestore:"card multi-restore"}}),n.extend(!0,o.ext.buttons,{create:{formButtons:{className:"button is-primary"}},edit:{formButtons:{className:"button is-primary"}},remove:{formButtons:{className:"button is-danger"}}}),o.Editor.fieldTypes.datatable.tableClass="table";const i={content:n('')};return o.Editor.display.bulma=n.extend(!0,{},o.Editor.models.displayController,{init:function(d){return d.on("displayOrder.dtebm open.dtebm",function(e,t,o,a){n.each(d.s.fields,function(e,t){n("input:not([type=checkbox]):not([type=radio]), select, textarea",t.node()).addClass("input"),n("input[type=checkbox], input[type=radio]",t.node()).removeClass("input"),n("select",t.node()).addClass("select").parent().addClass("select"),n("select[multiple]",t.node()).parent().addClass("is-multiple")})}),o.Editor.display.bulma},open:function(t,e,o){n(e).removeClass("is-hidden").addClass("is-active"),n(e).find(".modal-title").addClass("title"),i.content.find(".modal-content").append(e),i.content.addClass("is-active is-clipped"),i.content.appendTo("body"),n(".modal-close").attr("title",t.i18n.close).one("click",function(){t.close("icon")}).appendTo(n("div.modal-header",e));let a=!1;n(d).off("mousedown.dte-bs5").on("mousedown.dte-bs5","div.modal-background",function(e){a=n(e.target).hasClass("modal-background")}),n(d).off("click.dte-bs5").on("click.dte-bs5","div.modal-background",function(e){n(e.target).hasClass("modal-background")&&a&&t.background()}),o&&o()},close:function(e,t){i.content.find(".is-active").removeClass("is-active").addClass("is-hidden"),i.content.removeClass("is-active is-clipped"),t&&t()},node:function(e){return i.content[0]}}),a}); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.min.mjs b/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.min.mjs new file mode 100755 index 00000000..c2abcbae --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.min.mjs @@ -0,0 +1,4 @@ +/*! Bulma integration for DataTables' Editor + * © SpryMedia Ltd - datatables.net/license + */ +import jQuery from"jquery";import DataTable from"datatables.net-bm";import Editor from"datatables.net-editor";let $=jQuery;var Editor=DataTable.Editor;DataTable.Editor.defaults.display="bulma",$.extend(!0,$.fn.dataTable.Editor.classes,{header:{wrapper:"DTE_Header modal-header",title:{tag:"h5",class:"modal-title"}},body:{wrapper:"DTE_Body modal-body"},footer:{wrapper:"DTE_Footer modal-footer"},form:{tag:"form-horizontal",button:"button",buttonInternal:"button",error:"DTE_Form_Error help is-danger"},field:{wrapper:"DTE_Field field",label:"label",error:"DTE_Field_Error help is-danger",multiValue:"card multi-value",multiInfo:"small",multiRestore:"card multi-restore"}}),$.extend(!0,DataTable.ext.buttons,{create:{formButtons:{className:"button is-primary"}},edit:{formButtons:{className:"button is-primary"}},remove:{formButtons:{className:"button is-danger"}}});let shown=!(DataTable.Editor.fieldTypes.datatable.tableClass="table"),fullyShown=!1;const dom={content:$('')};DataTable.Editor.display.bulma=$.extend(!0,{},DataTable.Editor.models.displayController,{init:function(d){return d.on("displayOrder.dtebm open.dtebm",function(e,t,a,o){$.each(d.s.fields,function(e,t){$("input:not([type=checkbox]):not([type=radio]), select, textarea",t.node()).addClass("input"),$("input[type=checkbox], input[type=radio]",t.node()).removeClass("input"),$("select",t.node()).addClass("select").parent().addClass("select"),$("select[multiple]",t.node()).parent().addClass("is-multiple")})}),DataTable.Editor.display.bulma},open:function(t,e,a){$(e).removeClass("is-hidden").addClass("is-active"),$(e).find(".modal-title").addClass("title"),dom.content.find(".modal-content").append(e),dom.content.addClass("is-active is-clipped"),dom.content.appendTo("body"),$(".modal-close").attr("title",t.i18n.close).one("click",function(){t.close("icon")}).appendTo($("div.modal-header",e));let o=!1;$(document).off("mousedown.dte-bs5").on("mousedown.dte-bs5","div.modal-background",function(e){o=$(e.target).hasClass("modal-background")}),$(document).off("click.dte-bs5").on("click.dte-bs5","div.modal-background",function(e){$(e.target).hasClass("modal-background")&&o&&t.background()}),a&&a()},close:function(e,t){dom.content.find(".is-active").removeClass("is-active").addClass("is-hidden"),dom.content.removeClass("is-active is-clipped"),t&&t()},node:function(e){return dom.content[0]}});export default Editor; \ No newline at end of file diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.mjs b/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.mjs new file mode 100755 index 00000000..49ff3982 --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.bulma.mjs @@ -0,0 +1,172 @@ +/*! Bulma integration for DataTables' Editor + * © SpryMedia Ltd - datatables.net/license + */ + +import jQuery from 'jquery'; +import DataTable from 'datatables.net-bm'; +import Editor from 'datatables.net-editor'; + +// Allow reassignment of the $ variable +let $ = jQuery; + +var Editor = DataTable.Editor; + +/* + * Set the default display controller to be our bulma control + */ +DataTable.Editor.defaults.display = "bulma"; + + +/* + * Change the default classes from Editor to be classes for Bulma + */ +$.extend( true, $.fn.dataTable.Editor.classes, { + "header": { + "wrapper": "DTE_Header modal-header", + title: { + tag: 'h5', + class: 'modal-title' + } + }, + "body": { + "wrapper": "DTE_Body modal-body" + }, + "footer": { + "wrapper": "DTE_Footer modal-footer" + }, + "form": { + "tag": "form-horizontal", + "button": "button", + "buttonInternal": "button", + "error": "DTE_Form_Error help is-danger" + }, + "field": { + "wrapper": "DTE_Field field", + "label": "label", + "error": "DTE_Field_Error help is-danger", + "multiValue": "card multi-value", + "multiInfo": "small", + "multiRestore": "card multi-restore" + }, +} ); + +$.extend( true, DataTable.ext.buttons, { + create: { + formButtons: { + className: 'button is-primary' + } + }, + edit: { + formButtons: { + className: 'button is-primary' + } + }, + remove: { + formButtons: { + className: 'button is-danger' + } + } +} ); + +DataTable.Editor.fieldTypes.datatable.tableClass = 'table'; + +/* + * Bulma display controller - this is effectively a proxy to the Bulma + * modal control. + */ +let shown = false; +let fullyShown = false; + +const dom = { + content: $( + '' + ) +}; + +DataTable.Editor.display.bulma = $.extend( true, {}, DataTable.Editor.models.displayController, { + /* + * API methods + */ + init: function ( dte ) { + // Add `form-control` to required elements + dte.on( 'displayOrder.dtebm open.dtebm', function ( e, display, action, form ) { + $.each( dte.s.fields, function ( key, field ) { + $('input:not([type=checkbox]):not([type=radio]), select, textarea', field.node() ) + .addClass( 'input' ); + + $('input[type=checkbox], input[type=radio]', field.node() ) + .removeClass('input'); + + $('select', field.node() ) + .addClass( 'select' ) + .parent().addClass('select'); + + $('select[multiple]', field.node() ) + .parent().addClass('is-multiple'); + } ); + } ); + + return DataTable.Editor.display.bulma; + }, + + open: function ( dte, append, callback ) { + $(append).removeClass('is-hidden').addClass('is-active'); + $(append).find('.modal-title').addClass('title'); + dom.content.find('.modal-content').append(append); + dom.content.addClass('is-active is-clipped'); + + dom.content.appendTo("body"); + // Setup events on each show + $('.modal-close') + .attr('title', dte.i18n.close) + .one('click', function () { + dte.close('icon'); + }) + .appendTo($('div.modal-header', append)); + + // This is a bit horrible, but if you mousedown and then drag out of the modal container, we don't + // want to trigger a background action. + let allowBackgroundClick = false; + $(document) + .off('mousedown.dte-bs5') + .on('mousedown.dte-bs5', 'div.modal-background', function (e) { + allowBackgroundClick = $(e.target).hasClass('modal-background'); + } ); + + $(document) + .off('click.dte-bs5') + .on('click.dte-bs5', 'div.modal-background', function (e) { + if ( $(e.target).hasClass('modal-background') && allowBackgroundClick ) { + dte.background(); + } + } ); + + if ( callback ) { + callback(); + } + return; + }, + + close: function ( dte, callback ) { + dom.content + .find('.is-active') + .removeClass('is-active') + .addClass('is-hidden'); + + dom.content.removeClass('is-active is-clipped'); + if ( callback ) { + callback(); + } + }, + + node: function ( dte ) { + return dom.content[0]; + } +} ); + + +export default Editor; diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.js b/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.js new file mode 100755 index 00000000..a5b074ab --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.js @@ -0,0 +1,59 @@ +/*! DataTables styling integration for DataTables' Editor + * ©SpryMedia Ltd - datatables.net/license + */ + +(function( factory ){ + if ( typeof define === 'function' && define.amd ) { + // AMD + define( ['jquery', 'datatables.net-dt', 'datatables.net-editor'], function ( $ ) { + return factory( $, window, document ); + } ); + } + else if ( typeof exports === 'object' ) { + // CommonJS + var jq = require('jquery'); + var cjsRequires = function (root, $) { + if ( ! $.fn.dataTable ) { + require('datatables.net-dt')(root, $); + } + + if ( ! $.fn.dataTable.Editor ) { + require('datatables.net-editor')(root, $); + } + }; + + if (typeof window === 'undefined') { + module.exports = function (root, $) { + if ( ! root ) { + // CommonJS environments without a window global must pass a + // root. This will give an error otherwise + root = window; + } + + if ( ! $ ) { + $ = jq( root ); + } + + cjsRequires( root, $ ); + return factory( $, root, root.document ); + }; + } + else { + cjsRequires( window, jq ); + module.exports = factory( jq, window, window.document ); + } + } + else { + // Browser + factory( jQuery, window, document ); + } +}(function( $, window, document, undefined ) { +'use strict'; +var DataTable = $.fn.dataTable; + + +var Editor = DataTable.Editor; + + +return Editor; +})); diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.min.js b/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.min.js new file mode 100755 index 00000000..d8111120 --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.min.js @@ -0,0 +1,4 @@ +/*! DataTables styling integration for DataTables' Editor + * ©SpryMedia Ltd - datatables.net/license + */ +!function(n){var d,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-editor"],function(e){return n(e,window,document)}):"object"==typeof exports?(d=require("jquery"),o=function(e,t){t.fn.dataTable||require("datatables.net-dt")(e,t),t.fn.dataTable.Editor||require("datatables.net-editor")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||d(e),o(e,t),n(t,0,e.document)}:(o(window,d),module.exports=n(d,window,window.document))):n(jQuery,window,document)}(function(e,t,n,d){"use strict";return e.fn.dataTable.Editor}); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.min.mjs b/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.min.mjs new file mode 100755 index 00000000..ea3eead9 --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.min.mjs @@ -0,0 +1,4 @@ +/*! DataTables styling integration for DataTables' Editor + * ©SpryMedia Ltd - datatables.net/license + */ +import jQuery from"jquery";import DataTable from"datatables.net-dt";import Editor from"datatables.net-editor";let $=jQuery;var Editor;export default Editor=DataTable.Editor; \ No newline at end of file diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.mjs b/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.mjs new file mode 100755 index 00000000..c3659004 --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.dataTables.mjs @@ -0,0 +1,15 @@ +/*! DataTables styling integration for DataTables' Editor + * ©SpryMedia Ltd - datatables.net/license + */ + +import jQuery from 'jquery'; +import DataTable from 'datatables.net-dt'; +import Editor from 'datatables.net-editor'; + +// Allow reassignment of the $ variable +let $ = jQuery; + +var Editor = DataTable.Editor; + + +export default Editor; diff --git a/httpdocs/themes/vuexy/js/datatables-editor/editor.foundation.js b/httpdocs/themes/vuexy/js/datatables-editor/editor.foundation.js new file mode 100755 index 00000000..913d3d47 --- /dev/null +++ b/httpdocs/themes/vuexy/js/datatables-editor/editor.foundation.js @@ -0,0 +1,171 @@ +/*! Foundation integration for DataTables' Editor + * © SpryMedia Ltd - datatables.net/license + */ + +(function( factory ){ + if ( typeof define === 'function' && define.amd ) { + // AMD + define( ['jquery', 'datatables.net-zf', 'datatables.net-editor'], function ( $ ) { + return factory( $, window, document ); + } ); + } + else if ( typeof exports === 'object' ) { + // CommonJS + var jq = require('jquery'); + var cjsRequires = function (root, $) { + if ( ! $.fn.dataTable ) { + require('datatables.net-zf')(root, $); + } + + if ( ! $.fn.dataTable.Editor ) { + require('datatables.net-editor')(root, $); + } + }; + + if (typeof window === 'undefined') { + module.exports = function (root, $) { + if ( ! root ) { + // CommonJS environments without a window global must pass a + // root. This will give an error otherwise + root = window; + } + + if ( ! $ ) { + $ = jq( root ); + } + + cjsRequires( root, $ ); + return factory( $, root, root.document ); + }; + } + else { + cjsRequires( window, jq ); + module.exports = factory( jq, window, window.document ); + } + } + else { + // Browser + factory( jQuery, window, document ); + } +}(function( $, window, document, undefined ) { +'use strict'; +var DataTable = $.fn.dataTable; + + +var Editor = DataTable.Editor; + +/* + * Set the default display controller to be our foundation control + */ +DataTable.Editor.defaults.display = "foundation"; + + +/* + * Change the default classes from Editor to be classes for Foundation + */ +$.extend( true, $.fn.dataTable.Editor.classes, { + field: { + wrapper: "DTE_Field row", + label: "small-4 columns inline", + input: "small-8 columns", + error: "error", + multiValue: "panel radius multi-value", + multiInfo: "small", + multiRestore: "panel radius multi-restore", + "msg-labelInfo": "label secondary", + "msg-info": "label secondary", + "msg-message": "label secondary", + "msg-error": "label alert" + }, + form: { + button: "button small", + buttonInternal: "button small" + } +} ); + + +/* + * Foundation display controller - this is effectively a proxy to the Foundation + * modal control. + */ +var shown = false; +var reveal; + +const dom = { + content: $( + '
          ' + ), + close: $('
          ' + + col.title + + ':' + + '' + + col.data + + '
          ').append(data) : false; + } + } + } + }); + $('div.head-label').html('
          Projects
          '); + } + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +}); diff --git a/httpdocs/themes/vuexy/js/tables-datatables-advanced.js b/httpdocs/themes/vuexy/js/tables-datatables-advanced.js new file mode 100755 index 00000000..8cad45c4 --- /dev/null +++ b/httpdocs/themes/vuexy/js/tables-datatables-advanced.js @@ -0,0 +1,299 @@ +/** + * DataTables Advanced (jquery) + */ + +'use strict'; + +$(function () { + var dt_ajax_table = $('.datatables-ajax'), + dt_filter_table = $('.dt-column-search'), + dt_adv_filter_table = $('.dt-advanced-search'), + dt_responsive_table = $('.dt-responsive'), + startDateEle = $('.start_date'), + endDateEle = $('.end_date'); + + // Advanced Search Functions Starts + // -------------------------------------------------------------------- + + // Datepicker for advanced filter + var rangePickr = $('.flatpickr-range'), + dateFormat = 'MM/DD/YYYY'; + + if (rangePickr.length) { + rangePickr.flatpickr({ + mode: 'range', + dateFormat: 'm/d/Y', + orientation: isRtl ? 'auto right' : 'auto left', + locale: { + format: dateFormat + }, + onClose: function (selectedDates, dateStr, instance) { + var startDate = '', + endDate = new Date(); + if (selectedDates[0] != undefined) { + startDate = moment(selectedDates[0]).format('MM/DD/YYYY'); + startDateEle.val(startDate); + } + if (selectedDates[1] != undefined) { + endDate = moment(selectedDates[1]).format('MM/DD/YYYY'); + endDateEle.val(endDate); + } + $(rangePickr).trigger('change').trigger('keyup'); + } + }); + } + + // Filter column wise function + function filterColumn(i, val) { + if (i == 5) { + var startDate = startDateEle.val(), + endDate = endDateEle.val(); + if (startDate !== '' && endDate !== '') { + $.fn.dataTableExt.afnFiltering.length = 0; // Reset datatable filter + dt_adv_filter_table.dataTable().fnDraw(); // Draw table after filter + filterByDate(i, startDate, endDate); // We call our filter function + } + dt_adv_filter_table.dataTable().fnDraw(); + } else { + dt_adv_filter_table.DataTable().column(i).search(val, false, true).draw(); + } + } + + // Advance filter function + // We pass the column location, the start date, and the end date + $.fn.dataTableExt.afnFiltering.length = 0; + var filterByDate = function (column, startDate, endDate) { + // Custom filter syntax requires pushing the new filter to the global filter array + $.fn.dataTableExt.afnFiltering.push(function (oSettings, aData, iDataIndex) { + var rowDate = normalizeDate(aData[column]), + start = normalizeDate(startDate), + end = normalizeDate(endDate); + + // If our date from the row is between the start and end + if (start <= rowDate && rowDate <= end) { + return true; + } else if (rowDate >= start && end === '' && start !== '') { + return true; + } else if (rowDate <= end && start === '' && end !== '') { + return true; + } else { + return false; + } + }); + }; + + // converts date strings to a Date object, then normalized into a YYYYMMMDD format (ex: 20131220). Makes comparing dates easier. ex: 20131220 > 20121220 + var normalizeDate = function (dateString) { + var date = new Date(dateString); + var normalized = + date.getFullYear() + '' + ('0' + (date.getMonth() + 1)).slice(-2) + '' + ('0' + date.getDate()).slice(-2); + return normalized; + }; + // Advanced Search Functions Ends + + // Ajax Sourced Server-side + // -------------------------------------------------------------------- + + if (dt_ajax_table.length) { + var dt_ajax = dt_ajax_table.dataTable({ + processing: true, + ajax: assetsPath + 'json/ajax.php', + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>><"table-responsive"t><"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>' + }); + } + + // Column Search + // -------------------------------------------------------------------- + + if (dt_filter_table.length) { + // Setup - add a text input to each footer cell + $('.dt-column-search thead tr').clone(true).appendTo('.dt-column-search thead'); + $('.dt-column-search thead tr:eq(1) th').each(function (i) { + var title = $(this).text(); + $(this).html(''); + + $('input', this).on('keyup change', function () { + if (dt_filter.column(i).search() !== this.value) { + dt_filter.column(i).search(this.value).draw(); + } + }); + }); + + var dt_filter = dt_filter_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: 'full_name' }, + { data: 'email' }, + { data: 'post' }, + { data: 'city' }, + { data: 'start_date' }, + { data: 'salary' } + ], + orderCellsTop: true, + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>><"table-responsive"t><"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>' + }); + } + + // Advanced Search + // -------------------------------------------------------------------- + + // Advanced Filter table + if (dt_adv_filter_table.length) { + var dt_adv_filter = dt_adv_filter_table.DataTable({ + dom: "<'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-6'i><'col-sm-12 col-md-6 dataTables_pager'p>>", + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: '' }, + { data: 'full_name' }, + { data: 'email' }, + { data: 'post' }, + { data: 'city' }, + { data: 'start_date' }, + { data: 'salary' } + ], + + columnDefs: [ + { + className: 'control', + orderable: false, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + } + ], + orderCellsTop: true, + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
          ' + + col.title + + ':' + + '' + + col.data + + '
          ').append(data) : false; + } + } + } + }); + } + + // on key up from input field + $('input.dt-input').on('keyup', function () { + filterColumn($(this).attr('data-column'), $(this).val()); + }); + + // Responsive Table + // -------------------------------------------------------------------- + + if (dt_responsive_table.length) { + var dt_responsive = dt_responsive_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: '' }, + { data: 'full_name' }, + { data: 'email' }, + { data: 'post' }, + { data: 'city' }, + { data: 'start_date' }, + { data: 'salary' }, + { data: 'age' }, + { data: 'experience' }, + { data: 'status' } + ], + columnDefs: [ + { + className: 'control', + orderable: false, + targets: 0, + searchable: false, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // Label + targets: -1, + render: function (data, type, full, meta) { + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + } + ], + // scrollX: true, + destroy: true, + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>>t<"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>', + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
          ' + + col.title + + ':' + + '' + + col.data + + '
          ').append(data) : false; + } + } + } + }); + } + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 200); +}); diff --git a/httpdocs/themes/vuexy/js/tables-datatables-basic.js b/httpdocs/themes/vuexy/js/tables-datatables-basic.js new file mode 100755 index 00000000..12ddb57b --- /dev/null +++ b/httpdocs/themes/vuexy/js/tables-datatables-basic.js @@ -0,0 +1,796 @@ +/** + * DataTables Basic + */ + +'use strict'; + +let fv, offCanvasEl; +document.addEventListener('DOMContentLoaded', function (e) { + (function () { + const formAddNewRecord = document.getElementById('form-add-new-record'); + + setTimeout(() => { + const newRecord = document.querySelector('.create-new'), + offCanvasElement = document.querySelector('#add-new-record'); + + // To open offCanvas, to add new record + if (newRecord) { + newRecord.addEventListener('click', function () { + offCanvasEl = new bootstrap.Offcanvas(offCanvasElement); + // Empty fields on offCanvas open + (offCanvasElement.querySelector('.dt-full-name').value = ''), + (offCanvasElement.querySelector('.dt-post').value = ''), + (offCanvasElement.querySelector('.dt-email').value = ''), + (offCanvasElement.querySelector('.dt-date').value = ''), + (offCanvasElement.querySelector('.dt-salary').value = ''); + // Open offCanvas with form + offCanvasEl.show(); + }); + } + }, 200); + + // Form validation for Add new record + fv = FormValidation.formValidation(formAddNewRecord, { + fields: { + basicFullname: { + validators: { + notEmpty: { + message: 'The name is required' + } + } + }, + basicPost: { + validators: { + notEmpty: { + message: 'Post field is required' + } + } + }, + basicEmail: { + validators: { + notEmpty: { + message: 'The Email is required' + }, + emailAddress: { + message: 'The value is not a valid email address' + } + } + }, + basicDate: { + validators: { + notEmpty: { + message: 'Joining Date is required' + }, + date: { + format: 'MM/DD/YYYY', + message: 'The value is not a valid date' + } + } + }, + basicSalary: { + validators: { + notEmpty: { + message: 'Basic Salary is required' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-sm-12' + }), + submitButton: new FormValidation.plugins.SubmitButton(), + // defaultSubmit: new FormValidation.plugins.DefaultSubmit(), + autoFocus: new FormValidation.plugins.AutoFocus() + }, + init: instance => { + instance.on('plugins.message.placed', function (e) { + if (e.element.parentElement.classList.contains('input-group')) { + e.element.parentElement.insertAdjacentElement('afterend', e.messageElement); + } + }); + } + }); + + // FlatPickr Initialization & Validation + flatpickr(formAddNewRecord.querySelector('[name="basicDate"]'), { + enableTime: false, + // See https://flatpickr.js.org/formatting/ + dateFormat: 'm/d/Y', + // After selecting a date, we need to revalidate the field + onChange: function () { + fv.revalidateField('basicDate'); + } + }); + })(); +}); + +// datatable (jquery) +$(function () { + var dt_basic_table = $('.datatables-basic'), + dt_complex_header_table = $('.dt-complex-header'), + dt_row_grouping_table = $('.dt-row-grouping'), + dt_multilingual_table = $('.dt-multilingual'), + dt_basic; + + // DataTable with buttons + // -------------------------------------------------------------------- + + if (dt_basic_table.length) { + dt_basic = dt_basic_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: '' }, + { data: 'id' }, + { data: 'id' }, + { data: 'full_name' }, + { data: 'email' }, + { data: 'start_date' }, + { data: 'salary' }, + { data: 'status' }, + { data: '' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + orderable: false, + searchable: false, + responsivePriority: 2, + targets: 0, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // For Checkboxes + targets: 1, + orderable: false, + searchable: false, + responsivePriority: 3, + checkboxes: true, + render: function () { + return ''; + }, + checkboxes: { + selectAllRender: '' + } + }, + { + targets: 2, + searchable: false, + visible: false + }, + { + // Avatar image/badge, Name and post + targets: 3, + responsivePriority: 4, + render: function (data, type, full, meta) { + var $user_img = full['avatar'], + $name = full['full_name'], + $post = full['post']; + if ($user_img) { + // For Avatar image + var $output = + 'Avatar'; + } else { + // For Avatar badge + var stateNum = Math.floor(Math.random() * 6); + var states = ['success', 'danger', 'warning', 'info', 'primary', 'secondary']; + var $state = states[stateNum], + $name = full['full_name'], + $initials = $name.match(/\b\w/g) || []; + $initials = (($initials.shift() || '') + ($initials.pop() || '')).toUpperCase(); + $output = '' + $initials + ''; + } + // Creates full output for row + var $row_output = + '
          ' + + '
          ' + + '
          ' + + $output + + '
          ' + + '
          ' + + '
          ' + + '' + + $name + + '' + + '' + + $post + + '' + + '
          ' + + '
          '; + return $row_output; + } + }, + { + responsivePriority: 1, + targets: 4 + }, + { + // Label + targets: -2, + render: function (data, type, full, meta) { + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + orderable: false, + searchable: false, + render: function (data, type, full, meta) { + return ( + '
          ' + + '' + + '' + + '
          ' + + '' + ); + } + } + ], + order: [[2, 'desc']], + dom: '<"card-header flex-column flex-md-row"<"head-label text-center"><"dt-action-buttons text-end pt-3 pt-md-0"B>><"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>>t<"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>', + displayLength: 7, + lengthMenu: [7, 10, 25, 50, 75, 100], + buttons: [ + { + extend: 'collection', + className: 'btn btn-label-primary dropdown-toggle me-2', + text: 'Export', + buttons: [ + { + extend: 'print', + text: 'Print', + className: 'dropdown-item', + exportOptions: { + columns: [3, 4, 5, 6, 7], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + }, + customize: function (win) { + //customize print view for dark + $(win.document.body) + .css('color', config.colors.headingColor) + .css('border-color', config.colors.borderColor) + .css('background-color', config.colors.bodyBg); + $(win.document.body) + .find('table') + .addClass('compact') + .css('color', 'inherit') + .css('border-color', 'inherit') + .css('background-color', 'inherit'); + } + }, + { + extend: 'csv', + text: 'Csv', + className: 'dropdown-item', + exportOptions: { + columns: [3, 4, 5, 6, 7], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + } + }, + { + extend: 'excel', + text: 'Excel', + className: 'dropdown-item', + exportOptions: { + columns: [3, 4, 5, 6, 7], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + } + }, + { + extend: 'pdf', + text: 'Pdf', + className: 'dropdown-item', + exportOptions: { + columns: [3, 4, 5, 6, 7], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + } + }, + { + extend: 'copy', + text: 'Copy', + className: 'dropdown-item', + exportOptions: { + columns: [3, 4, 5, 6, 7], + // prevent avatar to be display + format: { + body: function (inner, coldex, rowdex) { + if (inner.length <= 0) return inner; + var el = $.parseHTML(inner); + var result = ''; + $.each(el, function (index, item) { + if (item.classList !== undefined && item.classList.contains('user-name')) { + result = result + item.lastChild.firstChild.textContent; + } else if (item.innerText === undefined) { + result = result + item.textContent; + } else result = result + item.innerText; + }); + return result; + } + } + } + } + ] + }, + { + text: 'Add New Record', + className: 'create-new btn btn-primary' + } + ], + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
          ' + + col.title + + ':' + + '' + + col.data + + '
          ').append(data) : false; + } + } + } + }); + $('div.head-label').html('
          DataTable with Buttons
          '); + } + + // Add New record + // ? Remove/Update this code as per your requirements + var count = 101; + // On form submit, if form is valid + fv.on('core.form.valid', function () { + var $new_name = $('.add-new-record .dt-full-name').val(), + $new_post = $('.add-new-record .dt-post').val(), + $new_email = $('.add-new-record .dt-email').val(), + $new_date = $('.add-new-record .dt-date').val(), + $new_salary = $('.add-new-record .dt-salary').val(); + + if ($new_name != '') { + dt_basic.row + .add({ + id: count, + full_name: $new_name, + post: $new_post, + email: $new_email, + start_date: $new_date, + salary: '$' + $new_salary, + status: 5 + }) + .draw(); + count++; + + // Hide offcanvas using javascript method + offCanvasEl.hide(); + } + }); + + // Delete Record + $('.datatables-basic tbody').on('click', '.delete-record', function () { + dt_basic.row($(this).parents('tr')).remove().draw(); + }); + + // Complex Header DataTable + // -------------------------------------------------------------------- + + if (dt_complex_header_table.length) { + var dt_complex = dt_complex_header_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: 'full_name' }, + { data: 'email' }, + { data: 'city' }, + { data: 'post' }, + { data: 'salary' }, + { data: 'status' }, + { data: '' } + ], + columnDefs: [ + { + // Label + targets: -2, + render: function (data, type, full, meta) { + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + orderable: false, + render: function (data, type, full, meta) { + return ( + '
          ' + + '' + + '' + + '
          ' + + '' + ); + } + } + ], + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>><"table-responsive"t><"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>', + displayLength: 7, + lengthMenu: [7, 10, 25, 50, 75, 100] + }); + } + + // Row Grouping + // -------------------------------------------------------------------- + + var groupColumn = 2; + if (dt_row_grouping_table.length) { + var groupingTable = dt_row_grouping_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: '' }, + { data: 'full_name' }, + { data: 'post' }, + { data: 'email' }, + { data: 'city' }, + { data: 'start_date' }, + { data: 'salary' }, + { data: 'status' }, + { data: '' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + orderable: false, + targets: 0, + searchable: false, + render: function (data, type, full, meta) { + return ''; + } + }, + { visible: false, targets: groupColumn }, + { + // Label + targets: -2, + render: function (data, type, full, meta) { + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + orderable: false, + searchable: false, + render: function (data, type, full, meta) { + return ( + '
          ' + + '' + + '' + + '
          ' + + '' + ); + } + } + ], + order: [[groupColumn, 'asc']], + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>>t<"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>', + displayLength: 7, + lengthMenu: [7, 10, 25, 50, 75, 100], + drawCallback: function (settings) { + var api = this.api(); + var rows = api.rows({ page: 'current' }).nodes(); + var last = null; + + api + .column(groupColumn, { page: 'current' }) + .data() + .each(function (group, i) { + if (last !== group) { + $(rows) + .eq(i) + .before(''); + + last = group; + } + }); + }, + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
          ' + group + '
          ' + + col.title + + ':' + + '' + + col.data + + '
          ').append(data) : false; + } + } + } + }); + + // Order by the grouping + $('.dt-row-grouping tbody').on('click', 'tr.group', function () { + var currentOrder = groupingTable.order()[0]; + if (currentOrder[0] === groupColumn && currentOrder[1] === 'asc') { + groupingTable.order([groupColumn, 'desc']).draw(); + } else { + groupingTable.order([groupColumn, 'asc']).draw(); + } + }); + } + + // Multilingual DataTable + // -------------------------------------------------------------------- + + var lang = 'German'; + if (dt_multilingual_table.length) { + var table_language = dt_multilingual_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: '' }, + { data: 'full_name' }, + { data: 'post' }, + { data: 'email' }, + { data: 'start_date' }, + { data: 'salary' }, + { data: 'status' }, + { data: '' } + ], + columnDefs: [ + { + // For Responsive + className: 'control', + orderable: false, + targets: 0, + searchable: false, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // Label + targets: -2, + render: function (data, type, full, meta) { + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + orderable: false, + searchable: false, + render: function (data, type, full, meta) { + return ( + '
          ' + + '' + + '' + + '
          ' + + '' + ); + } + } + ], + language: { + url: '//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/' + lang + '.json' + }, + displayLength: 7, + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>>t<"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>', + lengthMenu: [7, 10, 25, 50, 75, 100], + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
          ' + + col.title + + ':' + + '' + + col.data + + '
          ').append(data) : false; + } + } + } + }); + } + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 300); +}); diff --git a/httpdocs/themes/vuexy/js/tables-datatables-extensions.js b/httpdocs/themes/vuexy/js/tables-datatables-extensions.js new file mode 100755 index 00000000..8658cede --- /dev/null +++ b/httpdocs/themes/vuexy/js/tables-datatables-extensions.js @@ -0,0 +1,401 @@ +/** + * DataTables Extensions (jquery) + */ + +'use strict'; + +$(function () { + var dt_scrollable_table = $('.dt-scrollableTable'), + dt_fixedheader_table = $('.dt-fixedheader'), + dt_fixedcolumns_table = $('.dt-fixedcolumns'), + dt_select_table = $('.dt-select-table'); + + // Scrollable + // -------------------------------------------------------------------- + + if (dt_scrollable_table.length) { + var dt_scrollableTable = dt_scrollable_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: 'full_name' }, + { data: 'post' }, + { data: 'email' }, + { data: 'city' }, + { data: 'start_date' }, + { data: 'salary' }, + { data: 'age' }, + { data: 'experience' }, + { data: '' }, + { data: '' } + ], + columnDefs: [ + { + // Label + targets: -2, + render: function (data, type, full, meta) { + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + searchable: false, + orderable: false, + render: function (data, type, full, meta) { + return ( + '
          ' + + '' + + '' + + '
          ' + + '' + ); + } + } + ], + // Scroll options + scrollY: '300px', + scrollX: true, + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>>t<"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>' + }); + } + + // FixedHeader + // -------------------------------------------------------------------- + + if (dt_fixedheader_table.length) { + var dt_fixedheader = dt_fixedheader_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: '' }, + { data: 'id' }, + { data: 'id' }, + { data: 'full_name' }, + { data: 'email' }, + { data: 'start_date' }, + { data: 'salary' }, + { data: 'status' }, + { data: '' } + ], + columnDefs: [ + { + className: 'control', + orderable: false, + targets: 0, + responsivePriority: 3, + render: function (data, type, full, meta) { + return ''; + } + }, + { + // For Checkboxes + targets: 1, + orderable: false, + render: function () { + return ''; + }, + checkboxes: { + selectAllRender: '' + }, + responsivePriority: 4 + }, + { + targets: 2, + visible: false + }, + { + // Avatar image/badge, Name and post + targets: 3, + render: function (data, type, full, meta) { + var $user_img = full['avatar'], + $name = full['full_name'], + $post = full['post']; + if ($user_img) { + // For Avatar image + var $output = + 'Avatar'; + } else { + // For Avatar badge + var stateNum = Math.floor(Math.random() * 6); + var states = ['success', 'danger', 'warning', 'info', 'primary', 'secondary']; + var $state = states[stateNum], + $name = full['full_name']; + var $initials = $name.match(/\b\w/g) || []; + $initials = (($initials.shift() || '') + ($initials.pop() || '')).toUpperCase(); + $output = '' + $initials + ''; + } + // Creates full output for row + var $row_output = + '
          ' + + '
          ' + + '
          ' + + $output + + '
          ' + + '
          ' + + '
          ' + + '' + + $name + + '' + + '' + + $post + + '' + + '
          ' + + '
          '; + return $row_output; + }, + responsivePriority: 5 + }, + { + responsivePriority: 1, + targets: 4 + }, + { + responsivePriority: 2, + targets: 6 + }, + + { + // Label + targets: -2, + render: function (data, type, full, meta) { + // var $rand_num = Math.floor(Math.random() * 5) + 1; + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + orderable: false, + render: function (data, type, full, meta) { + return ( + '
          ' + + '' + + '' + + '
          ' + + '' + ); + } + } + ], + order: [[2, 'desc']], + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>>t<"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>', + displayLength: 7, + lengthMenu: [7, 10, 25, 50, 75, 100], + responsive: { + details: { + display: $.fn.dataTable.Responsive.display.modal({ + header: function (row) { + var data = row.data(); + return 'Details of ' + data['full_name']; + } + }), + type: 'column', + renderer: function (api, rowIdx, columns) { + var data = $.map(columns, function (col, i) { + return col.title !== '' // ? Do not show row in modal popup if title is blank (for check box) + ? '' + + ' ' + + '' + + '' + : ''; + }).join(''); + + return data ? $('
          ' + + col.title + + ':' + + '' + + col.data + + '
          ').append(data) : false; + } + } + } + }); + // Fixed header + if (window.Helpers.isNavbarFixed()) { + var navHeight = $('#layout-navbar').outerHeight(); + new $.fn.dataTable.FixedHeader(dt_fixedheader).headerOffset(navHeight); + } else { + new $.fn.dataTable.FixedHeader(dt_fixedheader); + } + } + + // FixedColumns + // -------------------------------------------------------------------- + + if (dt_fixedcolumns_table.length) { + var dt_fixedcolumns = dt_fixedcolumns_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: 'full_name' }, + { data: 'post' }, + { data: 'email' }, + { data: 'city' }, + { data: 'start_date' }, + { data: 'salary' }, + { data: 'age' }, + { data: 'experience' }, + { data: 'status' }, + { data: 'id' } + ], + columnDefs: [ + { + // Label + targets: -2, + render: function (data, type, full, meta) { + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + }, + { + // Actions + targets: -1, + title: 'Actions', + searchable: false, + orderable: false, + render: function (data, type, full, meta) { + return ( + '
          ' + + '' + + '' + + '
          ' + + '' + ); + } + } + ], + dom: '<"d-flex justify-content-between align-items-center row"<"col-sm-12 col-md-2 d-flex"f><"col-sm-12 col-md-10 d-none"i>>t', + scrollY: 300, + scrollX: true, + scrollCollapse: true, + paging: false, + info: false, + // Fixed column option + fixedColumns: true + }); + } + + // Select + // -------------------------------------------------------------------- + + if (dt_select_table.length) { + var dt_select = dt_select_table.DataTable({ + ajax: assetsPath + 'json/table-datatable.json', + columns: [ + { data: 'id' }, + { data: 'full_name' }, + { data: 'post' }, + { data: 'email' }, + { data: 'city' }, + { data: 'start_date' }, + { data: 'salary' }, + { data: 'status' } + ], + columnDefs: [ + { + // For Checkboxes + targets: 0, + searchable: false, + orderable: false, + render: function () { + return ''; + }, + checkboxes: { + selectRow: true, + selectAllRender: '' + } + }, + { + // Label + targets: -1, + render: function (data, type, full, meta) { + var $status_number = full['status']; + var $status = { + 1: { title: 'Current', class: 'bg-label-primary' }, + 2: { title: 'Professional', class: ' bg-label-success' }, + 3: { title: 'Rejected', class: ' bg-label-danger' }, + 4: { title: 'Resigned', class: ' bg-label-warning' }, + 5: { title: 'Applied', class: ' bg-label-info' } + }; + if (typeof $status[$status_number] === 'undefined') { + return data; + } + return ( + '' + $status[$status_number].title + '' + ); + } + } + ], + order: [[1, 'desc']], + dom: '<"row"<"col-sm-12 col-md-6"l><"col-sm-12 col-md-6 d-flex justify-content-center justify-content-md-end"f>>t<"row"<"col-sm-12 col-md-6"i><"col-sm-12 col-md-6"p>>', + select: { + // Select style + style: 'multi' + } + }); + } + + // Filter form control to default size + // ? setTimeout used for multilingual table initialization + setTimeout(() => { + $('.dataTables_filter .form-control').removeClass('form-control-sm'); + $('.dataTables_length .form-select').removeClass('form-select-sm'); + }, 200); +}); diff --git a/httpdocs/themes/vuexy/js/ui-app-brand.js b/httpdocs/themes/vuexy/js/ui-app-brand.js new file mode 100755 index 00000000..a1a9b48c --- /dev/null +++ b/httpdocs/themes/vuexy/js/ui-app-brand.js @@ -0,0 +1,79 @@ +/** + * UI App Brand + */ + +'use strict'; + +(function () { + const layoutMenu1 = document.querySelector('#layout-menu1'), + layoutMenu2 = document.querySelector('#layout-menu2'), + layoutMenu3 = document.querySelector('#layout-menu3'), + layoutMenu4 = document.querySelector('#layout-menu4'); + + // Initializing four vertical demo menus + if (layoutMenu1) { + new Menu(layoutMenu1); + } + if (layoutMenu2) { + new Menu(layoutMenu2); + } + if (layoutMenu3) { + new Menu(layoutMenu3); + } + if (layoutMenu4) { + new Menu(layoutMenu4); + } + + // On toggle button click + const appToggleBtn = document.querySelector('.app-brand-toggle'); + if (appToggleBtn) { + appToggleBtn.onclick = function () { + if (layoutMenu1) { + layoutMenu1.classList.toggle('menu-collapsed'); + } + if (layoutMenu2) { + layoutMenu2.classList.toggle('menu-collapsed'); + } + if (layoutMenu3) { + layoutMenu3.classList.toggle('menu-collapsed'); + } + if (layoutMenu4) { + layoutMenu4.classList.toggle('menu-collapsed'); + } + }; + } + + // For Docs only + const brandNameBtn = document.querySelector('.brand-menu-toggle'), + logoNameBtn = document.querySelector('.brand-logo-toggle'), + logoNameTextBtn = document.querySelector('.logo-name-toggle'), + brandImageBtn = document.querySelector('.brand-image-toggle'); + if (brandNameBtn) { + brandNameBtn.onclick = function () { + if (layoutMenu1) { + layoutMenu1.classList.toggle('menu-collapsed'); + } + }; + } + if (logoNameBtn) { + logoNameBtn.onclick = function () { + if (layoutMenu2) { + layoutMenu2.classList.toggle('menu-collapsed'); + } + }; + } + if (logoNameTextBtn) { + logoNameTextBtn.onclick = function () { + if (layoutMenu3) { + layoutMenu3.classList.toggle('menu-collapsed'); + } + }; + } + if (brandImageBtn) { + brandImageBtn.onclick = function () { + if (layoutMenu4) { + layoutMenu4.classList.toggle('menu-collapsed'); + } + }; + } +})(); diff --git a/httpdocs/themes/vuexy/js/ui-carousel.js b/httpdocs/themes/vuexy/js/ui-carousel.js new file mode 100755 index 00000000..c0f7481f --- /dev/null +++ b/httpdocs/themes/vuexy/js/ui-carousel.js @@ -0,0 +1,185 @@ +/** + * UI Carousel + */ + +'use strict'; + +(function () { + const swiperDefault = document.querySelector('#swiper-default'), + swiperWithArrows = document.querySelector('#swiper-with-arrows'), + swiperWithPagination = document.querySelector('#swiper-with-pagination'), + swiperWithProgress = document.querySelector('#swiper-with-progress'), + swiperWithScrollbar = document.querySelector('#swiper-with-scrollbar'), + verticalSwiper = document.querySelector('#swiper-vertical'), + swiperMultipleSlides = document.querySelector('#swiper-multiple-slides'), + swiper3dCoverflowEffect = document.querySelector('#swiper-3d-coverflow-effect'), + swiper3dCubeEffect = document.querySelector('#swiper-3d-cube-effect'), + swiper3dFlipEffect = document.querySelector('#swiper-3d-flip-effect'), + galleryThumbs = document.querySelector('.gallery-thumbs'), + galleryTop = document.querySelector('.gallery-top'); + let galleryInstance; + + // Default + // -------------------------------------------------------------------- + if (swiperDefault) { + new Swiper(swiperDefault, { + slidesPerView: 'auto' + }); + } + + // With arrows + // -------------------------------------------------------------------- + if (swiperWithArrows) { + new Swiper(swiperWithArrows, { + slidesPerView: 'auto', + navigation: { + prevEl: '.swiper-button-prev', + nextEl: '.swiper-button-next' + } + }); + } + + // With pagination + // -------------------------------------------------------------------- + if (swiperWithPagination) { + new Swiper(swiperWithPagination, { + slidesPerView: 'auto', + pagination: { + clickable: true, + el: '.swiper-pagination' + } + }); + } + + // With progress + // -------------------------------------------------------------------- + if (swiperWithProgress) { + new Swiper(swiperWithProgress, { + slidesPerView: 'auto', + pagination: { + type: 'progressbar', + el: '.swiper-pagination' + }, + navigation: { + prevEl: '.swiper-button-prev', + nextEl: '.swiper-button-next' + } + }); + } + + // With scrollbar + // -------------------------------------------------------------------- + if (swiperWithScrollbar) { + new Swiper(swiperWithScrollbar, { + scrollbar: { + hide: true, + el: '.swiper-scrollbar' + } + }); + } + + // Vertical + // -------------------------------------------------------------------- + if (verticalSwiper) { + new Swiper(verticalSwiper, { + direction: 'vertical', + pagination: { + clickable: true, + el: '.swiper-pagination' + } + }); + } + + // Multiple slides + // -------------------------------------------------------------------- + if (swiperMultipleSlides) { + new Swiper(swiperMultipleSlides, { + slidesPerView: 3, + spaceBetween: 30, + pagination: { + clickable: true, + el: '.swiper-pagination' + } + }); + } + + // 3D coverflow effect + // -------------------------------------------------------------------- + if (swiper3dCoverflowEffect) { + new Swiper(swiper3dCoverflowEffect, { + effect: 'coverflow', + grabCursor: true, + centeredSlides: true, + slidesPerView: 'auto', + coverflowEffect: { + rotate: 50, + stretch: 0, + depth: 100, + modifier: 1, + slideShadows: true + }, + pagination: { + el: '.swiper-pagination' + } + }); + } + + // 3D cube effect + // -------------------------------------------------------------------- + if (swiper3dCubeEffect) { + new Swiper(swiper3dCubeEffect, { + effect: 'cube', + grabCursor: true, + cubeEffect: { + shadow: true, + slideShadows: true, + shadowScale: 0.94, + shadowOffset: 20 + }, + pagination: { + el: '.swiper-pagination' + } + }); + } + + // 3D flip effect + // -------------------------------------------------------------------- + if (swiper3dFlipEffect) { + new Swiper(swiper3dFlipEffect, { + effect: 'flip', + grabCursor: true, + pagination: { + el: '.swiper-pagination' + }, + navigation: { + prevEl: '.swiper-button-prev', + nextEl: '.swiper-button-next' + } + }); + } + + // Gallery effect + // -------------------------------------------------------------------- + if (galleryThumbs) { + galleryInstance = new Swiper(galleryThumbs, { + spaceBetween: 10, + slidesPerView: 4, + freeMode: true, + watchSlidesVisibility: true, + watchSlidesProgress: true + }); + } + + if (galleryTop) { + new Swiper(galleryTop, { + spaceBetween: 10, + navigation: { + nextEl: '.swiper-button-next', + prevEl: '.swiper-button-prev' + }, + thumbs: { + swiper: galleryInstance + } + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/ui-menu.js b/httpdocs/themes/vuexy/js/ui-menu.js new file mode 100755 index 00000000..1936bd2a --- /dev/null +++ b/httpdocs/themes/vuexy/js/ui-menu.js @@ -0,0 +1,142 @@ +/** + * Menu + */ + +'use strict'; + +(function () { + // ? This JS is for menu demo purpose only + + // Vertical + const menu1 = document.querySelector('#menu-1'), + menu1Btn = document.querySelector('#menu-1-toggle-collapsed'); + + if (menu1) { + new Menu(menu1); + } + if (menu1Btn) { + menu1Btn.onclick = function () { + menu1.classList.toggle('menu-collapsed'); + }; + } + + // Horizontal + const menu2 = document.querySelector('#menu-2'); + if (menu2) { + new Menu(menu2, { + orientation: 'horizontal' + }); + } + + // Horizontal (Show dropdown on hover) + const menu3 = document.querySelector('#menu-3'); + if (menu3) { + new Menu(menu3, { + orientation: 'horizontal', + showDropdownOnHover: true + }); + } + + // No animation + const menu5 = document.querySelector('#menu-5'), + menu5Btn = document.querySelector('#menu-5-toggle-collapsed'); + if (menu5) { + new Menu(menu5, { + animate: false + }); + } + + if (menu5Btn) { + menu5Btn.onclick = function () { + menu5.classList.toggle('menu-collapsed'); + }; + } + const menu6 = document.querySelector('#menu-6'); + if (menu6) { + new Menu(menu6, { + orientation: 'horizontal', + animate: false, + closeChildren: true + }); + } + + // No accordion + const menu7 = document.querySelector('#menu-7'), + menu7Btn = document.querySelector('#menu-7-toggle-collapsed'); + if (menu7) { + new Menu(menu7, { + accordion: false + }); + } + if (menu7Btn) { + menu7Btn.onclick = function () { + menu7.classList.toggle('menu-collapsed'); + }; + } + + const menu8 = document.querySelector('#menu-8'); + if (menu8) { + new Menu(menu8, { + orientation: 'horizontal', + accordion: false + }); + } + + // Elements + const menus9List = document.querySelectorAll('.menus-9'), + menu9Btn = document.querySelector('#menus-9-toggle-collapsed'); + if (menus9List) { + menus9List.forEach(e => { + new Menu(e); + }); + } + if (menu9Btn) { + menu9Btn.onclick = function () { + menus9List.forEach(e => { + e.classList.toggle('menu-collapsed'); + }); + }; + } + + // Colors (vertical) + const menus10List = document.querySelectorAll('.menus-10'), + menu10Btn = document.querySelector('#menus-10-toggle-collapsed'); + if (menus10List) { + menus10List.forEach(e => { + new Menu(e); + }); + } + if (menu10Btn) { + menu10Btn.onclick = function () { + menus10List.forEach(e => { + e.classList.toggle('menu-collapsed'); + }); + }; + } + + // Colors (horizontal) + const menus11List = document.querySelectorAll('.menus-11'); + if (menus11List) { + menus11List.forEach(e => { + new Menu(e, { + orientation: 'horizontal' + }); + }); + } + + // With background (For Docs) + const menus12List = document.querySelectorAll('.menus-12'), + menu12Btn = document.querySelector('#menus-12-toggle-collapsed'); + if (menus12List) { + menus12List.forEach(e => { + new Menu(e); + }); + } + if (menu12Btn) { + menu12Btn.onclick = function () { + menus12List.forEach(e => { + e.classList.toggle('menu-collapsed'); + }); + }; + } +})(); diff --git a/httpdocs/themes/vuexy/js/ui-modals.js b/httpdocs/themes/vuexy/js/ui-modals.js new file mode 100755 index 00000000..476ed8ee --- /dev/null +++ b/httpdocs/themes/vuexy/js/ui-modals.js @@ -0,0 +1,57 @@ +/** + * UI Modals + */ + +'use strict'; + +(function () { + // Animation Dropdown + const animationDropdown = document.querySelector('#animation-dropdown'), + animationModal = document.querySelector('#animationModal'); + if (animationDropdown) { + animationDropdown.onchange = function () { + animationModal.classList = ''; + animationModal.classList.add('modal', 'animate__animated', this.value); + }; + } + + // On hiding modal, remove iframe video/audio to stop playing + const youTubeModal = document.querySelector('#youTubeModal'), + youTubeModalVideo = youTubeModal.querySelector('iframe'); + youTubeModal.addEventListener('hidden.bs.modal', function () { + youTubeModalVideo.setAttribute('src', ''); + }); + + // Function to get and auto play youTube video + const autoPlayYouTubeModal = function () { + const modalTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="modal"]')); + modalTriggerList.map(function (modalTriggerEl) { + modalTriggerEl.onclick = function () { + const theModal = this.getAttribute('data-bs-target'), + videoSRC = this.getAttribute('data-theVideo'), + videoSRCauto = `${videoSRC}?autoplay=1`, + modalVideo = document.querySelector(`${theModal} iframe`); + if (modalVideo) { + modalVideo.setAttribute('src', videoSRCauto); + } + }; + }); + }; + + // Calling function on load + autoPlayYouTubeModal(); + + // Onboarding modal carousel height animation + document.querySelectorAll('.carousel').forEach(carousel => { + carousel.addEventListener('slide.bs.carousel', event => { + // ! Todo: Convert to JS (animation) (jquery) + var nextH = $(event.relatedTarget).height(); + $(carousel).find('.active.carousel-item').parent().animate( + { + height: nextH + }, + 500 + ); + }); + }); +})(); diff --git a/httpdocs/themes/vuexy/js/ui-navbar.js b/httpdocs/themes/vuexy/js/ui-navbar.js new file mode 100755 index 00000000..62cfcbbf --- /dev/null +++ b/httpdocs/themes/vuexy/js/ui-navbar.js @@ -0,0 +1,19 @@ +/** + * UI Navbar + */ +'use strict'; + +(function () { + // If layout is RTL add .dropdown-menu-end class to .dropdown-menu + if (isRtl) { + Helpers._addClass('dropdown-menu-end', document.querySelectorAll('.dropdown-menu')); + } + + // Mega dropdown + const megaDropdown = document.querySelectorAll('.nav-link.mega-dropdown'); + if (megaDropdown) { + megaDropdown.forEach(e => { + new MegaDropdown(e); + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/ui-popover.js b/httpdocs/themes/vuexy/js/ui-popover.js new file mode 100755 index 00000000..33dd1e01 --- /dev/null +++ b/httpdocs/themes/vuexy/js/ui-popover.js @@ -0,0 +1,12 @@ +// /** +// * UI Tooltips & Popovers +// */ + +'use strict'; + +(function () { + const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')); + const popoverList = popoverTriggerList.map(function (popoverTriggerEl) { + return new bootstrap.Popover(popoverTriggerEl); + }); +})(); diff --git a/httpdocs/themes/vuexy/js/ui-toasts.js b/httpdocs/themes/vuexy/js/ui-toasts.js new file mode 100755 index 00000000..ece6be5c --- /dev/null +++ b/httpdocs/themes/vuexy/js/ui-toasts.js @@ -0,0 +1,211 @@ +/** + * UI Toasts + */ + +'use strict'; + +(function () { + // Bootstrap toasts example + // -------------------------------------------------------------------- + const toastAnimationExample = document.querySelector('.toast-ex'), + toastPlacementExample = document.querySelector('.toast-placement-ex'), + toastAnimationBtn = document.querySelector('#showToastAnimation'), + toastPlacementBtn = document.querySelector('#showToastPlacement'); + let selectedType, selectedAnimation, selectedPlacement, toast, toastAnimation, toastPlacement; + + // Animation Button click + if (toastAnimationBtn) { + toastAnimationBtn.onclick = function () { + if (toastAnimation) { + toastDispose(toastAnimation); + } + selectedType = document.querySelector('#selectType').value; + selectedAnimation = document.querySelector('#selectAnimation').value; + toastAnimationExample.classList.add(selectedAnimation); + toastAnimationExample.querySelector('.ti').classList.add(selectedType); + toastAnimation = new bootstrap.Toast(toastAnimationExample); + toastAnimation.show(); + }; + } + + // Dispose toast when open another + function toastDispose(toast) { + if (toast && toast._element !== null) { + if (toastPlacementExample) { + toastPlacementExample.classList.remove(selectedType); + toastPlacementExample.querySelector('.ti').classList.remove(selectedType); + DOMTokenList.prototype.remove.apply(toastPlacementExample.classList, selectedPlacement); + } + if (toastAnimationExample) { + toastAnimationExample.classList.remove(selectedType, selectedAnimation); + toastAnimationExample.querySelector('.ti').classList.remove(selectedType); + } + toast.dispose(); + } + } + // Placement Button click + if (toastPlacementBtn) { + toastPlacementBtn.onclick = function () { + if (toastPlacement) { + toastDispose(toastPlacement); + } + selectedType = document.querySelector('#selectTypeOpt').value; + selectedPlacement = document.querySelector('#selectPlacement').value.split(' '); + + toastPlacementExample.querySelector('.ti').classList.add(selectedType); + DOMTokenList.prototype.add.apply(toastPlacementExample.classList, selectedPlacement); + toastPlacement = new bootstrap.Toast(toastPlacementExample); + toastPlacement.show(); + }; + } +})(); + +//Toastr (jquery) +// -------------------------------------------------------------------- +$(function () { + var i = -1; + var toastCount = 0; + var $toastlast; + var getMessage = function () { + var msgs = [ + "Don't be pushed around by the fears in your mind. Be led by the dreams in your heart.", + '
          ', + 'Live the Life of Your Dreams', + 'Believe in Your Self!', + 'Be mindful. Be grateful. Be positive.', + 'Accept yourself, love yourself!' + ]; + i++; + if (i === msgs.length) { + i = 0; + } + return msgs[i]; + }; + var getMessageWithClearButton = function (msg) { + msg = msg ? msg : 'Clear itself?'; + msg += '

          '; + return msg; + }; + $('#closeButton').on('click', function () { + if ($(this).is(':checked')) { + $('#addBehaviorOnToastCloseClick').prop('disabled', false); + } else { + $('#addBehaviorOnToastCloseClick').prop('disabled', true); + $('#addBehaviorOnToastCloseClick').prop('checked', false); + } + }); + $('#showtoast').on('click', function () { + var shortCutFunction = $('#toastTypeGroup input:radio:checked').val(), + isRtl = $('html').attr('dir') === 'rtl', + msg = $('#message').val(), + title = $('#title').val() || '', + $showDuration = $('#showDuration'), + $hideDuration = $('#hideDuration'), + $timeOut = $('#timeOut'), + $extendedTimeOut = $('#extendedTimeOut'), + $showEasing = $('#showEasing'), + $hideEasing = $('#hideEasing'), + $showMethod = $('#showMethod'), + $hideMethod = $('#hideMethod'), + toastIndex = toastCount++, + addClear = $('#addClear').prop('checked'), + prePositionClass = 'toast-top-right'; + + prePositionClass = + typeof toastr.options.positionClass === 'undefined' ? 'toast-top-right' : toastr.options.positionClass; + + toastr.options = { + maxOpened: 1, + autoDismiss: true, + closeButton: $('#closeButton').prop('checked'), + debug: $('#debugInfo').prop('checked'), + newestOnTop: $('#newestOnTop').prop('checked'), + progressBar: $('#progressBar').prop('checked'), + positionClass: $('#positionGroup input:radio:checked').val() || 'toast-top-right', + preventDuplicates: $('#preventDuplicates').prop('checked'), + onclick: null, + rtl: isRtl + }; + + //Add fix for multiple toast open while changing the position + if (prePositionClass != toastr.options.positionClass) { + toastr.options.hideDuration = 0; + toastr.clear(); + } + + if ($('#addBehaviorOnToastClick').prop('checked')) { + toastr.options.onclick = function () { + alert('You can perform some custom action after a toast goes away'); + }; + } + if ($('#addBehaviorOnToastCloseClick').prop('checked')) { + toastr.options.onCloseClick = function () { + alert('You can perform some custom action when the close button is clicked'); + }; + } + if ($showDuration.val().length) { + toastr.options.showDuration = parseInt($showDuration.val()); + } + if ($hideDuration.val().length) { + toastr.options.hideDuration = parseInt($hideDuration.val()); + } + if ($timeOut.val().length) { + toastr.options.timeOut = addClear ? 0 : parseInt($timeOut.val()); + } + if ($extendedTimeOut.val().length) { + toastr.options.extendedTimeOut = addClear ? 0 : parseInt($extendedTimeOut.val()); + } + if ($showEasing.val().length) { + toastr.options.showEasing = $showEasing.val(); + } + if ($hideEasing.val().length) { + toastr.options.hideEasing = $hideEasing.val(); + } + if ($showMethod.val().length) { + toastr.options.showMethod = $showMethod.val(); + } + if ($hideMethod.val().length) { + toastr.options.hideMethod = $hideMethod.val(); + } + if (addClear) { + msg = getMessageWithClearButton(msg); + toastr.options.tapToDismiss = false; + } + if (!msg) { + msg = getMessage(); + } + var $toast = toastr[shortCutFunction](msg, title); // Wire up an event handler to a button in the toast, if it exists + $toastlast = $toast; + if (typeof $toast === 'undefined') { + return; + } + if ($toast.find('#okBtn').length) { + $toast.delegate('#okBtn', 'click', function () { + alert('you clicked me. i was toast #' + toastIndex + '. goodbye!'); + $toast.remove(); + }); + } + if ($toast.find('#surpriseBtn').length) { + $toast.delegate('#surpriseBtn', 'click', function () { + alert('Surprise! you clicked me. i was toast #' + toastIndex + '. You could perform an action here.'); + }); + } + if ($toast.find('.clear').length) { + $toast.delegate('.clear', 'click', function () { + toastr.clear($toast, { + force: true + }); + }); + } + }); + + function getLastToast() { + return $toastlast; + } + $('#clearlasttoast').on('click', function () { + toastr.clear(getLastToast()); + }); + $('#cleartoasts').on('click', function () { + toastr.clear(); + }); +}); diff --git a/httpdocs/themes/vuexy/js/wizard-ex-checkout.js b/httpdocs/themes/vuexy/js/wizard-ex-checkout.js new file mode 100755 index 00000000..42c7ffa4 --- /dev/null +++ b/httpdocs/themes/vuexy/js/wizard-ex-checkout.js @@ -0,0 +1,217 @@ +/** + * Form Wizard + */ + +'use strict'; + +// rateyo (jquery) +$(function () { + var readOnlyRating = $('.read-only-ratings'); + + // Star rating + if (readOnlyRating) { + readOnlyRating.rateYo({ + rtl: isRtl, + rating: 4, + starWidth: '20px' + }); + } +}); + +(function () { + // Init custom option check + window.Helpers.initCustomOptionCheck(); + + // libs + const creditCardMask = document.querySelector('.credit-card-mask'), + expiryDateMask = document.querySelector('.expiry-date-mask'), + cvvMask = document.querySelector('.cvv-code-mask'); + + // Credit Card + if (creditCardMask) { + new Cleave(creditCardMask, { + creditCard: true, + onCreditCardTypeChanged: function (type) { + if (type != '' && type != 'unknown') { + document.querySelector('.card-type').innerHTML = + ''; + } else { + document.querySelector('.card-type').innerHTML = ''; + } + } + }); + } + // Expiry Date Mask + if (expiryDateMask) { + new Cleave(expiryDateMask, { + date: true, + delimiter: '/', + datePattern: ['m', 'y'] + }); + } + + // CVV + if (cvvMask) { + new Cleave(cvvMask, { + numeral: true, + numeralPositiveOnly: true + }); + } + + // Wizard Checkout + // -------------------------------------------------------------------- + + const wizardCheckout = document.querySelector('#wizard-checkout'); + if (typeof wizardCheckout !== undefined && wizardCheckout !== null) { + // Wizard form + const wizardCheckoutForm = wizardCheckout.querySelector('#wizard-checkout-form'); + // Wizard steps + const wizardCheckoutFormStep1 = wizardCheckoutForm.querySelector('#checkout-cart'); + const wizardCheckoutFormStep2 = wizardCheckoutForm.querySelector('#checkout-address'); + const wizardCheckoutFormStep3 = wizardCheckoutForm.querySelector('#checkout-payment'); + const wizardCheckoutFormStep4 = wizardCheckoutForm.querySelector('#checkout-confirmation'); + // Wizard next prev button + const wizardCheckoutNext = [].slice.call(wizardCheckoutForm.querySelectorAll('.btn-next')); + const wizardCheckoutPrev = [].slice.call(wizardCheckoutForm.querySelectorAll('.btn-prev')); + + let validationStepper = new Stepper(wizardCheckout, { + linear: false + }); + + // Cart + const FormValidation1 = FormValidation.formValidation(wizardCheckoutFormStep1, { + fields: { + // * Validate the fields here based on your requirements + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '' + // rowSelector: '.col-lg-6' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // Jump to the next step when all fields in the current step are valid + validationStepper.next(); + }); + + // Address + const FormValidation2 = FormValidation.formValidation(wizardCheckoutFormStep2, { + fields: { + // * Validate the fields here based on your requirements + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '' + // rowSelector: '.col-lg-6' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // Jump to the next step when all fields in the current step are valid + validationStepper.next(); + }); + + // Payment + const FormValidation3 = FormValidation.formValidation(wizardCheckoutFormStep3, { + fields: { + // * Validate the fields here based on your requirements + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '' + // rowSelector: '.col-lg-6' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + validationStepper.next(); + }); + + // Confirmation + const FormValidation4 = FormValidation.formValidation(wizardCheckoutFormStep4, { + fields: { + // * Validate the fields here based on your requirements + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-md-12' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // You can submit the form + // wizardCheckoutForm.submit() + // or send the form data to server via an Ajax request + // To make the demo simple, I just placed an alert + alert('Submitted..!!'); + }); + + wizardCheckoutNext.forEach(item => { + item.addEventListener('click', event => { + // When click the Next button, we will validate the current step + switch (validationStepper._currentIndex) { + case 0: + FormValidation1.validate(); + break; + + case 1: + FormValidation2.validate(); + break; + + case 2: + FormValidation3.validate(); + break; + + case 3: + FormValidation4.validate(); + break; + + default: + break; + } + }); + }); + + wizardCheckoutPrev.forEach(item => { + item.addEventListener('click', event => { + switch (validationStepper._currentIndex) { + case 3: + validationStepper.previous(); + break; + + case 2: + validationStepper.previous(); + break; + + case 1: + validationStepper.previous(); + break; + + case 0: + + default: + break; + } + }); + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/wizard-ex-create-deal.js b/httpdocs/themes/vuexy/js/wizard-ex-create-deal.js new file mode 100755 index 00000000..b431710b --- /dev/null +++ b/httpdocs/themes/vuexy/js/wizard-ex-create-deal.js @@ -0,0 +1,243 @@ +/** + * Form Wizard + */ + +'use strict'; + +(function () { + // flatpickrRange + const flatpickrRange = document.querySelector('#dealDuration'); + if (flatpickrRange) { + flatpickrRange.flatpickr({ + mode: 'range' + }); + } + + // Init custom option check + window.Helpers.initCustomOptionCheck(); + // Vertical Wizard + // -------------------------------------------------------------------- + + const wizardCreateDeal = document.querySelector('#wizard-create-deal'); + if (typeof wizardCreateDeal !== undefined && wizardCreateDeal !== null) { + // Wizard form + const wizardCreateDealForm = wizardCreateDeal.querySelector('#wizard-create-deal-form'); + // Wizard steps + const wizardCreateDealFormStep1 = wizardCreateDealForm.querySelector('#deal-type'); + const wizardCreateDealFormStep2 = wizardCreateDealForm.querySelector('#deal-details'); + const wizardCreateDealFormStep3 = wizardCreateDealForm.querySelector('#deal-usage'); + const wizardCreateDealFormStep4 = wizardCreateDealForm.querySelector('#review-complete'); + // Wizard next prev button + const wizardCreateDealNext = [].slice.call(wizardCreateDealForm.querySelectorAll('.btn-next')); + const wizardCreateDealPrev = [].slice.call(wizardCreateDealForm.querySelectorAll('.btn-prev')); + + let validationStepper = new Stepper(wizardCreateDeal, { + linear: true + }); + + // Deal Type + const FormValidation1 = FormValidation.formValidation(wizardCreateDealFormStep1, { + fields: { + dealAmount: { + validators: { + notEmpty: { + message: 'Please enter amount' + }, + numeric: { + message: 'The amount must be a number' + } + } + }, + dealRegion: { + validators: { + notEmpty: { + message: 'Please select region' + } + } + } + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-sm-6' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // Jump to the next step when all fields in the current step are valid + validationStepper.next(); + }); + + // select2 (Region) + const dealRegion = $('#dealRegion'); + if (dealRegion.length) { + dealRegion.wrap('
          '); + dealRegion + .select2({ + placeholder: 'Select an region', + dropdownParent: dealRegion.parent() + }) + .on('change.select2', function () { + // Revalidate the region field when an option is chosen + FormValidation1.revalidateField('dealRegion'); + }); + } + + // Deal Details + const FormValidation2 = FormValidation.formValidation(wizardCreateDealFormStep2, { + fields: { + // * Validate the fields here based on your requirements + dealTitle: { + validators: { + notEmpty: { + message: 'Please enter deal title' + } + } + }, + dealCode: { + validators: { + notEmpty: { + message: 'Please enter deal code' + }, + stringLength: { + min: 4, + max: 10, + message: 'The deal code must be more than 4 and less than 10 characters long' + }, + regexp: { + regexp: /^[A-Z0-9]+$/, + message: 'The deal code can only consist of capital alphabetical and number' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-sm-6' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // Jump to the next step when all fields in the current step are valid + validationStepper.next(); + }); + + // select2 (Offered Item) + const dealOfferedItem = $('#dealOfferedItem'); + if (dealOfferedItem.length) { + dealOfferedItem.wrap('
          '); + dealOfferedItem + .select2({ + placeholder: 'Select an offered item', + dropdownParent: dealOfferedItem.parent() + }) + .on('change.select2', function () { + // Revalidate the field if needed when an option is chosen + // FormValidation2.revalidateField('dealOfferedItem'); + }); + } + + // Deal Usage + const FormValidation3 = FormValidation.formValidation(wizardCreateDealFormStep3, { + fields: { + // * Validate the fields here based on your requirements + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-sm-6' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + validationStepper.next(); + }); + + // Deal Usage + const FormValidation4 = FormValidation.formValidation(wizardCreateDealFormStep4, { + fields: { + // * Validate the fields here based on your requirements + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-md-12' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // You can submit the form + // wizardCreateDealForm.submit() + // or send the form data to server via an Ajax request + // To make the demo simple, I just placed an alert + alert('Submitted..!!'); + }); + + wizardCreateDealNext.forEach(item => { + item.addEventListener('click', event => { + // When click the Next button, we will validate the current step + switch (validationStepper._currentIndex) { + case 0: + FormValidation1.validate(); + break; + + case 1: + FormValidation2.validate(); + break; + + case 2: + FormValidation3.validate(); + break; + + case 3: + FormValidation4.validate(); + break; + + default: + break; + } + }); + }); + + wizardCreateDealPrev.forEach(item => { + item.addEventListener('click', event => { + switch (validationStepper._currentIndex) { + case 3: + validationStepper.previous(); + break; + + case 2: + validationStepper.previous(); + break; + + case 1: + validationStepper.previous(); + break; + + case 0: + + default: + break; + } + }); + }); + } +})(); diff --git a/httpdocs/themes/vuexy/js/wizard-ex-property-listing.js b/httpdocs/themes/vuexy/js/wizard-ex-property-listing.js new file mode 100755 index 00000000..4f368898 --- /dev/null +++ b/httpdocs/themes/vuexy/js/wizard-ex-property-listing.js @@ -0,0 +1,316 @@ +/** + * Form Wizard + */ + +'use strict'; + +(function () { + // Init custom option check + window.Helpers.initCustomOptionCheck(); + + const flatpickrRange = document.querySelector('.flatpickr'), + phoneMask = document.querySelector('.contact-number-mask'), + plCountry = $('#plCountry'), + plFurnishingDetailsSuggestionEl = document.querySelector('#plFurnishingDetails'); + + // Phone Number Input Mask + if (phoneMask) { + new Cleave(phoneMask, { + phone: true, + phoneRegionCode: 'US' + }); + } + + // select2 (Country) + + if (plCountry) { + plCountry.wrap('
          '); + plCountry.select2({ + placeholder: 'Select country', + dropdownParent: plCountry.parent() + }); + } + + if (flatpickrRange) { + flatpickrRange.flatpickr(); + } + + // Tagify (Furnishing details) + const furnishingList = [ + 'Fridge', + 'TV', + 'AC', + 'WiFi', + 'RO', + 'Washing Machine', + 'Sofa', + 'Bed', + 'Dining Table', + 'Microwave', + 'Cupboard' + ]; + if (plFurnishingDetailsSuggestionEl) { + const plFurnishingDetailsSuggestion = new Tagify(plFurnishingDetailsSuggestionEl, { + whitelist: furnishingList, + maxTags: 10, + dropdown: { + maxItems: 20, + classname: 'tags-inline', + enabled: 0, + closeOnSelect: false + } + }); + } + + // Vertical Wizard + // -------------------------------------------------------------------- + + const wizardPropertyListing = document.querySelector('#wizard-property-listing'); + if (typeof wizardPropertyListing !== undefined && wizardPropertyListing !== null) { + // Wizard form + const wizardPropertyListingForm = wizardPropertyListing.querySelector('#wizard-property-listing-form'); + // Wizard steps + const wizardPropertyListingFormStep1 = wizardPropertyListingForm.querySelector('#personal-details'); + const wizardPropertyListingFormStep2 = wizardPropertyListingForm.querySelector('#property-details'); + const wizardPropertyListingFormStep3 = wizardPropertyListingForm.querySelector('#property-features'); + const wizardPropertyListingFormStep4 = wizardPropertyListingForm.querySelector('#property-area'); + const wizardPropertyListingFormStep5 = wizardPropertyListingForm.querySelector('#price-details'); + // Wizard next prev button + const wizardPropertyListingNext = [].slice.call(wizardPropertyListingForm.querySelectorAll('.btn-next')); + const wizardPropertyListingPrev = [].slice.call(wizardPropertyListingForm.querySelectorAll('.btn-prev')); + + const validationStepper = new Stepper(wizardPropertyListing, { + linear: true + }); + + // Personal Details + const FormValidation1 = FormValidation.formValidation(wizardPropertyListingFormStep1, { + fields: { + // * Validate the fields here based on your requirements + plFirstName: { + validators: { + notEmpty: { + message: 'Please enter your first name' + } + } + }, + plLastName: { + validators: { + notEmpty: { + message: 'Please enter your first name' + } + } + } + }, + + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-sm-6' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + }, + init: instance => { + instance.on('plugins.message.placed', function (e) { + //* Move the error message out of the `input-group` element + if (e.element.parentElement.classList.contains('input-group')) { + e.element.parentElement.insertAdjacentElement('afterend', e.messageElement); + } + }); + } + }).on('core.form.valid', function () { + // Jump to the next step when all fields in the current step are valid + validationStepper.next(); + }); + + // Property Details + const FormValidation2 = FormValidation.formValidation(wizardPropertyListingFormStep2, { + fields: { + // * Validate the fields here based on your requirements + + plPropertyType: { + validators: { + notEmpty: { + message: 'Please select property type' + } + } + }, + plZipCode: { + validators: { + notEmpty: { + message: 'Please enter zip code' + }, + stringLength: { + min: 4, + max: 10, + message: 'The zip code must be more than 4 and less than 10 characters long' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: function (field, ele) { + // field is the field name & ele is the field element + switch (field) { + case 'plAddress': + return '.col-lg-12'; + default: + return '.col-sm-6'; + } + } + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // Jump to the next step when all fields in the current step are valid + validationStepper.next(); + }); + + // select2 (Property type) + const plPropertyType = $('#plPropertyType'); + if (plPropertyType.length) { + plPropertyType.wrap('
          '); + plPropertyType + .select2({ + placeholder: 'Select property type', + dropdownParent: plPropertyType.parent() + }) + .on('change.select2', function () { + // Revalidate the color field when an option is chosen + FormValidation2.revalidateField('plPropertyType'); + }); + } + + // Property Features + const FormValidation3 = FormValidation.formValidation(wizardPropertyListingFormStep3, { + fields: { + // * Validate the fields here based on your requirements + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-sm-6' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + validationStepper.next(); + }); + + // Property Area + const FormValidation4 = FormValidation.formValidation(wizardPropertyListingFormStep4, { + fields: { + // * Validate the fields here based on your requirements + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-md-12' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // Jump to the next step when all fields in the current step are valid + validationStepper.next(); + }); + + // Price Details + const FormValidation5 = FormValidation.formValidation(wizardPropertyListingFormStep5, { + fields: { + // * Validate the fields here based on your requirements + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + // Use this for enabling/changing valid/invalid class + // eleInvalidClass: '', + eleValidClass: '', + rowSelector: '.col-md-12' + }), + autoFocus: new FormValidation.plugins.AutoFocus(), + submitButton: new FormValidation.plugins.SubmitButton() + } + }).on('core.form.valid', function () { + // You can submit the form + // wizardPropertyListingForm.submit() + // or send the form data to server via an Ajax request + // To make the demo simple, I just placed an alert + alert('Submitted..!!'); + }); + + wizardPropertyListingNext.forEach(item => { + item.addEventListener('click', event => { + // When click the Next button, we will validate the current step + switch (validationStepper._currentIndex) { + case 0: + FormValidation1.validate(); + break; + + case 1: + FormValidation2.validate(); + break; + + case 2: + FormValidation3.validate(); + break; + + case 3: + FormValidation4.validate(); + break; + + case 4: + FormValidation5.validate(); + break; + + default: + break; + } + }); + }); + + wizardPropertyListingPrev.forEach(item => { + item.addEventListener('click', event => { + switch (validationStepper._currentIndex) { + case 4: + validationStepper.previous(); + break; + + case 3: + validationStepper.previous(); + break; + + case 2: + validationStepper.previous(); + break; + + case 1: + validationStepper.previous(); + break; + + case 0: + + default: + break; + } + }); + }); + } +})(); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ar_MA.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ar_MA.js new file mode 100755 index 00000000..2832dd9f --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ar_MA.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ar_MA = factory())); +})(this, (function () { 'use strict'; + + /** + * Arabic language package + * Translated by @Arkni + */ + + var ar_MA = { + base64: { + default: 'الرجاء إدخال قيمة مشفرة طبقا للقاعدة 64.', + }, + between: { + default: 'الرجاء إدخال قيمة بين %s و %s .', + notInclusive: 'الرجاء إدخال قيمة بين %s و %s بدقة.', + }, + bic: { + default: 'الرجاء إدخال رقم BIC صالح.', + }, + callback: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + choice: { + between: 'الرجاء إختيار %s-%s خيارات.', + default: 'الرجاء إدخال قيمة صالحة.', + less: 'الرجاء اختيار %s خيارات كحد أدنى.', + more: 'الرجاء اختيار %s خيارات كحد أقصى.', + }, + color: { + default: 'الرجاء إدخال رمز لون صالح.', + }, + creditCard: { + default: 'الرجاء إدخال رقم بطاقة إئتمان صحيح.', + }, + cusip: { + default: 'الرجاء إدخال رقم CUSIP صالح.', + }, + date: { + default: 'الرجاء إدخال تاريخ صالح.', + max: 'الرجاء إدخال تاريخ قبل %s.', + min: 'الرجاء إدخال تاريخ بعد %s.', + range: 'الرجاء إدخال تاريخ في المجال %s - %s.', + }, + different: { + default: 'الرجاء إدخال قيمة مختلفة.', + }, + digits: { + default: 'الرجاء إدخال الأرقام فقط.', + }, + ean: { + default: 'الرجاء إدخال رقم EAN صالح.', + }, + ein: { + default: 'الرجاء إدخال رقم EIN صالح.', + }, + emailAddress: { + default: 'الرجاء إدخال بريد إلكتروني صحيح.', + }, + file: { + default: 'الرجاء إختيار ملف صالح.', + }, + greaterThan: { + default: 'الرجاء إدخال قيمة أكبر من أو تساوي %s.', + notInclusive: 'الرجاء إدخال قيمة أكبر من %s.', + }, + grid: { + default: 'الرجاء إدخال رقم GRid صالح.', + }, + hex: { + default: 'الرجاء إدخال رقم ست عشري صالح.', + }, + iban: { + countries: { + AD: 'أندورا', + AE: 'الإمارات العربية المتحدة', + AL: 'ألبانيا', + AO: 'أنغولا', + AT: 'النمسا', + AZ: 'أذربيجان', + BA: 'البوسنة والهرسك', + BE: 'بلجيكا', + BF: 'بوركينا فاسو', + BG: 'بلغاريا', + BH: 'البحرين', + BI: 'بوروندي', + BJ: 'بنين', + BR: 'البرازيل', + CH: 'سويسرا', + CI: 'ساحل العاج', + CM: 'الكاميرون', + CR: 'كوستاريكا', + CV: 'الرأس الأخضر', + CY: 'قبرص', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + DO: 'جمهورية الدومينيكان', + DZ: 'الجزائر', + EE: 'إستونيا', + ES: 'إسبانيا', + FI: 'فنلندا', + FO: 'جزر فارو', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + GE: 'جورجيا', + GI: 'جبل طارق', + GL: 'جرينلاند', + GR: 'اليونان', + GT: 'غواتيمالا', + HR: 'كرواتيا', + HU: 'المجر', + IE: 'أيرلندا', + IL: 'إسرائيل', + IR: 'إيران', + IS: 'آيسلندا', + IT: 'إيطاليا', + JO: 'الأردن', + KW: 'الكويت', + KZ: 'كازاخستان', + LB: 'لبنان', + LI: 'ليختنشتاين', + LT: 'ليتوانيا', + LU: 'لوكسمبورغ', + LV: 'لاتفيا', + MC: 'موناكو', + MD: 'مولدوفا', + ME: 'الجبل الأسود', + MG: 'مدغشقر', + MK: 'جمهورية مقدونيا', + ML: 'مالي', + MR: 'موريتانيا', + MT: 'مالطا', + MU: 'موريشيوس', + MZ: 'موزمبيق', + NL: 'هولندا', + NO: 'النرويج', + PK: 'باكستان', + PL: 'بولندا', + PS: 'فلسطين', + PT: 'البرتغال', + QA: 'قطر', + RO: 'رومانيا', + RS: 'صربيا', + SA: 'المملكة العربية السعودية', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + SM: 'سان مارينو', + SN: 'السنغال', + TL: 'تيمور الشرقية', + TN: 'تونس', + TR: 'تركيا', + VG: 'جزر العذراء البريطانية', + XK: 'جمهورية كوسوفو', + }, + country: 'الرجاء إدخال رقم IBAN صالح في %s.', + default: 'الرجاء إدخال رقم IBAN صالح.', + }, + id: { + countries: { + BA: 'البوسنة والهرسك', + BG: 'بلغاريا', + BR: 'البرازيل', + CH: 'سويسرا', + CL: 'تشيلي', + CN: 'الصين', + CZ: 'التشيك', + DK: 'الدنمارك', + EE: 'إستونيا', + ES: 'إسبانيا', + FI: 'فنلندا', + HR: 'كرواتيا', + IE: 'أيرلندا', + IS: 'آيسلندا', + LT: 'ليتوانيا', + LV: 'لاتفيا', + ME: 'الجبل الأسود', + MK: 'جمهورية مقدونيا', + NL: 'هولندا', + PL: 'بولندا', + RO: 'رومانيا', + RS: 'صربيا', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + SM: 'سان مارينو', + TH: 'تايلاند', + TR: 'تركيا', + ZA: 'جنوب أفريقيا', + }, + country: 'الرجاء إدخال رقم تعريف صالح في %s.', + default: 'الرجاء إدخال رقم هوية صالحة.', + }, + identical: { + default: 'الرجاء إدخال نفس القيمة.', + }, + imei: { + default: 'الرجاء إدخال رقم IMEI صالح.', + }, + imo: { + default: 'الرجاء إدخال رقم IMO صالح.', + }, + integer: { + default: 'الرجاء إدخال رقم صحيح.', + }, + ip: { + default: 'الرجاء إدخال عنوان IP صالح.', + ipv4: 'الرجاء إدخال عنوان IPv4 صالح.', + ipv6: 'الرجاء إدخال عنوان IPv6 صالح.', + }, + isbn: { + default: 'الرجاء إدخال رقم ISBN صالح.', + }, + isin: { + default: 'الرجاء إدخال رقم ISIN صالح.', + }, + ismn: { + default: 'الرجاء إدخال رقم ISMN صالح.', + }, + issn: { + default: 'الرجاء إدخال رقم ISSN صالح.', + }, + lessThan: { + default: 'الرجاء إدخال قيمة أصغر من أو تساوي %s.', + notInclusive: 'الرجاء إدخال قيمة أصغر من %s.', + }, + mac: { + default: 'يرجى إدخال عنوان MAC صالح.', + }, + meid: { + default: 'الرجاء إدخال رقم MEID صالح.', + }, + notEmpty: { + default: 'الرجاء إدخال قيمة.', + }, + numeric: { + default: 'الرجاء إدخال عدد عشري صالح.', + }, + phone: { + countries: { + AE: 'الإمارات العربية المتحدة', + BG: 'بلغاريا', + BR: 'البرازيل', + CN: 'الصين', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + ES: 'إسبانيا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + IN: 'الهند', + MA: 'المغرب', + NL: 'هولندا', + PK: 'باكستان', + RO: 'رومانيا', + RU: 'روسيا', + SK: 'سلوفاكيا', + TH: 'تايلاند', + US: 'الولايات المتحدة', + VE: 'فنزويلا', + }, + country: 'الرجاء إدخال رقم هاتف صالح في %s.', + default: 'الرجاء إدخال رقم هاتف صحيح.', + }, + promise: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + regexp: { + default: 'الرجاء إدخال قيمة مطابقة للنمط.', + }, + remote: { + default: 'الرجاء إدخال قيمة صالحة.', + }, + rtn: { + default: 'الرجاء إدخال رقم RTN صالح.', + }, + sedol: { + default: 'الرجاء إدخال رقم SEDOL صالح.', + }, + siren: { + default: 'الرجاء إدخال رقم SIREN صالح.', + }, + siret: { + default: 'الرجاء إدخال رقم SIRET صالح.', + }, + step: { + default: 'الرجاء إدخال قيمة من مضاعفات %s .', + }, + stringCase: { + default: 'الرجاء إدخال أحرف صغيرة فقط.', + upper: 'الرجاء إدخال أحرف كبيرة فقط.', + }, + stringLength: { + between: 'الرجاء إدخال قيمة ذات عدد حروف بين %s و %s حرفا.', + default: 'الرجاء إدخال قيمة ذات طول صحيح.', + less: 'الرجاء إدخال أقل من %s حرفا.', + more: 'الرجاء إدخال أكتر من %s حرفا.', + }, + uri: { + default: 'الرجاء إدخال URI صالح.', + }, + uuid: { + default: 'الرجاء إدخال رقم UUID صالح.', + version: 'الرجاء إدخال رقم UUID صالح إصدار %s.', + }, + vat: { + countries: { + AT: 'النمسا', + BE: 'بلجيكا', + BG: 'بلغاريا', + BR: 'البرازيل', + CH: 'سويسرا', + CY: 'قبرص', + CZ: 'التشيك', + DE: 'جورجيا', + DK: 'الدنمارك', + EE: 'إستونيا', + EL: 'اليونان', + ES: 'إسبانيا', + FI: 'فنلندا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + GR: 'اليونان', + HR: 'كرواتيا', + HU: 'المجر', + IE: 'أيرلندا', + IS: 'آيسلندا', + IT: 'إيطاليا', + LT: 'ليتوانيا', + LU: 'لوكسمبورغ', + LV: 'لاتفيا', + MT: 'مالطا', + NL: 'هولندا', + NO: 'النرويج', + PL: 'بولندا', + PT: 'البرتغال', + RO: 'رومانيا', + RS: 'صربيا', + RU: 'روسيا', + SE: 'السويد', + SI: 'سلوفينيا', + SK: 'سلوفاكيا', + VE: 'فنزويلا', + ZA: 'جنوب أفريقيا', + }, + country: 'الرجاء إدخال رقم VAT صالح في %s.', + default: 'الرجاء إدخال رقم VAT صالح.', + }, + vin: { + default: 'الرجاء إدخال رقم VIN صالح.', + }, + zipCode: { + countries: { + AT: 'النمسا', + BG: 'بلغاريا', + BR: 'البرازيل', + CA: 'كندا', + CH: 'سويسرا', + CZ: 'التشيك', + DE: 'ألمانيا', + DK: 'الدنمارك', + ES: 'إسبانيا', + FR: 'فرنسا', + GB: 'المملكة المتحدة', + IE: 'أيرلندا', + IN: 'الهند', + IT: 'إيطاليا', + MA: 'المغرب', + NL: 'هولندا', + PL: 'بولندا', + PT: 'البرتغال', + RO: 'رومانيا', + RU: 'روسيا', + SE: 'السويد', + SG: 'سنغافورة', + SK: 'سلوفاكيا', + US: 'الولايات المتحدة', + }, + country: 'الرجاء إدخال رمز بريدي صالح في %s.', + default: 'الرجاء إدخال رمز بريدي صالح.', + }, + }; + + return ar_MA; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ar_MA.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ar_MA.min.js new file mode 100755 index 00000000..57aaba9d --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ar_MA.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ar_MA=factory())})(this,(function(){"use strict";var ar_MA={base64:{default:"الرجاء إدخال قيمة مشفرة طبقا للقاعدة 64."},between:{default:"الرجاء إدخال قيمة بين %s و %s .",notInclusive:"الرجاء إدخال قيمة بين %s و %s بدقة."},bic:{default:"الرجاء إدخال رقم BIC صالح."},callback:{default:"الرجاء إدخال قيمة صالحة."},choice:{between:"الرجاء إختيار %s-%s خيارات.",default:"الرجاء إدخال قيمة صالحة.",less:"الرجاء اختيار %s خيارات كحد أدنى.",more:"الرجاء اختيار %s خيارات كحد أقصى."},color:{default:"الرجاء إدخال رمز لون صالح."},creditCard:{default:"الرجاء إدخال رقم بطاقة إئتمان صحيح."},cusip:{default:"الرجاء إدخال رقم CUSIP صالح."},date:{default:"الرجاء إدخال تاريخ صالح.",max:"الرجاء إدخال تاريخ قبل %s.",min:"الرجاء إدخال تاريخ بعد %s.",range:"الرجاء إدخال تاريخ في المجال %s - %s."},different:{default:"الرجاء إدخال قيمة مختلفة."},digits:{default:"الرجاء إدخال الأرقام فقط."},ean:{default:"الرجاء إدخال رقم EAN صالح."},ein:{default:"الرجاء إدخال رقم EIN صالح."},emailAddress:{default:"الرجاء إدخال بريد إلكتروني صحيح."},file:{default:"الرجاء إختيار ملف صالح."},greaterThan:{default:"الرجاء إدخال قيمة أكبر من أو تساوي %s.",notInclusive:"الرجاء إدخال قيمة أكبر من %s."},grid:{default:"الرجاء إدخال رقم GRid صالح."},hex:{default:"الرجاء إدخال رقم ست عشري صالح."},iban:{countries:{AD:"أندورا",AE:"الإمارات العربية المتحدة",AL:"ألبانيا",AO:"أنغولا",AT:"النمسا",AZ:"أذربيجان",BA:"البوسنة والهرسك",BE:"بلجيكا",BF:"بوركينا فاسو",BG:"بلغاريا",BH:"البحرين",BI:"بوروندي",BJ:"بنين",BR:"البرازيل",CH:"سويسرا",CI:"ساحل العاج",CM:"الكاميرون",CR:"كوستاريكا",CV:"الرأس الأخضر",CY:"قبرص",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",DO:"جمهورية الدومينيكان",DZ:"الجزائر",EE:"إستونيا",ES:"إسبانيا",FI:"فنلندا",FO:"جزر فارو",FR:"فرنسا",GB:"المملكة المتحدة",GE:"جورجيا",GI:"جبل طارق",GL:"جرينلاند",GR:"اليونان",GT:"غواتيمالا",HR:"كرواتيا",HU:"المجر",IE:"أيرلندا",IL:"إسرائيل",IR:"إيران",IS:"آيسلندا",IT:"إيطاليا",JO:"الأردن",KW:"الكويت",KZ:"كازاخستان",LB:"لبنان",LI:"ليختنشتاين",LT:"ليتوانيا",LU:"لوكسمبورغ",LV:"لاتفيا",MC:"موناكو",MD:"مولدوفا",ME:"الجبل الأسود",MG:"مدغشقر",MK:"جمهورية مقدونيا",ML:"مالي",MR:"موريتانيا",MT:"مالطا",MU:"موريشيوس",MZ:"موزمبيق",NL:"هولندا",NO:"النرويج",PK:"باكستان",PL:"بولندا",PS:"فلسطين",PT:"البرتغال",QA:"قطر",RO:"رومانيا",RS:"صربيا",SA:"المملكة العربية السعودية",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",SM:"سان مارينو",SN:"السنغال",TL:"تيمور الشرقية",TN:"تونس",TR:"تركيا",VG:"جزر العذراء البريطانية",XK:"جمهورية كوسوفو"},country:"الرجاء إدخال رقم IBAN صالح في %s.",default:"الرجاء إدخال رقم IBAN صالح."},id:{countries:{BA:"البوسنة والهرسك",BG:"بلغاريا",BR:"البرازيل",CH:"سويسرا",CL:"تشيلي",CN:"الصين",CZ:"التشيك",DK:"الدنمارك",EE:"إستونيا",ES:"إسبانيا",FI:"فنلندا",HR:"كرواتيا",IE:"أيرلندا",IS:"آيسلندا",LT:"ليتوانيا",LV:"لاتفيا",ME:"الجبل الأسود",MK:"جمهورية مقدونيا",NL:"هولندا",PL:"بولندا",RO:"رومانيا",RS:"صربيا",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",SM:"سان مارينو",TH:"تايلاند",TR:"تركيا",ZA:"جنوب أفريقيا"},country:"الرجاء إدخال رقم تعريف صالح في %s.",default:"الرجاء إدخال رقم هوية صالحة."},identical:{default:"الرجاء إدخال نفس القيمة."},imei:{default:"الرجاء إدخال رقم IMEI صالح."},imo:{default:"الرجاء إدخال رقم IMO صالح."},integer:{default:"الرجاء إدخال رقم صحيح."},ip:{default:"الرجاء إدخال عنوان IP صالح.",ipv4:"الرجاء إدخال عنوان IPv4 صالح.",ipv6:"الرجاء إدخال عنوان IPv6 صالح."},isbn:{default:"الرجاء إدخال رقم ISBN صالح."},isin:{default:"الرجاء إدخال رقم ISIN صالح."},ismn:{default:"الرجاء إدخال رقم ISMN صالح."},issn:{default:"الرجاء إدخال رقم ISSN صالح."},lessThan:{default:"الرجاء إدخال قيمة أصغر من أو تساوي %s.",notInclusive:"الرجاء إدخال قيمة أصغر من %s."},mac:{default:"يرجى إدخال عنوان MAC صالح."},meid:{default:"الرجاء إدخال رقم MEID صالح."},notEmpty:{default:"الرجاء إدخال قيمة."},numeric:{default:"الرجاء إدخال عدد عشري صالح."},phone:{countries:{AE:"الإمارات العربية المتحدة",BG:"بلغاريا",BR:"البرازيل",CN:"الصين",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",ES:"إسبانيا",FR:"فرنسا",GB:"المملكة المتحدة",IN:"الهند",MA:"المغرب",NL:"هولندا",PK:"باكستان",RO:"رومانيا",RU:"روسيا",SK:"سلوفاكيا",TH:"تايلاند",US:"الولايات المتحدة",VE:"فنزويلا"},country:"الرجاء إدخال رقم هاتف صالح في %s.",default:"الرجاء إدخال رقم هاتف صحيح."},promise:{default:"الرجاء إدخال قيمة صالحة."},regexp:{default:"الرجاء إدخال قيمة مطابقة للنمط."},remote:{default:"الرجاء إدخال قيمة صالحة."},rtn:{default:"الرجاء إدخال رقم RTN صالح."},sedol:{default:"الرجاء إدخال رقم SEDOL صالح."},siren:{default:"الرجاء إدخال رقم SIREN صالح."},siret:{default:"الرجاء إدخال رقم SIRET صالح."},step:{default:"الرجاء إدخال قيمة من مضاعفات %s ."},stringCase:{default:"الرجاء إدخال أحرف صغيرة فقط.",upper:"الرجاء إدخال أحرف كبيرة فقط."},stringLength:{between:"الرجاء إدخال قيمة ذات عدد حروف بين %s و %s حرفا.",default:"الرجاء إدخال قيمة ذات طول صحيح.",less:"الرجاء إدخال أقل من %s حرفا.",more:"الرجاء إدخال أكتر من %s حرفا."},uri:{default:"الرجاء إدخال URI صالح."},uuid:{default:"الرجاء إدخال رقم UUID صالح.",version:"الرجاء إدخال رقم UUID صالح إصدار %s."},vat:{countries:{AT:"النمسا",BE:"بلجيكا",BG:"بلغاريا",BR:"البرازيل",CH:"سويسرا",CY:"قبرص",CZ:"التشيك",DE:"جورجيا",DK:"الدنمارك",EE:"إستونيا",EL:"اليونان",ES:"إسبانيا",FI:"فنلندا",FR:"فرنسا",GB:"المملكة المتحدة",GR:"اليونان",HR:"كرواتيا",HU:"المجر",IE:"أيرلندا",IS:"آيسلندا",IT:"إيطاليا",LT:"ليتوانيا",LU:"لوكسمبورغ",LV:"لاتفيا",MT:"مالطا",NL:"هولندا",NO:"النرويج",PL:"بولندا",PT:"البرتغال",RO:"رومانيا",RS:"صربيا",RU:"روسيا",SE:"السويد",SI:"سلوفينيا",SK:"سلوفاكيا",VE:"فنزويلا",ZA:"جنوب أفريقيا"},country:"الرجاء إدخال رقم VAT صالح في %s.",default:"الرجاء إدخال رقم VAT صالح."},vin:{default:"الرجاء إدخال رقم VIN صالح."},zipCode:{countries:{AT:"النمسا",BG:"بلغاريا",BR:"البرازيل",CA:"كندا",CH:"سويسرا",CZ:"التشيك",DE:"ألمانيا",DK:"الدنمارك",ES:"إسبانيا",FR:"فرنسا",GB:"المملكة المتحدة",IE:"أيرلندا",IN:"الهند",IT:"إيطاليا",MA:"المغرب",NL:"هولندا",PL:"بولندا",PT:"البرتغال",RO:"رومانيا",RU:"روسيا",SE:"السويد",SG:"سنغافورة",SK:"سلوفاكيا",US:"الولايات المتحدة"},country:"الرجاء إدخال رمز بريدي صالح في %s.",default:"الرجاء إدخال رمز بريدي صالح."}};return ar_MA})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/bg_BG.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/bg_BG.js new file mode 100755 index 00000000..7ee13660 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/bg_BG.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.bg_BG = factory())); +})(this, (function () { 'use strict'; + + /** + * Bulgarian language package + * Translated by @mraiur + */ + + var bg_BG = { + base64: { + default: 'Моля, въведете валиден base 64 кодиран', + }, + between: { + default: 'Моля, въведете стойност между %s и %s', + notInclusive: 'Моля, въведете стойност точно между %s и %s', + }, + bic: { + default: 'Моля, въведете валиден BIC номер', + }, + callback: { + default: 'Моля, въведете валидна стойност', + }, + choice: { + between: 'Моля изберете от %s до %s стойност', + default: 'Моля, въведете валидна стойност', + less: 'Моля изберете минимална стойност %s', + more: 'Моля изберете максимална стойност %s', + }, + color: { + default: 'Моля, въведете валиден цвят', + }, + creditCard: { + default: 'Моля, въведете валиден номер на кредитна карта', + }, + cusip: { + default: 'Моля, въведете валиден CUSIP номер', + }, + date: { + default: 'Моля, въведете валидна дата', + max: 'Моля въведете дата преди %s', + min: 'Моля въведете дата след %s', + range: 'Моля въведете дата между %s и %s', + }, + different: { + default: 'Моля, въведете различна стойност', + }, + digits: { + default: 'Моля, въведете само цифри', + }, + ean: { + default: 'Моля, въведете валиден EAN номер', + }, + ein: { + default: 'Моля, въведете валиден EIN номер', + }, + emailAddress: { + default: 'Моля, въведете валиден имейл адрес', + }, + file: { + default: 'Моля, изберете валиден файл', + }, + greaterThan: { + default: 'Моля, въведете стойност по-голяма от или равна на %s', + notInclusive: 'Моля, въведете стойност по-голяма от %s', + }, + grid: { + default: 'Моля, изберете валиден GRId номер', + }, + hex: { + default: 'Моля, въведете валиден шестнадесетичен номер', + }, + iban: { + countries: { + AD: 'Андора', + AE: 'Обединени арабски емирства', + AL: 'Албания', + AO: 'Ангола', + AT: 'Австрия', + AZ: 'Азербайджан', + BA: 'Босна и Херцеговина', + BE: 'Белгия', + BF: 'Буркина Фасо', + BG: 'България', + BH: 'Бахрейн', + BI: 'Бурунди', + BJ: 'Бенин', + BR: 'Бразилия', + CH: 'Швейцария', + CI: 'Ivory Coast', + CM: 'Камерун', + CR: 'Коста Рика', + CV: 'Cape Verde', + CY: 'Кипър', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + DO: 'Доминиканска република', + DZ: 'Алжир', + EE: 'Естония', + ES: 'Испания', + FI: 'Финландия', + FO: 'Фарьорските острови', + FR: 'Франция', + GB: 'Обединеното кралство', + GE: 'Грузия', + GI: 'Гибралтар', + GL: 'Гренландия', + GR: 'Гърция', + GT: 'Гватемала', + HR: 'Хърватия', + HU: 'Унгария', + IE: 'Ирландия', + IL: 'Израел', + IR: 'Иран', + IS: 'Исландия', + IT: 'Италия', + JO: 'Йордания', + KW: 'Кувейт', + KZ: 'Казахстан', + LB: 'Ливан', + LI: 'Лихтенщайн', + LT: 'Литва', + LU: 'Люксембург', + LV: 'Латвия', + MC: 'Монако', + MD: 'Молдова', + ME: 'Черна гора', + MG: 'Мадагаскар', + MK: 'Македония', + ML: 'Мали', + MR: 'Мавритания', + MT: 'Малта', + MU: 'Мавриций', + MZ: 'Мозамбик', + NL: 'Нидерландия', + NO: 'Норвегия', + PK: 'Пакистан', + PL: 'Полша', + PS: 'палестинска', + PT: 'Португалия', + QA: 'Катар', + RO: 'Румъния', + RS: 'Сърбия', + SA: 'Саудитска Арабия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + SM: 'San Marino', + SN: 'Сенегал', + TL: 'Източен Тимор', + TN: 'Тунис', + TR: 'Турция', + VG: 'Британски Вирджински острови', + XK: 'Република Косово', + }, + country: 'Моля, въведете валиден номер на IBAN в %s', + default: 'Моля, въведете валиден IBAN номер', + }, + id: { + countries: { + BA: 'Босна и Херцеговина', + BG: 'България', + BR: 'Бразилия', + CH: 'Швейцария', + CL: 'Чили', + CN: 'Китай', + CZ: 'Чешката република', + DK: 'Дания', + EE: 'Естония', + ES: 'Испания', + FI: 'Финландия', + HR: 'Хърватия', + IE: 'Ирландия', + IS: 'Исландия', + LT: 'Литва', + LV: 'Латвия', + ME: 'Черна гора', + MK: 'Македония', + NL: 'Холандия', + PL: 'Полша', + RO: 'Румъния', + RS: 'Сърбия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + SM: 'San Marino', + TH: 'Тайланд', + TR: 'Турция', + ZA: 'Южна Африка', + }, + country: 'Моля, въведете валиден идентификационен номер в %s', + default: 'Моля, въведете валиден идентификационен номер', + }, + identical: { + default: 'Моля, въведете една и съща стойност', + }, + imei: { + default: 'Моля, въведете валиден IMEI номер', + }, + imo: { + default: 'Моля, въведете валиден IMO номер', + }, + integer: { + default: 'Моля, въведете валиден номер', + }, + ip: { + default: 'Моля, въведете валиден IP адрес', + ipv4: 'Моля, въведете валиден IPv4 адрес', + ipv6: 'Моля, въведете валиден IPv6 адрес', + }, + isbn: { + default: 'Моля, въведете валиден ISBN номер', + }, + isin: { + default: 'Моля, въведете валиден ISIN номер', + }, + ismn: { + default: 'Моля, въведете валиден ISMN номер', + }, + issn: { + default: 'Моля, въведете валиден ISSN номер', + }, + lessThan: { + default: 'Моля, въведете стойност по-малка или равна на %s', + notInclusive: 'Моля, въведете стойност по-малко от %s', + }, + mac: { + default: 'Моля, въведете валиден MAC адрес', + }, + meid: { + default: 'Моля, въведете валиден MEID номер', + }, + notEmpty: { + default: 'Моля, въведете стойност', + }, + numeric: { + default: 'Моля, въведете валидно число с плаваща запетая', + }, + phone: { + countries: { + AE: 'Обединени арабски емирства', + BG: 'България', + BR: 'Бразилия', + CN: 'Китай', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + ES: 'Испания', + FR: 'Франция', + GB: 'Обединеното кралство', + IN: 'Индия', + MA: 'Мароко', + NL: 'Нидерландия', + PK: 'Пакистан', + RO: 'Румъния', + RU: 'Русия', + SK: 'Словакия', + TH: 'Тайланд', + US: 'САЩ', + VE: 'Венецуела', + }, + country: 'Моля, въведете валиден телефонен номер в %s', + default: 'Моля, въведете валиден телефонен номер', + }, + promise: { + default: 'Моля, въведете валидна стойност', + }, + regexp: { + default: 'Моля, въведете стойност, отговаряща на модела', + }, + remote: { + default: 'Моля, въведете валидна стойност', + }, + rtn: { + default: 'Моля, въведете валиде RTN номер', + }, + sedol: { + default: 'Моля, въведете валиден SEDOL номер', + }, + siren: { + default: 'Моля, въведете валиден SIREN номер', + }, + siret: { + default: 'Моля, въведете валиден SIRET номер', + }, + step: { + default: 'Моля, въведете валиденa стъпка от %s', + }, + stringCase: { + default: 'Моля, въведете само с малки букви', + upper: 'Моля въведете само главни букви', + }, + stringLength: { + between: 'Моля, въведете стойност между %s и %s знака', + default: 'Моля, въведете стойност с валидни дължина', + less: 'Моля, въведете по-малко от %s знака', + more: 'Моля въведете повече от %s знака', + }, + uri: { + default: 'Моля, въведете валиден URI', + }, + uuid: { + default: 'Моля, въведете валиден UUID номер', + version: 'Моля, въведете валиден UUID номер с версия %s', + }, + vat: { + countries: { + AT: 'Австрия', + BE: 'Белгия', + BG: 'България', + BR: 'Бразилия', + CH: 'Швейцария', + CY: 'Кипър', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + EE: 'Естония', + EL: 'Гърция', + ES: 'Испания', + FI: 'Финландия', + FR: 'Франция', + GB: 'Обединеното кралство', + GR: 'Гърция', + HR: 'Ирландия', + HU: 'Унгария', + IE: 'Ирландски', + IS: 'Исландия', + IT: 'Италия', + LT: 'Литва', + LU: 'Люксембург', + LV: 'Латвия', + MT: 'Малта', + NL: 'Холандия', + NO: 'Норвегия', + PL: 'Полша', + PT: 'Португалия', + RO: 'Румъния', + RS: 'Сърбия', + RU: 'Русия', + SE: 'Швеция', + SI: 'Словения', + SK: 'Словакия', + VE: 'Венецуела', + ZA: 'Южна Африка', + }, + country: 'Моля, въведете валиден ДДС в %s', + default: 'Моля, въведете валиден ДДС', + }, + vin: { + default: 'Моля, въведете валиден номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрия', + BG: 'България', + BR: 'Бразилия', + CA: 'Канада', + CH: 'Швейцария', + CZ: 'Чешката република', + DE: 'Германия', + DK: 'Дания', + ES: 'Испания', + FR: 'Франция', + GB: 'Обединеното кралство', + IE: 'Ирландски', + IN: 'Индия', + IT: 'Италия', + MA: 'Мароко', + NL: 'Холандия', + PL: 'Полша', + PT: 'Португалия', + RO: 'Румъния', + RU: 'Русия', + SE: 'Швеция', + SG: 'Сингапур', + SK: 'Словакия', + US: 'САЩ', + }, + country: 'Моля, въведете валиден пощенски код в %s', + default: 'Моля, въведете валиден пощенски код', + }, + }; + + return bg_BG; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/bg_BG.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/bg_BG.min.js new file mode 100755 index 00000000..e71a8daf --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/bg_BG.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.bg_BG=factory())})(this,(function(){"use strict";var bg_BG={base64:{default:"Моля, въведете валиден base 64 кодиран"},between:{default:"Моля, въведете стойност между %s и %s",notInclusive:"Моля, въведете стойност точно между %s и %s"},bic:{default:"Моля, въведете валиден BIC номер"},callback:{default:"Моля, въведете валидна стойност"},choice:{between:"Моля изберете от %s до %s стойност",default:"Моля, въведете валидна стойност",less:"Моля изберете минимална стойност %s",more:"Моля изберете максимална стойност %s"},color:{default:"Моля, въведете валиден цвят"},creditCard:{default:"Моля, въведете валиден номер на кредитна карта"},cusip:{default:"Моля, въведете валиден CUSIP номер"},date:{default:"Моля, въведете валидна дата",max:"Моля въведете дата преди %s",min:"Моля въведете дата след %s",range:"Моля въведете дата между %s и %s"},different:{default:"Моля, въведете различна стойност"},digits:{default:"Моля, въведете само цифри"},ean:{default:"Моля, въведете валиден EAN номер"},ein:{default:"Моля, въведете валиден EIN номер"},emailAddress:{default:"Моля, въведете валиден имейл адрес"},file:{default:"Моля, изберете валиден файл"},greaterThan:{default:"Моля, въведете стойност по-голяма от или равна на %s",notInclusive:"Моля, въведете стойност по-голяма от %s"},grid:{default:"Моля, изберете валиден GRId номер"},hex:{default:"Моля, въведете валиден шестнадесетичен номер"},iban:{countries:{AD:"Андора",AE:"Обединени арабски емирства",AL:"Албания",AO:"Ангола",AT:"Австрия",AZ:"Азербайджан",BA:"Босна и Херцеговина",BE:"Белгия",BF:"Буркина Фасо",BG:"България",BH:"Бахрейн",BI:"Бурунди",BJ:"Бенин",BR:"Бразилия",CH:"Швейцария",CI:"Ivory Coast",CM:"Камерун",CR:"Коста Рика",CV:"Cape Verde",CY:"Кипър",CZ:"Чешката република",DE:"Германия",DK:"Дания",DO:"Доминиканска република",DZ:"Алжир",EE:"Естония",ES:"Испания",FI:"Финландия",FO:"Фарьорските острови",FR:"Франция",GB:"Обединеното кралство",GE:"Грузия",GI:"Гибралтар",GL:"Гренландия",GR:"Гърция",GT:"Гватемала",HR:"Хърватия",HU:"Унгария",IE:"Ирландия",IL:"Израел",IR:"Иран",IS:"Исландия",IT:"Италия",JO:"Йордания",KW:"Кувейт",KZ:"Казахстан",LB:"Ливан",LI:"Лихтенщайн",LT:"Литва",LU:"Люксембург",LV:"Латвия",MC:"Монако",MD:"Молдова",ME:"Черна гора",MG:"Мадагаскар",MK:"Македония",ML:"Мали",MR:"Мавритания",MT:"Малта",MU:"Мавриций",MZ:"Мозамбик",NL:"Нидерландия",NO:"Норвегия",PK:"Пакистан",PL:"Полша",PS:"палестинска",PT:"Португалия",QA:"Катар",RO:"Румъния",RS:"Сърбия",SA:"Саудитска Арабия",SE:"Швеция",SI:"Словения",SK:"Словакия",SM:"San Marino",SN:"Сенегал",TL:"Източен Тимор",TN:"Тунис",TR:"Турция",VG:"Британски Вирджински острови",XK:"Република Косово"},country:"Моля, въведете валиден номер на IBAN в %s",default:"Моля, въведете валиден IBAN номер"},id:{countries:{BA:"Босна и Херцеговина",BG:"България",BR:"Бразилия",CH:"Швейцария",CL:"Чили",CN:"Китай",CZ:"Чешката република",DK:"Дания",EE:"Естония",ES:"Испания",FI:"Финландия",HR:"Хърватия",IE:"Ирландия",IS:"Исландия",LT:"Литва",LV:"Латвия",ME:"Черна гора",MK:"Македония",NL:"Холандия",PL:"Полша",RO:"Румъния",RS:"Сърбия",SE:"Швеция",SI:"Словения",SK:"Словакия",SM:"San Marino",TH:"Тайланд",TR:"Турция",ZA:"Южна Африка"},country:"Моля, въведете валиден идентификационен номер в %s",default:"Моля, въведете валиден идентификационен номер"},identical:{default:"Моля, въведете една и съща стойност"},imei:{default:"Моля, въведете валиден IMEI номер"},imo:{default:"Моля, въведете валиден IMO номер"},integer:{default:"Моля, въведете валиден номер"},ip:{default:"Моля, въведете валиден IP адрес",ipv4:"Моля, въведете валиден IPv4 адрес",ipv6:"Моля, въведете валиден IPv6 адрес"},isbn:{default:"Моля, въведете валиден ISBN номер"},isin:{default:"Моля, въведете валиден ISIN номер"},ismn:{default:"Моля, въведете валиден ISMN номер"},issn:{default:"Моля, въведете валиден ISSN номер"},lessThan:{default:"Моля, въведете стойност по-малка или равна на %s",notInclusive:"Моля, въведете стойност по-малко от %s"},mac:{default:"Моля, въведете валиден MAC адрес"},meid:{default:"Моля, въведете валиден MEID номер"},notEmpty:{default:"Моля, въведете стойност"},numeric:{default:"Моля, въведете валидно число с плаваща запетая"},phone:{countries:{AE:"Обединени арабски емирства",BG:"България",BR:"Бразилия",CN:"Китай",CZ:"Чешката република",DE:"Германия",DK:"Дания",ES:"Испания",FR:"Франция",GB:"Обединеното кралство",IN:"Индия",MA:"Мароко",NL:"Нидерландия",PK:"Пакистан",RO:"Румъния",RU:"Русия",SK:"Словакия",TH:"Тайланд",US:"САЩ",VE:"Венецуела"},country:"Моля, въведете валиден телефонен номер в %s",default:"Моля, въведете валиден телефонен номер"},promise:{default:"Моля, въведете валидна стойност"},regexp:{default:"Моля, въведете стойност, отговаряща на модела"},remote:{default:"Моля, въведете валидна стойност"},rtn:{default:"Моля, въведете валиде RTN номер"},sedol:{default:"Моля, въведете валиден SEDOL номер"},siren:{default:"Моля, въведете валиден SIREN номер"},siret:{default:"Моля, въведете валиден SIRET номер"},step:{default:"Моля, въведете валиденa стъпка от %s"},stringCase:{default:"Моля, въведете само с малки букви",upper:"Моля въведете само главни букви"},stringLength:{between:"Моля, въведете стойност между %s и %s знака",default:"Моля, въведете стойност с валидни дължина",less:"Моля, въведете по-малко от %s знака",more:"Моля въведете повече от %s знака"},uri:{default:"Моля, въведете валиден URI"},uuid:{default:"Моля, въведете валиден UUID номер",version:"Моля, въведете валиден UUID номер с версия %s"},vat:{countries:{AT:"Австрия",BE:"Белгия",BG:"България",BR:"Бразилия",CH:"Швейцария",CY:"Кипър",CZ:"Чешката република",DE:"Германия",DK:"Дания",EE:"Естония",EL:"Гърция",ES:"Испания",FI:"Финландия",FR:"Франция",GB:"Обединеното кралство",GR:"Гърция",HR:"Ирландия",HU:"Унгария",IE:"Ирландски",IS:"Исландия",IT:"Италия",LT:"Литва",LU:"Люксембург",LV:"Латвия",MT:"Малта",NL:"Холандия",NO:"Норвегия",PL:"Полша",PT:"Португалия",RO:"Румъния",RS:"Сърбия",RU:"Русия",SE:"Швеция",SI:"Словения",SK:"Словакия",VE:"Венецуела",ZA:"Южна Африка"},country:"Моля, въведете валиден ДДС в %s",default:"Моля, въведете валиден ДДС"},vin:{default:"Моля, въведете валиден номер VIN"},zipCode:{countries:{AT:"Австрия",BG:"България",BR:"Бразилия",CA:"Канада",CH:"Швейцария",CZ:"Чешката република",DE:"Германия",DK:"Дания",ES:"Испания",FR:"Франция",GB:"Обединеното кралство",IE:"Ирландски",IN:"Индия",IT:"Италия",MA:"Мароко",NL:"Холандия",PL:"Полша",PT:"Португалия",RO:"Румъния",RU:"Русия",SE:"Швеция",SG:"Сингапур",SK:"Словакия",US:"САЩ"},country:"Моля, въведете валиден пощенски код в %s",default:"Моля, въведете валиден пощенски код"}};return bg_BG})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ca_ES.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ca_ES.js new file mode 100755 index 00000000..4a0e9388 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ca_ES.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ca_ES = factory())); +})(this, (function () { 'use strict'; + + /** + * Catalan language package + * Translated by @ArnauAregall + */ + + var ca_ES = { + base64: { + default: 'Si us plau introdueix un valor vàlid en base 64', + }, + between: { + default: 'Si us plau introdueix un valor entre %s i %s', + notInclusive: 'Si us plau introdueix un valor comprès entre %s i %s', + }, + bic: { + default: 'Si us plau introdueix un nombre BIC vàlid', + }, + callback: { + default: 'Si us plau introdueix un valor vàlid', + }, + choice: { + between: 'Si us plau escull entre %s i %s opcions', + default: 'Si us plau introdueix un valor vàlid', + less: 'Si us plau escull %s opcions com a mínim', + more: 'Si us plau escull %s opcions com a màxim', + }, + color: { + default: 'Si us plau introdueix un color vàlid', + }, + creditCard: { + default: 'Si us plau introdueix un nombre vàlid de targeta de crèdit', + }, + cusip: { + default: 'Si us plau introdueix un nombre CUSIP vàlid', + }, + date: { + default: 'Si us plau introdueix una data vàlida', + max: 'Si us plau introdueix una data anterior %s', + min: 'Si us plau introdueix una data posterior a %s', + range: 'Si us plau introdueix una data compresa entre %s i %s', + }, + different: { + default: 'Si us plau introdueix un valor diferent', + }, + digits: { + default: 'Si us plau introdueix només dígits', + }, + ean: { + default: 'Si us plau introdueix un nombre EAN vàlid', + }, + ein: { + default: 'Si us plau introdueix un nombre EIN vàlid', + }, + emailAddress: { + default: 'Si us plau introdueix una adreça electrònica vàlida', + }, + file: { + default: 'Si us plau selecciona un arxiu vàlid', + }, + greaterThan: { + default: 'Si us plau introdueix un valor més gran o igual a %s', + notInclusive: 'Si us plau introdueix un valor més gran que %s', + }, + grid: { + default: 'Si us plau introdueix un nombre GRId vàlid', + }, + hex: { + default: 'Si us plau introdueix un valor hexadecimal vàlid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirats Àrabs Units', + AL: 'Albània', + AO: 'Angola', + AT: 'Àustria', + AZ: 'Azerbaidjan', + BA: 'Bòsnia i Hercegovina', + BE: 'Bèlgica', + BF: 'Burkina Faso', + BG: 'Bulgària', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suïssa', + CI: "Costa d'Ivori", + CM: 'Camerun', + CR: 'Costa Rica', + CV: 'Cap Verd', + CY: 'Xipre', + CZ: 'República Txeca', + DE: 'Alemanya', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Algèria', + EE: 'Estònia', + ES: 'Espanya', + FI: 'Finlàndia', + FO: 'Illes Fèroe', + FR: 'França', + GB: 'Regne Unit', + GE: 'Geòrgia', + GI: 'Gibraltar', + GL: 'Grenlàndia', + GR: 'Grècia', + GT: 'Guatemala', + HR: 'Croàcia', + HU: 'Hongria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islàndia', + IT: 'Itàlia', + JO: 'Jordània', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líban', + LI: 'Liechtenstein', + LT: 'Lituània', + LU: 'Luxemburg', + LV: 'Letònia', + MC: 'Mònaco', + MD: 'Moldàvia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedònia', + ML: 'Malo', + MR: 'Mauritània', + MT: 'Malta', + MU: 'Maurici', + MZ: 'Moçambic', + NL: 'Països Baixos', + NO: 'Noruega', + PK: 'Pakistan', + PL: 'Polònia', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Sèrbia', + SA: 'Aràbia Saudita', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Illes Verges Britàniques', + XK: 'República de Kosovo', + }, + country: 'Si us plau introdueix un nombre IBAN vàlid a %s', + default: 'Si us plau introdueix un nombre IBAN vàlid', + }, + id: { + countries: { + BA: 'Bòsnia i Hercegovina', + BG: 'Bulgària', + BR: 'Brasil', + CH: 'Suïssa', + CL: 'Xile', + CN: 'Xina', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estònia', + ES: 'Espanya', + FI: 'Finlpandia', + HR: 'Cropàcia', + IE: 'Irlanda', + IS: 'Islàndia', + LT: 'Lituania', + LV: 'Letònia', + ME: 'Montenegro', + MK: 'Macedònia', + NL: 'Països Baixos', + PL: 'Polònia', + RO: 'Romania', + RS: 'Sèrbia', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + SM: 'San Marino', + TH: 'Tailàndia', + TR: 'Turquia', + ZA: 'Sud-àfrica', + }, + country: "Si us plau introdueix un nombre d'identificació vàlid a %s", + default: "Si us plau introdueix un nombre d'identificació vàlid", + }, + identical: { + default: 'Si us plau introdueix exactament el mateix valor', + }, + imei: { + default: 'Si us plau introdueix un nombre IMEI vàlid', + }, + imo: { + default: 'Si us plau introdueix un nombre IMO vàlid', + }, + integer: { + default: 'Si us plau introdueix un nombre vàlid', + }, + ip: { + default: 'Si us plau introdueix una direcció IP vàlida', + ipv4: 'Si us plau introdueix una direcció IPV4 vàlida', + ipv6: 'Si us plau introdueix una direcció IPV6 vàlida', + }, + isbn: { + default: 'Si us plau introdueix un nombre ISBN vàlid', + }, + isin: { + default: 'Si us plau introdueix un nombre ISIN vàlid', + }, + ismn: { + default: 'Si us plau introdueix un nombre ISMN vàlid', + }, + issn: { + default: 'Si us plau introdueix un nombre ISSN vàlid', + }, + lessThan: { + default: 'Si us plau introdueix un valor menor o igual a %s', + notInclusive: 'Si us plau introdueix un valor menor que %s', + }, + mac: { + default: 'Si us plau introdueix una adreça MAC vàlida', + }, + meid: { + default: 'Si us plau introdueix nombre MEID vàlid', + }, + notEmpty: { + default: 'Si us plau introdueix un valor', + }, + numeric: { + default: 'Si us plau introdueix un nombre decimal vàlid', + }, + phone: { + countries: { + AE: 'Emirats Àrabs Units', + BG: 'Bulgària', + BR: 'Brasil', + CN: 'Xina', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + ES: 'Espanya', + FR: 'França', + GB: 'Regne Unit', + IN: 'Índia', + MA: 'Marroc', + NL: 'Països Baixos', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Rússia', + SK: 'Eslovàquia', + TH: 'Tailàndia', + US: 'Estats Units', + VE: 'Veneçuela', + }, + country: 'Si us plau introdueix un telèfon vàlid a %s', + default: 'Si us plau introdueix un telèfon vàlid', + }, + promise: { + default: 'Si us plau introdueix un valor vàlid', + }, + regexp: { + default: 'Si us plau introdueix un valor que coincideixi amb el patró', + }, + remote: { + default: 'Si us plau introdueix un valor vàlid', + }, + rtn: { + default: 'Si us plau introdueix un nombre RTN vàlid', + }, + sedol: { + default: 'Si us plau introdueix un nombre SEDOL vàlid', + }, + siren: { + default: 'Si us plau introdueix un nombre SIREN vàlid', + }, + siret: { + default: 'Si us plau introdueix un nombre SIRET vàlid', + }, + step: { + default: 'Si us plau introdueix un pas vàlid de %s', + }, + stringCase: { + default: 'Si us plau introdueix només caràcters en minúscula', + upper: 'Si us plau introdueix només caràcters en majúscula', + }, + stringLength: { + between: 'Si us plau introdueix un valor amb una longitud compresa entre %s i %s caràcters', + default: 'Si us plau introdueix un valor amb una longitud vàlida', + less: 'Si us plau introdueix menys de %s caràcters', + more: 'Si us plau introdueix més de %s caràcters', + }, + uri: { + default: 'Si us plau introdueix una URI vàlida', + }, + uuid: { + default: 'Si us plau introdueix un nom UUID vàlid', + version: 'Si us plau introdueix una versió UUID vàlida per %s', + }, + vat: { + countries: { + AT: 'Àustria', + BE: 'Bèlgica', + BG: 'Bulgària', + BR: 'Brasil', + CH: 'Suïssa', + CY: 'Xipre', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + EE: 'Estònia', + EL: 'Grècia', + ES: 'Espanya', + FI: 'Finlàndia', + FR: 'França', + GB: 'Regne Unit', + GR: 'Grècia', + HR: 'Croàcia', + HU: 'Hongria', + IE: 'Irlanda', + IS: 'Islàndia', + IT: 'Itàlia', + LT: 'Lituània', + LU: 'Luxemburg', + LV: 'Letònia', + MT: 'Malta', + NL: 'Països Baixos', + NO: 'Noruega', + PL: 'Polònia', + PT: 'Portugal', + RO: 'Romania', + RS: 'Sèrbia', + RU: 'Rússia', + SE: 'Suècia', + SI: 'Eslovènia', + SK: 'Eslovàquia', + VE: 'Veneçuela', + ZA: 'Sud-àfrica', + }, + country: "Si us plau introdueix una quantitat d' IVA vàlida a %s", + default: "Si us plau introdueix una quantitat d'IVA vàlida", + }, + vin: { + default: 'Si us plau introdueix un nombre VIN vàlid', + }, + zipCode: { + countries: { + AT: 'Àustria', + BG: 'Bulgària', + BR: 'Brasil', + CA: 'Canadà', + CH: 'Suïssa', + CZ: 'República Checa', + DE: 'Alemanya', + DK: 'Dinamarca', + ES: 'Espanya', + FR: 'França', + GB: 'Rege Unit', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itàlia', + MA: 'Marroc', + NL: 'Països Baixos', + PL: 'Polònia', + PT: 'Portugal', + RO: 'Romania', + RU: 'Rússia', + SE: 'Suècia', + SG: 'Singapur', + SK: 'Eslovàquia', + US: 'Estats Units', + }, + country: 'Si us plau introdueix un codi postal vàlid a %s', + default: 'Si us plau introdueix un codi postal vàlid', + }, + }; + + return ca_ES; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ca_ES.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ca_ES.min.js new file mode 100755 index 00000000..188a4367 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ca_ES.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ca_ES=factory())})(this,(function(){"use strict";var ca_ES={base64:{default:"Si us plau introdueix un valor vàlid en base 64"},between:{default:"Si us plau introdueix un valor entre %s i %s",notInclusive:"Si us plau introdueix un valor comprès entre %s i %s"},bic:{default:"Si us plau introdueix un nombre BIC vàlid"},callback:{default:"Si us plau introdueix un valor vàlid"},choice:{between:"Si us plau escull entre %s i %s opcions",default:"Si us plau introdueix un valor vàlid",less:"Si us plau escull %s opcions com a mínim",more:"Si us plau escull %s opcions com a màxim"},color:{default:"Si us plau introdueix un color vàlid"},creditCard:{default:"Si us plau introdueix un nombre vàlid de targeta de crèdit"},cusip:{default:"Si us plau introdueix un nombre CUSIP vàlid"},date:{default:"Si us plau introdueix una data vàlida",max:"Si us plau introdueix una data anterior %s",min:"Si us plau introdueix una data posterior a %s",range:"Si us plau introdueix una data compresa entre %s i %s"},different:{default:"Si us plau introdueix un valor diferent"},digits:{default:"Si us plau introdueix només dígits"},ean:{default:"Si us plau introdueix un nombre EAN vàlid"},ein:{default:"Si us plau introdueix un nombre EIN vàlid"},emailAddress:{default:"Si us plau introdueix una adreça electrònica vàlida"},file:{default:"Si us plau selecciona un arxiu vàlid"},greaterThan:{default:"Si us plau introdueix un valor més gran o igual a %s",notInclusive:"Si us plau introdueix un valor més gran que %s"},grid:{default:"Si us plau introdueix un nombre GRId vàlid"},hex:{default:"Si us plau introdueix un valor hexadecimal vàlid"},iban:{countries:{AD:"Andorra",AE:"Emirats Àrabs Units",AL:"Albània",AO:"Angola",AT:"Àustria",AZ:"Azerbaidjan",BA:"Bòsnia i Hercegovina",BE:"Bèlgica",BF:"Burkina Faso",BG:"Bulgària",BH:"Bahrain",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suïssa",CI:"Costa d'Ivori",CM:"Camerun",CR:"Costa Rica",CV:"Cap Verd",CY:"Xipre",CZ:"República Txeca",DE:"Alemanya",DK:"Dinamarca",DO:"República Dominicana",DZ:"Algèria",EE:"Estònia",ES:"Espanya",FI:"Finlàndia",FO:"Illes Fèroe",FR:"França",GB:"Regne Unit",GE:"Geòrgia",GI:"Gibraltar",GL:"Grenlàndia",GR:"Grècia",GT:"Guatemala",HR:"Croàcia",HU:"Hongria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islàndia",IT:"Itàlia",JO:"Jordània",KW:"Kuwait",KZ:"Kazajistán",LB:"Líban",LI:"Liechtenstein",LT:"Lituània",LU:"Luxemburg",LV:"Letònia",MC:"Mònaco",MD:"Moldàvia",ME:"Montenegro",MG:"Madagascar",MK:"Macedònia",ML:"Malo",MR:"Mauritània",MT:"Malta",MU:"Maurici",MZ:"Moçambic",NL:"Països Baixos",NO:"Noruega",PK:"Pakistan",PL:"Polònia",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Sèrbia",SA:"Aràbia Saudita",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Tunísia",TR:"Turquia",VG:"Illes Verges Britàniques",XK:"República de Kosovo"},country:"Si us plau introdueix un nombre IBAN vàlid a %s",default:"Si us plau introdueix un nombre IBAN vàlid"},id:{countries:{BA:"Bòsnia i Hercegovina",BG:"Bulgària",BR:"Brasil",CH:"Suïssa",CL:"Xile",CN:"Xina",CZ:"República Checa",DK:"Dinamarca",EE:"Estònia",ES:"Espanya",FI:"Finlpandia",HR:"Cropàcia",IE:"Irlanda",IS:"Islàndia",LT:"Lituania",LV:"Letònia",ME:"Montenegro",MK:"Macedònia",NL:"Països Baixos",PL:"Polònia",RO:"Romania",RS:"Sèrbia",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",SM:"San Marino",TH:"Tailàndia",TR:"Turquia",ZA:"Sud-àfrica"},country:"Si us plau introdueix un nombre d'identificació vàlid a %s",default:"Si us plau introdueix un nombre d'identificació vàlid"},identical:{default:"Si us plau introdueix exactament el mateix valor"},imei:{default:"Si us plau introdueix un nombre IMEI vàlid"},imo:{default:"Si us plau introdueix un nombre IMO vàlid"},integer:{default:"Si us plau introdueix un nombre vàlid"},ip:{default:"Si us plau introdueix una direcció IP vàlida",ipv4:"Si us plau introdueix una direcció IPV4 vàlida",ipv6:"Si us plau introdueix una direcció IPV6 vàlida"},isbn:{default:"Si us plau introdueix un nombre ISBN vàlid"},isin:{default:"Si us plau introdueix un nombre ISIN vàlid"},ismn:{default:"Si us plau introdueix un nombre ISMN vàlid"},issn:{default:"Si us plau introdueix un nombre ISSN vàlid"},lessThan:{default:"Si us plau introdueix un valor menor o igual a %s",notInclusive:"Si us plau introdueix un valor menor que %s"},mac:{default:"Si us plau introdueix una adreça MAC vàlida"},meid:{default:"Si us plau introdueix nombre MEID vàlid"},notEmpty:{default:"Si us plau introdueix un valor"},numeric:{default:"Si us plau introdueix un nombre decimal vàlid"},phone:{countries:{AE:"Emirats Àrabs Units",BG:"Bulgària",BR:"Brasil",CN:"Xina",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",ES:"Espanya",FR:"França",GB:"Regne Unit",IN:"Índia",MA:"Marroc",NL:"Països Baixos",PK:"Pakistan",RO:"Romania",RU:"Rússia",SK:"Eslovàquia",TH:"Tailàndia",US:"Estats Units",VE:"Veneçuela"},country:"Si us plau introdueix un telèfon vàlid a %s",default:"Si us plau introdueix un telèfon vàlid"},promise:{default:"Si us plau introdueix un valor vàlid"},regexp:{default:"Si us plau introdueix un valor que coincideixi amb el patró"},remote:{default:"Si us plau introdueix un valor vàlid"},rtn:{default:"Si us plau introdueix un nombre RTN vàlid"},sedol:{default:"Si us plau introdueix un nombre SEDOL vàlid"},siren:{default:"Si us plau introdueix un nombre SIREN vàlid"},siret:{default:"Si us plau introdueix un nombre SIRET vàlid"},step:{default:"Si us plau introdueix un pas vàlid de %s"},stringCase:{default:"Si us plau introdueix només caràcters en minúscula",upper:"Si us plau introdueix només caràcters en majúscula"},stringLength:{between:"Si us plau introdueix un valor amb una longitud compresa entre %s i %s caràcters",default:"Si us plau introdueix un valor amb una longitud vàlida",less:"Si us plau introdueix menys de %s caràcters",more:"Si us plau introdueix més de %s caràcters"},uri:{default:"Si us plau introdueix una URI vàlida"},uuid:{default:"Si us plau introdueix un nom UUID vàlid",version:"Si us plau introdueix una versió UUID vàlida per %s"},vat:{countries:{AT:"Àustria",BE:"Bèlgica",BG:"Bulgària",BR:"Brasil",CH:"Suïssa",CY:"Xipre",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",EE:"Estònia",EL:"Grècia",ES:"Espanya",FI:"Finlàndia",FR:"França",GB:"Regne Unit",GR:"Grècia",HR:"Croàcia",HU:"Hongria",IE:"Irlanda",IS:"Islàndia",IT:"Itàlia",LT:"Lituània",LU:"Luxemburg",LV:"Letònia",MT:"Malta",NL:"Països Baixos",NO:"Noruega",PL:"Polònia",PT:"Portugal",RO:"Romania",RS:"Sèrbia",RU:"Rússia",SE:"Suècia",SI:"Eslovènia",SK:"Eslovàquia",VE:"Veneçuela",ZA:"Sud-àfrica"},country:"Si us plau introdueix una quantitat d' IVA vàlida a %s",default:"Si us plau introdueix una quantitat d'IVA vàlida"},vin:{default:"Si us plau introdueix un nombre VIN vàlid"},zipCode:{countries:{AT:"Àustria",BG:"Bulgària",BR:"Brasil",CA:"Canadà",CH:"Suïssa",CZ:"República Checa",DE:"Alemanya",DK:"Dinamarca",ES:"Espanya",FR:"França",GB:"Rege Unit",IE:"Irlanda",IN:"Índia",IT:"Itàlia",MA:"Marroc",NL:"Països Baixos",PL:"Polònia",PT:"Portugal",RO:"Romania",RU:"Rússia",SE:"Suècia",SG:"Singapur",SK:"Eslovàquia",US:"Estats Units"},country:"Si us plau introdueix un codi postal vàlid a %s",default:"Si us plau introdueix un codi postal vàlid"}};return ca_ES})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/cs_CZ.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/cs_CZ.js new file mode 100755 index 00000000..853238af --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/cs_CZ.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.cs_CZ = factory())); +})(this, (function () { 'use strict'; + + /** + * Czech language package + * Translated by @AdwinTrave. Improved by @cuchac, @budik21 + */ + + var cs_CZ = { + base64: { + default: 'Prosím zadejte správný base64', + }, + between: { + default: 'Prosím zadejte hodnotu mezi %s a %s', + notInclusive: 'Prosím zadejte hodnotu mezi %s a %s (včetně těchto čísel)', + }, + bic: { + default: 'Prosím zadejte správné BIC číslo', + }, + callback: { + default: 'Prosím zadejte správnou hodnotu', + }, + choice: { + between: 'Prosím vyberte mezi %s a %s', + default: 'Prosím vyberte správnou hodnotu', + less: 'Hodnota musí být minimálně %s', + more: 'Hodnota nesmí být více jak %s', + }, + color: { + default: 'Prosím zadejte správnou barvu', + }, + creditCard: { + default: 'Prosím zadejte správné číslo kreditní karty', + }, + cusip: { + default: 'Prosím zadejte správné CUSIP číslo', + }, + date: { + default: 'Prosím zadejte správné datum', + max: 'Prosím zadejte datum po %s', + min: 'Prosím zadejte datum před %s', + range: 'Prosím zadejte datum v rozmezí %s až %s', + }, + different: { + default: 'Prosím zadejte jinou hodnotu', + }, + digits: { + default: 'Toto pole může obsahovat pouze čísla', + }, + ean: { + default: 'Prosím zadejte správné EAN číslo', + }, + ein: { + default: 'Prosím zadejte správné EIN číslo', + }, + emailAddress: { + default: 'Prosím zadejte správnou emailovou adresu', + }, + file: { + default: 'Prosím vyberte soubor', + }, + greaterThan: { + default: 'Prosím zadejte hodnotu větší nebo rovnu %s', + notInclusive: 'Prosím zadejte hodnotu větší než %s', + }, + grid: { + default: 'Prosím zadejte správné GRId číslo', + }, + hex: { + default: 'Prosím zadejte správné hexadecimální číslo', + }, + iban: { + countries: { + AD: 'Andorru', + AE: 'Spojené arabské emiráty', + AL: 'Albanii', + AO: 'Angolu', + AT: 'Rakousko', + AZ: 'Ázerbajdžán', + BA: 'Bosnu a Herzegovinu', + BE: 'Belgii', + BF: 'Burkinu Faso', + BG: 'Bulharsko', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazílii', + CH: 'Švýcarsko', + CI: 'Pobřeží slonoviny', + CM: 'Kamerun', + CR: 'Kostariku', + CV: 'Cape Verde', + CY: 'Kypr', + CZ: 'Českou republiku', + DE: 'Německo', + DK: 'Dánsko', + DO: 'Dominikánskou republiku', + DZ: 'Alžírsko', + EE: 'Estonsko', + ES: 'Španělsko', + FI: 'Finsko', + FO: 'Faerské ostrovy', + FR: 'Francie', + GB: 'Velkou Británii', + GE: 'Gruzii', + GI: 'Gibraltar', + GL: 'Grónsko', + GR: 'Řecko', + GT: 'Guatemalu', + HR: 'Chorvatsko', + HU: 'Maďarsko', + IE: 'Irsko', + IL: 'Israel', + IR: 'Irán', + IS: 'Island', + IT: 'Itálii', + JO: 'Jordansko', + KW: 'Kuwait', + KZ: 'Kazachstán', + LB: 'Libanon', + LI: 'Lichtenštejnsko', + LT: 'Litvu', + LU: 'Lucembursko', + LV: 'Lotyšsko', + MC: 'Monaco', + MD: 'Moldavsko', + ME: 'Černou Horu', + MG: 'Madagaskar', + MK: 'Makedonii', + ML: 'Mali', + MR: 'Mauritánii', + MT: 'Maltu', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Nizozemsko', + NO: 'Norsko', + PK: 'Pakistán', + PL: 'Polsko', + PS: 'Palestinu', + PT: 'Portugalsko', + QA: 'Katar', + RO: 'Rumunsko', + RS: 'Srbsko', + SA: 'Saudskou Arábii', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Východní Timor', + TN: 'Tunisko', + TR: 'Turecko', + VG: 'Britské Panenské ostrovy', + XK: 'Republic of Kosovo', + }, + country: 'Prosím zadejte správné IBAN číslo pro %s', + default: 'Prosím zadejte správné IBAN číslo', + }, + id: { + countries: { + BA: 'Bosnu a Hercegovinu', + BG: 'Bulharsko', + BR: 'Brazílii', + CH: 'Švýcarsko', + CL: 'Chile', + CN: 'Čínu', + CZ: 'Českou Republiku', + DK: 'Dánsko', + EE: 'Estonsko', + ES: 'Španělsko', + FI: 'Finsko', + HR: 'Chorvatsko', + IE: 'Irsko', + IS: 'Island', + LT: 'Litvu', + LV: 'Lotyšsko', + ME: 'Černou horu', + MK: 'Makedonii', + NL: 'Nizozemí', + PL: 'Polsko', + RO: 'Rumunsko', + RS: 'Srbsko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + TH: 'Thajsko', + TR: 'Turecko', + ZA: 'Jižní Afriku', + }, + country: 'Prosím zadejte správné rodné číslo pro %s', + default: 'Prosím zadejte správné rodné číslo', + }, + identical: { + default: 'Prosím zadejte stejnou hodnotu', + }, + imei: { + default: 'Prosím zadejte správné IMEI číslo', + }, + imo: { + default: 'Prosím zadejte správné IMO číslo', + }, + integer: { + default: 'Prosím zadejte celé číslo', + }, + ip: { + default: 'Prosím zadejte správnou IP adresu', + ipv4: 'Prosím zadejte správnou IPv4 adresu', + ipv6: 'Prosím zadejte správnou IPv6 adresu', + }, + isbn: { + default: 'Prosím zadejte správné ISBN číslo', + }, + isin: { + default: 'Prosím zadejte správné ISIN číslo', + }, + ismn: { + default: 'Prosím zadejte správné ISMN číslo', + }, + issn: { + default: 'Prosím zadejte správné ISSN číslo', + }, + lessThan: { + default: 'Prosím zadejte hodnotu menší nebo rovno %s', + notInclusive: 'Prosím zadejte hodnotu menčí než %s', + }, + mac: { + default: 'Prosím zadejte správnou MAC adresu', + }, + meid: { + default: 'Prosím zadejte správné MEID číslo', + }, + notEmpty: { + default: 'Toto pole nesmí být prázdné', + }, + numeric: { + default: 'Prosím zadejte číselnou hodnotu', + }, + phone: { + countries: { + AE: 'Spojené arabské emiráty', + BG: 'Bulharsko', + BR: 'Brazílii', + CN: 'Čínu', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + ES: 'Španělsko', + FR: 'Francii', + GB: 'Velkou Británii', + IN: 'Indie', + MA: 'Maroko', + NL: 'Nizozemsko', + PK: 'Pákistán', + RO: 'Rumunsko', + RU: 'Rusko', + SK: 'Slovensko', + TH: 'Thajsko', + US: 'Spojené Státy Americké', + VE: 'Venezuelu', + }, + country: 'Prosím zadejte správné telefoní číslo pro %s', + default: 'Prosím zadejte správné telefoní číslo', + }, + promise: { + default: 'Prosím zadejte správnou hodnotu', + }, + regexp: { + default: 'Prosím zadejte hodnotu splňující zadání', + }, + remote: { + default: 'Prosím zadejte správnou hodnotu', + }, + rtn: { + default: 'Prosím zadejte správné RTN číslo', + }, + sedol: { + default: 'Prosím zadejte správné SEDOL číslo', + }, + siren: { + default: 'Prosím zadejte správné SIREN číslo', + }, + siret: { + default: 'Prosím zadejte správné SIRET číslo', + }, + step: { + default: 'Prosím zadejte správný krok %s', + }, + stringCase: { + default: 'Pouze malá písmena jsou povoleny v tomto poli', + upper: 'Pouze velké písmena jsou povoleny v tomto poli', + }, + stringLength: { + between: 'Prosím zadejte hodnotu mezi %s a %s znaky', + default: 'Toto pole nesmí být prázdné', + less: 'Prosím zadejte hodnotu menší než %s znaků', + more: 'Prosím zadajte hodnotu dlhšiu ako %s znakov', + }, + uri: { + default: 'Prosím zadejte správnou URI', + }, + uuid: { + default: 'Prosím zadejte správné UUID číslo', + version: 'Prosím zadejte správné UUID verze %s', + }, + vat: { + countries: { + AT: 'Rakousko', + BE: 'Belgii', + BG: 'Bulharsko', + BR: 'Brazílii', + CH: 'Švýcarsko', + CY: 'Kypr', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + EE: 'Estonsko', + EL: 'Řecko', + ES: 'Španělsko', + FI: 'Finsko', + FR: 'Francii', + GB: 'Velkou Británii', + GR: 'Řecko', + HR: 'Chorvatsko', + HU: 'Maďarsko', + IE: 'Irsko', + IS: 'Island', + IT: 'Itálii', + LT: 'Litvu', + LU: 'Lucembursko', + LV: 'Lotyšsko', + MT: 'Maltu', + NL: 'Nizozemí', + NO: 'Norsko', + PL: 'Polsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RS: 'Srbsko', + RU: 'Rusko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + VE: 'Venezuelu', + ZA: 'Jižní Afriku', + }, + country: 'Prosím zadejte správné VAT číslo pro %s', + default: 'Prosím zadejte správné VAT číslo', + }, + vin: { + default: 'Prosím zadejte správné VIN číslo', + }, + zipCode: { + countries: { + AT: 'Rakousko', + BG: 'Bulharsko', + BR: 'Brazílie', + CA: 'Kanadu', + CH: 'Švýcarsko', + CZ: 'Českou Republiku', + DE: 'Německo', + DK: 'Dánsko', + ES: 'Španělsko', + FR: 'Francii', + GB: 'Velkou Británii', + IE: 'Irsko', + IN: 'Indie', + IT: 'Itálii', + MA: 'Maroko', + NL: 'Nizozemí', + PL: 'Polsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RU: 'Rusko', + SE: 'Švédsko', + SG: 'Singapur', + SK: 'Slovensko', + US: 'Spojené Státy Americké', + }, + country: 'Prosím zadejte správné PSČ pro %s', + default: 'Prosím zadejte správné PSČ', + }, + }; + + return cs_CZ; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/cs_CZ.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/cs_CZ.min.js new file mode 100755 index 00000000..94b6da5b --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/cs_CZ.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.cs_CZ=factory())})(this,(function(){"use strict";var cs_CZ={base64:{default:"Prosím zadejte správný base64"},between:{default:"Prosím zadejte hodnotu mezi %s a %s",notInclusive:"Prosím zadejte hodnotu mezi %s a %s (včetně těchto čísel)"},bic:{default:"Prosím zadejte správné BIC číslo"},callback:{default:"Prosím zadejte správnou hodnotu"},choice:{between:"Prosím vyberte mezi %s a %s",default:"Prosím vyberte správnou hodnotu",less:"Hodnota musí být minimálně %s",more:"Hodnota nesmí být více jak %s"},color:{default:"Prosím zadejte správnou barvu"},creditCard:{default:"Prosím zadejte správné číslo kreditní karty"},cusip:{default:"Prosím zadejte správné CUSIP číslo"},date:{default:"Prosím zadejte správné datum",max:"Prosím zadejte datum po %s",min:"Prosím zadejte datum před %s",range:"Prosím zadejte datum v rozmezí %s až %s"},different:{default:"Prosím zadejte jinou hodnotu"},digits:{default:"Toto pole může obsahovat pouze čísla"},ean:{default:"Prosím zadejte správné EAN číslo"},ein:{default:"Prosím zadejte správné EIN číslo"},emailAddress:{default:"Prosím zadejte správnou emailovou adresu"},file:{default:"Prosím vyberte soubor"},greaterThan:{default:"Prosím zadejte hodnotu větší nebo rovnu %s",notInclusive:"Prosím zadejte hodnotu větší než %s"},grid:{default:"Prosím zadejte správné GRId číslo"},hex:{default:"Prosím zadejte správné hexadecimální číslo"},iban:{countries:{AD:"Andorru",AE:"Spojené arabské emiráty",AL:"Albanii",AO:"Angolu",AT:"Rakousko",AZ:"Ázerbajdžán",BA:"Bosnu a Herzegovinu",BE:"Belgii",BF:"Burkinu Faso",BG:"Bulharsko",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazílii",CH:"Švýcarsko",CI:"Pobřeží slonoviny",CM:"Kamerun",CR:"Kostariku",CV:"Cape Verde",CY:"Kypr",CZ:"Českou republiku",DE:"Německo",DK:"Dánsko",DO:"Dominikánskou republiku",DZ:"Alžírsko",EE:"Estonsko",ES:"Španělsko",FI:"Finsko",FO:"Faerské ostrovy",FR:"Francie",GB:"Velkou Británii",GE:"Gruzii",GI:"Gibraltar",GL:"Grónsko",GR:"Řecko",GT:"Guatemalu",HR:"Chorvatsko",HU:"Maďarsko",IE:"Irsko",IL:"Israel",IR:"Irán",IS:"Island",IT:"Itálii",JO:"Jordansko",KW:"Kuwait",KZ:"Kazachstán",LB:"Libanon",LI:"Lichtenštejnsko",LT:"Litvu",LU:"Lucembursko",LV:"Lotyšsko",MC:"Monaco",MD:"Moldavsko",ME:"Černou Horu",MG:"Madagaskar",MK:"Makedonii",ML:"Mali",MR:"Mauritánii",MT:"Maltu",MU:"Mauritius",MZ:"Mosambik",NL:"Nizozemsko",NO:"Norsko",PK:"Pakistán",PL:"Polsko",PS:"Palestinu",PT:"Portugalsko",QA:"Katar",RO:"Rumunsko",RS:"Srbsko",SA:"Saudskou Arábii",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",SN:"Senegal",TL:"Východní Timor",TN:"Tunisko",TR:"Turecko",VG:"Britské Panenské ostrovy",XK:"Republic of Kosovo"},country:"Prosím zadejte správné IBAN číslo pro %s",default:"Prosím zadejte správné IBAN číslo"},id:{countries:{BA:"Bosnu a Hercegovinu",BG:"Bulharsko",BR:"Brazílii",CH:"Švýcarsko",CL:"Chile",CN:"Čínu",CZ:"Českou Republiku",DK:"Dánsko",EE:"Estonsko",ES:"Španělsko",FI:"Finsko",HR:"Chorvatsko",IE:"Irsko",IS:"Island",LT:"Litvu",LV:"Lotyšsko",ME:"Černou horu",MK:"Makedonii",NL:"Nizozemí",PL:"Polsko",RO:"Rumunsko",RS:"Srbsko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",TH:"Thajsko",TR:"Turecko",ZA:"Jižní Afriku"},country:"Prosím zadejte správné rodné číslo pro %s",default:"Prosím zadejte správné rodné číslo"},identical:{default:"Prosím zadejte stejnou hodnotu"},imei:{default:"Prosím zadejte správné IMEI číslo"},imo:{default:"Prosím zadejte správné IMO číslo"},integer:{default:"Prosím zadejte celé číslo"},ip:{default:"Prosím zadejte správnou IP adresu",ipv4:"Prosím zadejte správnou IPv4 adresu",ipv6:"Prosím zadejte správnou IPv6 adresu"},isbn:{default:"Prosím zadejte správné ISBN číslo"},isin:{default:"Prosím zadejte správné ISIN číslo"},ismn:{default:"Prosím zadejte správné ISMN číslo"},issn:{default:"Prosím zadejte správné ISSN číslo"},lessThan:{default:"Prosím zadejte hodnotu menší nebo rovno %s",notInclusive:"Prosím zadejte hodnotu menčí než %s"},mac:{default:"Prosím zadejte správnou MAC adresu"},meid:{default:"Prosím zadejte správné MEID číslo"},notEmpty:{default:"Toto pole nesmí být prázdné"},numeric:{default:"Prosím zadejte číselnou hodnotu"},phone:{countries:{AE:"Spojené arabské emiráty",BG:"Bulharsko",BR:"Brazílii",CN:"Čínu",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",ES:"Španělsko",FR:"Francii",GB:"Velkou Británii",IN:"Indie",MA:"Maroko",NL:"Nizozemsko",PK:"Pákistán",RO:"Rumunsko",RU:"Rusko",SK:"Slovensko",TH:"Thajsko",US:"Spojené Státy Americké",VE:"Venezuelu"},country:"Prosím zadejte správné telefoní číslo pro %s",default:"Prosím zadejte správné telefoní číslo"},promise:{default:"Prosím zadejte správnou hodnotu"},regexp:{default:"Prosím zadejte hodnotu splňující zadání"},remote:{default:"Prosím zadejte správnou hodnotu"},rtn:{default:"Prosím zadejte správné RTN číslo"},sedol:{default:"Prosím zadejte správné SEDOL číslo"},siren:{default:"Prosím zadejte správné SIREN číslo"},siret:{default:"Prosím zadejte správné SIRET číslo"},step:{default:"Prosím zadejte správný krok %s"},stringCase:{default:"Pouze malá písmena jsou povoleny v tomto poli",upper:"Pouze velké písmena jsou povoleny v tomto poli"},stringLength:{between:"Prosím zadejte hodnotu mezi %s a %s znaky",default:"Toto pole nesmí být prázdné",less:"Prosím zadejte hodnotu menší než %s znaků",more:"Prosím zadajte hodnotu dlhšiu ako %s znakov"},uri:{default:"Prosím zadejte správnou URI"},uuid:{default:"Prosím zadejte správné UUID číslo",version:"Prosím zadejte správné UUID verze %s"},vat:{countries:{AT:"Rakousko",BE:"Belgii",BG:"Bulharsko",BR:"Brazílii",CH:"Švýcarsko",CY:"Kypr",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",EE:"Estonsko",EL:"Řecko",ES:"Španělsko",FI:"Finsko",FR:"Francii",GB:"Velkou Británii",GR:"Řecko",HR:"Chorvatsko",HU:"Maďarsko",IE:"Irsko",IS:"Island",IT:"Itálii",LT:"Litvu",LU:"Lucembursko",LV:"Lotyšsko",MT:"Maltu",NL:"Nizozemí",NO:"Norsko",PL:"Polsko",PT:"Portugalsko",RO:"Rumunsko",RS:"Srbsko",RU:"Rusko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",VE:"Venezuelu",ZA:"Jižní Afriku"},country:"Prosím zadejte správné VAT číslo pro %s",default:"Prosím zadejte správné VAT číslo"},vin:{default:"Prosím zadejte správné VIN číslo"},zipCode:{countries:{AT:"Rakousko",BG:"Bulharsko",BR:"Brazílie",CA:"Kanadu",CH:"Švýcarsko",CZ:"Českou Republiku",DE:"Německo",DK:"Dánsko",ES:"Španělsko",FR:"Francii",GB:"Velkou Británii",IE:"Irsko",IN:"Indie",IT:"Itálii",MA:"Maroko",NL:"Nizozemí",PL:"Polsko",PT:"Portugalsko",RO:"Rumunsko",RU:"Rusko",SE:"Švédsko",SG:"Singapur",SK:"Slovensko",US:"Spojené Státy Americké"},country:"Prosím zadejte správné PSČ pro %s",default:"Prosím zadejte správné PSČ"}};return cs_CZ})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/da_DK.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/da_DK.js new file mode 100755 index 00000000..73af6625 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/da_DK.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.da_DK = factory())); +})(this, (function () { 'use strict'; + + /** + * Danish language package + * Translated by @Djarnis + */ + + var da_DK = { + base64: { + default: 'Udfyld venligst dette felt med en gyldig base64-kodet værdi', + }, + between: { + default: 'Udfyld venligst dette felt med en værdi mellem %s og %s', + notInclusive: 'Indtast venligst kun en værdi mellem %s og %s', + }, + bic: { + default: 'Udfyld venligst dette felt med et gyldigt BIC-nummer', + }, + callback: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + choice: { + between: 'Vælg venligst %s - %s valgmuligheder', + default: 'Udfyld venligst dette felt med en gyldig værdi', + less: 'Vælg venligst mindst %s valgmuligheder', + more: 'Vælg venligst højst %s valgmuligheder', + }, + color: { + default: 'Udfyld venligst dette felt med en gyldig farve', + }, + creditCard: { + default: 'Udfyld venligst dette felt med et gyldigt kreditkort-nummer', + }, + cusip: { + default: 'Udfyld venligst dette felt med et gyldigt CUSIP-nummer', + }, + date: { + default: 'Udfyld venligst dette felt med en gyldig dato', + max: 'Angiv venligst en dato før %s', + min: 'Angiv venligst en dato efter %s', + range: 'Angiv venligst en dato mellem %s - %s', + }, + different: { + default: 'Udfyld venligst dette felt med en anden værdi', + }, + digits: { + default: 'Indtast venligst kun cifre', + }, + ean: { + default: 'Udfyld venligst dette felt med et gyldigt EAN-nummer', + }, + ein: { + default: 'Udfyld venligst dette felt med et gyldigt EIN-nummer', + }, + emailAddress: { + default: 'Udfyld venligst dette felt med en gyldig e-mail-adresse', + }, + file: { + default: 'Vælg venligst en gyldig fil', + }, + greaterThan: { + default: 'Udfyld venligst dette felt med en værdi større eller lig med %s', + notInclusive: 'Udfyld venligst dette felt med en værdi større end %s', + }, + grid: { + default: 'Udfyld venligst dette felt med et gyldigt GRId-nummer', + }, + hex: { + default: 'Udfyld venligst dette felt med et gyldigt hexadecimal-nummer', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'De Forenede Arabiske Emirater', + AL: 'Albanien', + AO: 'Angola', + AT: 'Østrig', + AZ: 'Aserbajdsjan', + BA: 'Bosnien-Hercegovina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbenskysten', + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Kap Verde', + CY: 'Cypern', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Den Dominikanske Republik', + DZ: 'Algeriet', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + FO: 'Færøerne', + FR: 'Frankrig', + GB: 'Storbritannien', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grønland', + GR: 'Grækenland', + GT: 'Guatemala', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kasakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Holland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palæstina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Rumænien', + RS: 'Serbien', + SA: 'Saudi-Arabien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Østtimor', + TN: 'Tunesien', + TR: 'Tyrkiet', + VG: 'Britiske Jomfruøer', + XK: 'Kosovo', + }, + country: 'Udfyld venligst dette felt med et gyldigt IBAN-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien-Hercegovina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tjekkiet', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Makedonien', + NL: 'Holland', + PL: 'Polen', + RO: 'Rumænien', + RS: 'Serbien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Tyrkiet', + ZA: 'Sydafrika', + }, + country: 'Udfyld venligst dette felt med et gyldigt identifikations-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt identifikations-nummer', + }, + identical: { + default: 'Udfyld venligst dette felt med den samme værdi', + }, + imei: { + default: 'Udfyld venligst dette felt med et gyldigt IMEI-nummer', + }, + imo: { + default: 'Udfyld venligst dette felt med et gyldigt IMO-nummer', + }, + integer: { + default: 'Udfyld venligst dette felt med et gyldigt tal', + }, + ip: { + default: 'Udfyld venligst dette felt med en gyldig IP adresse', + ipv4: 'Udfyld venligst dette felt med en gyldig IPv4 adresse', + ipv6: 'Udfyld venligst dette felt med en gyldig IPv6 adresse', + }, + isbn: { + default: 'Udfyld venligst dette felt med et gyldigt ISBN-nummer', + }, + isin: { + default: 'Udfyld venligst dette felt med et gyldigt ISIN-nummer', + }, + ismn: { + default: 'Udfyld venligst dette felt med et gyldigt ISMN-nummer', + }, + issn: { + default: 'Udfyld venligst dette felt med et gyldigt ISSN-nummer', + }, + lessThan: { + default: 'Udfyld venligst dette felt med en værdi mindre eller lig med %s', + notInclusive: 'Udfyld venligst dette felt med en værdi mindre end %s', + }, + mac: { + default: 'Udfyld venligst dette felt med en gyldig MAC adresse', + }, + meid: { + default: 'Udfyld venligst dette felt med et gyldigt MEID-nummer', + }, + notEmpty: { + default: 'Udfyld venligst dette felt', + }, + numeric: { + default: 'Udfyld venligst dette felt med et gyldigt flydende decimaltal', + }, + phone: { + countries: { + AE: 'De Forenede Arabiske Emirater', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'Kina', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrig', + GB: 'Storbritannien', + IN: 'Indien', + MA: 'Marokko', + NL: 'Holland', + PK: 'Pakistan', + RO: 'Rumænien', + RU: 'Rusland', + SK: 'Slovakiet', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Udfyld venligst dette felt med et gyldigt telefonnummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt telefonnummer', + }, + promise: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + regexp: { + default: 'Udfyld venligst dette felt med en værdi der matcher mønsteret', + }, + remote: { + default: 'Udfyld venligst dette felt med en gyldig værdi', + }, + rtn: { + default: 'Udfyld venligst dette felt med et gyldigt RTN-nummer', + }, + sedol: { + default: 'Udfyld venligst dette felt med et gyldigt SEDOL-nummer', + }, + siren: { + default: 'Udfyld venligst dette felt med et gyldigt SIREN-nummer', + }, + siret: { + default: 'Udfyld venligst dette felt med et gyldigt SIRET-nummer', + }, + step: { + default: 'Udfyld venligst dette felt med et gyldigt trin af %s', + }, + stringCase: { + default: 'Udfyld venligst kun dette felt med små bogstaver', + upper: 'Udfyld venligst kun dette felt med store bogstaver', + }, + stringLength: { + between: 'Udfyld venligst dette felt med en værdi mellem %s og %s tegn', + default: 'Udfyld venligst dette felt med en værdi af gyldig længde', + less: 'Udfyld venligst dette felt med mindre end %s tegn', + more: 'Udfyld venligst dette felt med mere end %s tegn', + }, + uri: { + default: 'Udfyld venligst dette felt med en gyldig URI', + }, + uuid: { + default: 'Udfyld venligst dette felt med et gyldigt UUID-nummer', + version: 'Udfyld venligst dette felt med en gyldig UUID version %s-nummer', + }, + vat: { + countries: { + AT: 'Østrig', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Grækenland', + ES: 'Spanien', + FI: 'Finland', + FR: 'Frankrig', + GB: 'Storbritannien', + GR: 'Grækenland', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Letland', + MT: 'Malta', + NL: 'Holland', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumænien', + RS: 'Serbien', + RU: 'Rusland', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakiet', + VE: 'Venezuela', + ZA: 'Sydafrika', + }, + country: 'Udfyld venligst dette felt med et gyldigt moms-nummer i %s', + default: 'Udfyld venligst dette felt med et gyldig moms-nummer', + }, + vin: { + default: 'Udfyld venligst dette felt med et gyldigt VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Østrig', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Canada', + CH: 'Schweiz', + CZ: 'Tjekkiet', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrig', + GB: 'Storbritannien', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marokko', + NL: 'Holland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumænien', + RU: 'Rusland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakiet', + US: 'USA', + }, + country: 'Udfyld venligst dette felt med et gyldigt postnummer i %s', + default: 'Udfyld venligst dette felt med et gyldigt postnummer', + }, + }; + + return da_DK; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/da_DK.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/da_DK.min.js new file mode 100755 index 00000000..ce97a7a7 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/da_DK.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.da_DK=factory())})(this,(function(){"use strict";var da_DK={base64:{default:"Udfyld venligst dette felt med en gyldig base64-kodet værdi"},between:{default:"Udfyld venligst dette felt med en værdi mellem %s og %s",notInclusive:"Indtast venligst kun en værdi mellem %s og %s"},bic:{default:"Udfyld venligst dette felt med et gyldigt BIC-nummer"},callback:{default:"Udfyld venligst dette felt med en gyldig værdi"},choice:{between:"Vælg venligst %s - %s valgmuligheder",default:"Udfyld venligst dette felt med en gyldig værdi",less:"Vælg venligst mindst %s valgmuligheder",more:"Vælg venligst højst %s valgmuligheder"},color:{default:"Udfyld venligst dette felt med en gyldig farve"},creditCard:{default:"Udfyld venligst dette felt med et gyldigt kreditkort-nummer"},cusip:{default:"Udfyld venligst dette felt med et gyldigt CUSIP-nummer"},date:{default:"Udfyld venligst dette felt med en gyldig dato",max:"Angiv venligst en dato før %s",min:"Angiv venligst en dato efter %s",range:"Angiv venligst en dato mellem %s - %s"},different:{default:"Udfyld venligst dette felt med en anden værdi"},digits:{default:"Indtast venligst kun cifre"},ean:{default:"Udfyld venligst dette felt med et gyldigt EAN-nummer"},ein:{default:"Udfyld venligst dette felt med et gyldigt EIN-nummer"},emailAddress:{default:"Udfyld venligst dette felt med en gyldig e-mail-adresse"},file:{default:"Vælg venligst en gyldig fil"},greaterThan:{default:"Udfyld venligst dette felt med en værdi større eller lig med %s",notInclusive:"Udfyld venligst dette felt med en værdi større end %s"},grid:{default:"Udfyld venligst dette felt med et gyldigt GRId-nummer"},hex:{default:"Udfyld venligst dette felt med et gyldigt hexadecimal-nummer"},iban:{countries:{AD:"Andorra",AE:"De Forenede Arabiske Emirater",AL:"Albanien",AO:"Angola",AT:"Østrig",AZ:"Aserbajdsjan",BA:"Bosnien-Hercegovina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbenskysten",CM:"Cameroun",CR:"Costa Rica",CV:"Kap Verde",CY:"Cypern",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",DO:"Den Dominikanske Republik",DZ:"Algeriet",EE:"Estland",ES:"Spanien",FI:"Finland",FO:"Færøerne",FR:"Frankrig",GB:"Storbritannien",GE:"Georgien",GI:"Gibraltar",GL:"Grønland",GR:"Grækenland",GT:"Guatemala",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordan",KW:"Kuwait",KZ:"Kasakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxembourg",LV:"Letland",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Holland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palæstina",PT:"Portugal",QA:"Qatar",RO:"Rumænien",RS:"Serbien",SA:"Saudi-Arabien",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",SM:"San Marino",SN:"Senegal",TL:"Østtimor",TN:"Tunesien",TR:"Tyrkiet",VG:"Britiske Jomfruøer",XK:"Kosovo"},country:"Udfyld venligst dette felt med et gyldigt IBAN-nummer i %s",default:"Udfyld venligst dette felt med et gyldigt IBAN-nummer"},id:{countries:{BA:"Bosnien-Hercegovina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"Kina",CZ:"Tjekkiet",DK:"Danmark",EE:"Estland",ES:"Spanien",FI:"Finland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Letland",ME:"Montenegro",MK:"Makedonien",NL:"Holland",PL:"Polen",RO:"Rumænien",RS:"Serbien",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",SM:"San Marino",TH:"Thailand",TR:"Tyrkiet",ZA:"Sydafrika"},country:"Udfyld venligst dette felt med et gyldigt identifikations-nummer i %s",default:"Udfyld venligst dette felt med et gyldigt identifikations-nummer"},identical:{default:"Udfyld venligst dette felt med den samme værdi"},imei:{default:"Udfyld venligst dette felt med et gyldigt IMEI-nummer"},imo:{default:"Udfyld venligst dette felt med et gyldigt IMO-nummer"},integer:{default:"Udfyld venligst dette felt med et gyldigt tal"},ip:{default:"Udfyld venligst dette felt med en gyldig IP adresse",ipv4:"Udfyld venligst dette felt med en gyldig IPv4 adresse",ipv6:"Udfyld venligst dette felt med en gyldig IPv6 adresse"},isbn:{default:"Udfyld venligst dette felt med et gyldigt ISBN-nummer"},isin:{default:"Udfyld venligst dette felt med et gyldigt ISIN-nummer"},ismn:{default:"Udfyld venligst dette felt med et gyldigt ISMN-nummer"},issn:{default:"Udfyld venligst dette felt med et gyldigt ISSN-nummer"},lessThan:{default:"Udfyld venligst dette felt med en værdi mindre eller lig med %s",notInclusive:"Udfyld venligst dette felt med en værdi mindre end %s"},mac:{default:"Udfyld venligst dette felt med en gyldig MAC adresse"},meid:{default:"Udfyld venligst dette felt med et gyldigt MEID-nummer"},notEmpty:{default:"Udfyld venligst dette felt"},numeric:{default:"Udfyld venligst dette felt med et gyldigt flydende decimaltal"},phone:{countries:{AE:"De Forenede Arabiske Emirater",BG:"Bulgarien",BR:"Brasilien",CN:"Kina",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrig",GB:"Storbritannien",IN:"Indien",MA:"Marokko",NL:"Holland",PK:"Pakistan",RO:"Rumænien",RU:"Rusland",SK:"Slovakiet",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Udfyld venligst dette felt med et gyldigt telefonnummer i %s",default:"Udfyld venligst dette felt med et gyldigt telefonnummer"},promise:{default:"Udfyld venligst dette felt med en gyldig værdi"},regexp:{default:"Udfyld venligst dette felt med en værdi der matcher mønsteret"},remote:{default:"Udfyld venligst dette felt med en gyldig værdi"},rtn:{default:"Udfyld venligst dette felt med et gyldigt RTN-nummer"},sedol:{default:"Udfyld venligst dette felt med et gyldigt SEDOL-nummer"},siren:{default:"Udfyld venligst dette felt med et gyldigt SIREN-nummer"},siret:{default:"Udfyld venligst dette felt med et gyldigt SIRET-nummer"},step:{default:"Udfyld venligst dette felt med et gyldigt trin af %s"},stringCase:{default:"Udfyld venligst kun dette felt med små bogstaver",upper:"Udfyld venligst kun dette felt med store bogstaver"},stringLength:{between:"Udfyld venligst dette felt med en værdi mellem %s og %s tegn",default:"Udfyld venligst dette felt med en værdi af gyldig længde",less:"Udfyld venligst dette felt med mindre end %s tegn",more:"Udfyld venligst dette felt med mere end %s tegn"},uri:{default:"Udfyld venligst dette felt med en gyldig URI"},uuid:{default:"Udfyld venligst dette felt med et gyldigt UUID-nummer",version:"Udfyld venligst dette felt med en gyldig UUID version %s-nummer"},vat:{countries:{AT:"Østrig",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Cypern",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Grækenland",ES:"Spanien",FI:"Finland",FR:"Frankrig",GB:"Storbritannien",GR:"Grækenland",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxembourg",LV:"Letland",MT:"Malta",NL:"Holland",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Rumænien",RS:"Serbien",RU:"Rusland",SE:"Sverige",SI:"Slovenien",SK:"Slovakiet",VE:"Venezuela",ZA:"Sydafrika"},country:"Udfyld venligst dette felt med et gyldigt moms-nummer i %s",default:"Udfyld venligst dette felt med et gyldig moms-nummer"},vin:{default:"Udfyld venligst dette felt med et gyldigt VIN-nummer"},zipCode:{countries:{AT:"Østrig",BG:"Bulgarien",BR:"Brasilien",CA:"Canada",CH:"Schweiz",CZ:"Tjekkiet",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrig",GB:"Storbritannien",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marokko",NL:"Holland",PL:"Polen",PT:"Portugal",RO:"Rumænien",RU:"Rusland",SE:"Sverige",SG:"Singapore",SK:"Slovakiet",US:"USA"},country:"Udfyld venligst dette felt med et gyldigt postnummer i %s",default:"Udfyld venligst dette felt med et gyldigt postnummer"}};return da_DK})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/de_DE.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/de_DE.js new file mode 100755 index 00000000..84f55260 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/de_DE.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.de_DE = factory())); +})(this, (function () { 'use strict'; + + /** + * German language package + * Translated by @logemann + */ + + var de_DE = { + base64: { + default: 'Bitte eine Base64 Kodierung eingeben', + }, + between: { + default: 'Bitte einen Wert zwischen %s und %s eingeben', + notInclusive: 'Bitte einen Wert zwischen %s und %s (strictly) eingeben', + }, + bic: { + default: 'Bitte gültige BIC Nummer eingeben', + }, + callback: { + default: 'Bitte einen gültigen Wert eingeben', + }, + choice: { + between: 'Zwischen %s - %s Werten wählen', + default: 'Bitte einen gültigen Wert eingeben', + less: 'Bitte mindestens %s Werte eingeben', + more: 'Bitte maximal %s Werte eingeben', + }, + color: { + default: 'Bitte gültige Farbe eingeben', + }, + creditCard: { + default: 'Bitte gültige Kreditkartennr. eingeben', + }, + cusip: { + default: 'Bitte gültige CUSIP Nummer eingeben', + }, + date: { + default: 'Bitte gültiges Datum eingeben', + max: 'Bitte gültiges Datum vor %s', + min: 'Bitte gültiges Datum nach %s', + range: 'Bitte gültiges Datum im zwischen %s - %s', + }, + different: { + default: 'Bitte anderen Wert eingeben', + }, + digits: { + default: 'Bitte Zahlen eingeben', + }, + ean: { + default: 'Bitte gültige EAN Nummer eingeben', + }, + ein: { + default: 'Bitte gültige EIN Nummer eingeben', + }, + emailAddress: { + default: 'Bitte gültige Emailadresse eingeben', + }, + file: { + default: 'Bitte gültiges File eingeben', + }, + greaterThan: { + default: 'Bitte Wert größer gleich %s eingeben', + notInclusive: 'Bitte Wert größer als %s eingeben', + }, + grid: { + default: 'Bitte gültige GRId Nummer eingeben', + }, + hex: { + default: 'Bitte gültigen Hexadezimalwert eingeben', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Vereinigte Arabische Emirate', + AL: 'Albanien', + AO: 'Angola', + AT: 'Österreich', + AZ: 'Aserbaidschan', + BA: 'Bosnien und Herzegowina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbeinküste', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Kap Verde', + CY: 'Zypern', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + DO: 'Dominikanische Republik', + DZ: 'Algerien', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finnland', + FO: 'Färöer-Inseln', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grönland', + GR: 'Griechenland', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordanien', + KW: 'Kuwait', + KZ: 'Kasachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MC: 'Monaco', + MD: 'Moldawien', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Mazedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Niederlande', + NO: 'Norwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palästina', + PT: 'Portugal', + QA: 'Katar', + RO: 'Rumänien', + RS: 'Serbien', + SA: 'Saudi-Arabien', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Ost-Timor', + TN: 'Tunesien', + TR: 'Türkei', + VG: 'Jungferninseln', + XK: 'Republik Kosovo', + }, + country: 'Bitte eine gültige IBAN Nummer für %s eingeben', + default: 'Bitte eine gültige IBAN Nummer eingeben', + }, + id: { + countries: { + BA: 'Bosnien und Herzegowina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'China', + CZ: 'Tschechische', + DK: 'Dänemark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finnland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Lettland', + ME: 'Montenegro', + MK: 'Mazedonien', + NL: 'Niederlande', + PL: 'Polen', + RO: 'Rumänien', + RS: 'Serbien', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Türkei', + ZA: 'Südafrika', + }, + country: 'Bitte gültige Identifikationsnummer für %s eingeben', + default: 'Bitte gültige Identifikationsnnummer eingeben', + }, + identical: { + default: 'Bitte gleichen Wert eingeben', + }, + imei: { + default: 'Bitte gültige IMEI Nummer eingeben', + }, + imo: { + default: 'Bitte gültige IMO Nummer eingeben', + }, + integer: { + default: 'Bitte Zahl eingeben', + }, + ip: { + default: 'Bitte gültige IP-Adresse eingeben', + ipv4: 'Bitte gültige IPv4 Adresse eingeben', + ipv6: 'Bitte gültige IPv6 Adresse eingeben', + }, + isbn: { + default: 'Bitte gültige ISBN Nummer eingeben', + }, + isin: { + default: 'Bitte gültige ISIN Nummer eingeben', + }, + ismn: { + default: 'Bitte gültige ISMN Nummer eingeben', + }, + issn: { + default: 'Bitte gültige ISSN Nummer eingeben', + }, + lessThan: { + default: 'Bitte Wert kleiner gleich %s eingeben', + notInclusive: 'Bitte Wert kleiner als %s eingeben', + }, + mac: { + default: 'Bitte gültige MAC Adresse eingeben', + }, + meid: { + default: 'Bitte gültige MEID Nummer eingeben', + }, + notEmpty: { + default: 'Bitte Wert eingeben', + }, + numeric: { + default: 'Bitte Nummer eingeben', + }, + phone: { + countries: { + AE: 'Vereinigte Arabische Emirate', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'China', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + ES: 'Spanien', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + IN: 'Indien', + MA: 'Marokko', + NL: 'Niederlande', + PK: 'Pakistan', + RO: 'Rumänien', + RU: 'Russland', + SK: 'Slowakei', + TH: 'Thailand', + US: 'Vereinigte Staaten von Amerika', + VE: 'Venezuela', + }, + country: 'Bitte valide Telefonnummer für %s eingeben', + default: 'Bitte gültige Telefonnummer eingeben', + }, + promise: { + default: 'Bitte einen gültigen Wert eingeben', + }, + regexp: { + default: 'Bitte Wert eingeben, der der Maske entspricht', + }, + remote: { + default: 'Bitte einen gültigen Wert eingeben', + }, + rtn: { + default: 'Bitte gültige RTN Nummer eingeben', + }, + sedol: { + default: 'Bitte gültige SEDOL Nummer eingeben', + }, + siren: { + default: 'Bitte gültige SIREN Nummer eingeben', + }, + siret: { + default: 'Bitte gültige SIRET Nummer eingeben', + }, + step: { + default: 'Bitte einen gültigen Schritt von %s eingeben', + }, + stringCase: { + default: 'Bitte nur Kleinbuchstaben eingeben', + upper: 'Bitte nur Großbuchstaben eingeben', + }, + stringLength: { + between: 'Bitte Wert zwischen %s und %s Zeichen eingeben', + default: 'Bitte Wert mit gültiger Länge eingeben', + less: 'Bitte weniger als %s Zeichen eingeben', + more: 'Bitte mehr als %s Zeichen eingeben', + }, + uri: { + default: 'Bitte gültige URI eingeben', + }, + uuid: { + default: 'Bitte gültige UUID Nummer eingeben', + version: 'Bitte gültige UUID Version %s eingeben', + }, + vat: { + countries: { + AT: 'Österreich', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Zypern', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + EE: 'Estland', + EL: 'Griechenland', + ES: 'Spanisch', + FI: 'Finnland', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + GR: 'Griechenland', + HR: 'Kroatien', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MT: 'Malta', + NL: 'Niederlande', + NO: 'Norwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RS: 'Serbien', + RU: 'Russland', + SE: 'Schweden', + SI: 'Slowenien', + SK: 'Slowakei', + VE: 'Venezuela', + ZA: 'Südafrika', + }, + country: 'Bitte gültige VAT Nummer für %s eingeben', + default: 'Bitte gültige VAT Nummer eingeben', + }, + vin: { + default: 'Bitte gültige VIN Nummer eingeben', + }, + zipCode: { + countries: { + AT: 'Österreich', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Kanada', + CH: 'Schweiz', + CZ: 'Tschechische', + DE: 'Deutschland', + DK: 'Dänemark', + ES: 'Spanien', + FR: 'Frankreich', + GB: 'Vereinigtes Königreich', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marokko', + NL: 'Niederlande', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RU: 'Russland', + SE: 'Schweden', + SG: 'Singapur', + SK: 'Slowakei', + US: 'Vereinigte Staaten von Amerika', + }, + country: 'Bitte gültige Postleitzahl für %s eingeben', + default: 'Bitte gültige PLZ eingeben', + }, + }; + + return de_DE; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/de_DE.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/de_DE.min.js new file mode 100755 index 00000000..1fc54898 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/de_DE.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.de_DE=factory())})(this,(function(){"use strict";var de_DE={base64:{default:"Bitte eine Base64 Kodierung eingeben"},between:{default:"Bitte einen Wert zwischen %s und %s eingeben",notInclusive:"Bitte einen Wert zwischen %s und %s (strictly) eingeben"},bic:{default:"Bitte gültige BIC Nummer eingeben"},callback:{default:"Bitte einen gültigen Wert eingeben"},choice:{between:"Zwischen %s - %s Werten wählen",default:"Bitte einen gültigen Wert eingeben",less:"Bitte mindestens %s Werte eingeben",more:"Bitte maximal %s Werte eingeben"},color:{default:"Bitte gültige Farbe eingeben"},creditCard:{default:"Bitte gültige Kreditkartennr. eingeben"},cusip:{default:"Bitte gültige CUSIP Nummer eingeben"},date:{default:"Bitte gültiges Datum eingeben",max:"Bitte gültiges Datum vor %s",min:"Bitte gültiges Datum nach %s",range:"Bitte gültiges Datum im zwischen %s - %s"},different:{default:"Bitte anderen Wert eingeben"},digits:{default:"Bitte Zahlen eingeben"},ean:{default:"Bitte gültige EAN Nummer eingeben"},ein:{default:"Bitte gültige EIN Nummer eingeben"},emailAddress:{default:"Bitte gültige Emailadresse eingeben"},file:{default:"Bitte gültiges File eingeben"},greaterThan:{default:"Bitte Wert größer gleich %s eingeben",notInclusive:"Bitte Wert größer als %s eingeben"},grid:{default:"Bitte gültige GRId Nummer eingeben"},hex:{default:"Bitte gültigen Hexadezimalwert eingeben"},iban:{countries:{AD:"Andorra",AE:"Vereinigte Arabische Emirate",AL:"Albanien",AO:"Angola",AT:"Österreich",AZ:"Aserbaidschan",BA:"Bosnien und Herzegowina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbeinküste",CM:"Kamerun",CR:"Costa Rica",CV:"Kap Verde",CY:"Zypern",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",DO:"Dominikanische Republik",DZ:"Algerien",EE:"Estland",ES:"Spanien",FI:"Finnland",FO:"Färöer-Inseln",FR:"Frankreich",GB:"Vereinigtes Königreich",GE:"Georgien",GI:"Gibraltar",GL:"Grönland",GR:"Griechenland",GT:"Guatemala",HR:"Croatia",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordanien",KW:"Kuwait",KZ:"Kasachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MC:"Monaco",MD:"Moldawien",ME:"Montenegro",MG:"Madagaskar",MK:"Mazedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mosambik",NL:"Niederlande",NO:"Norwegen",PK:"Pakistan",PL:"Polen",PS:"Palästina",PT:"Portugal",QA:"Katar",RO:"Rumänien",RS:"Serbien",SA:"Saudi-Arabien",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",SM:"San Marino",SN:"Senegal",TL:"Ost-Timor",TN:"Tunesien",TR:"Türkei",VG:"Jungferninseln",XK:"Republik Kosovo"},country:"Bitte eine gültige IBAN Nummer für %s eingeben",default:"Bitte eine gültige IBAN Nummer eingeben"},id:{countries:{BA:"Bosnien und Herzegowina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"China",CZ:"Tschechische",DK:"Dänemark",EE:"Estland",ES:"Spanien",FI:"Finnland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Lettland",ME:"Montenegro",MK:"Mazedonien",NL:"Niederlande",PL:"Polen",RO:"Rumänien",RS:"Serbien",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",SM:"San Marino",TH:"Thailand",TR:"Türkei",ZA:"Südafrika"},country:"Bitte gültige Identifikationsnummer für %s eingeben",default:"Bitte gültige Identifikationsnnummer eingeben"},identical:{default:"Bitte gleichen Wert eingeben"},imei:{default:"Bitte gültige IMEI Nummer eingeben"},imo:{default:"Bitte gültige IMO Nummer eingeben"},integer:{default:"Bitte Zahl eingeben"},ip:{default:"Bitte gültige IP-Adresse eingeben",ipv4:"Bitte gültige IPv4 Adresse eingeben",ipv6:"Bitte gültige IPv6 Adresse eingeben"},isbn:{default:"Bitte gültige ISBN Nummer eingeben"},isin:{default:"Bitte gültige ISIN Nummer eingeben"},ismn:{default:"Bitte gültige ISMN Nummer eingeben"},issn:{default:"Bitte gültige ISSN Nummer eingeben"},lessThan:{default:"Bitte Wert kleiner gleich %s eingeben",notInclusive:"Bitte Wert kleiner als %s eingeben"},mac:{default:"Bitte gültige MAC Adresse eingeben"},meid:{default:"Bitte gültige MEID Nummer eingeben"},notEmpty:{default:"Bitte Wert eingeben"},numeric:{default:"Bitte Nummer eingeben"},phone:{countries:{AE:"Vereinigte Arabische Emirate",BG:"Bulgarien",BR:"Brasilien",CN:"China",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",ES:"Spanien",FR:"Frankreich",GB:"Vereinigtes Königreich",IN:"Indien",MA:"Marokko",NL:"Niederlande",PK:"Pakistan",RO:"Rumänien",RU:"Russland",SK:"Slowakei",TH:"Thailand",US:"Vereinigte Staaten von Amerika",VE:"Venezuela"},country:"Bitte valide Telefonnummer für %s eingeben",default:"Bitte gültige Telefonnummer eingeben"},promise:{default:"Bitte einen gültigen Wert eingeben"},regexp:{default:"Bitte Wert eingeben, der der Maske entspricht"},remote:{default:"Bitte einen gültigen Wert eingeben"},rtn:{default:"Bitte gültige RTN Nummer eingeben"},sedol:{default:"Bitte gültige SEDOL Nummer eingeben"},siren:{default:"Bitte gültige SIREN Nummer eingeben"},siret:{default:"Bitte gültige SIRET Nummer eingeben"},step:{default:"Bitte einen gültigen Schritt von %s eingeben"},stringCase:{default:"Bitte nur Kleinbuchstaben eingeben",upper:"Bitte nur Großbuchstaben eingeben"},stringLength:{between:"Bitte Wert zwischen %s und %s Zeichen eingeben",default:"Bitte Wert mit gültiger Länge eingeben",less:"Bitte weniger als %s Zeichen eingeben",more:"Bitte mehr als %s Zeichen eingeben"},uri:{default:"Bitte gültige URI eingeben"},uuid:{default:"Bitte gültige UUID Nummer eingeben",version:"Bitte gültige UUID Version %s eingeben"},vat:{countries:{AT:"Österreich",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Zypern",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",EE:"Estland",EL:"Griechenland",ES:"Spanisch",FI:"Finnland",FR:"Frankreich",GB:"Vereinigtes Königreich",GR:"Griechenland",HR:"Kroatien",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MT:"Malta",NL:"Niederlande",NO:"Norwegen",PL:"Polen",PT:"Portugal",RO:"Rumänien",RS:"Serbien",RU:"Russland",SE:"Schweden",SI:"Slowenien",SK:"Slowakei",VE:"Venezuela",ZA:"Südafrika"},country:"Bitte gültige VAT Nummer für %s eingeben",default:"Bitte gültige VAT Nummer eingeben"},vin:{default:"Bitte gültige VIN Nummer eingeben"},zipCode:{countries:{AT:"Österreich",BG:"Bulgarien",BR:"Brasilien",CA:"Kanada",CH:"Schweiz",CZ:"Tschechische",DE:"Deutschland",DK:"Dänemark",ES:"Spanien",FR:"Frankreich",GB:"Vereinigtes Königreich",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marokko",NL:"Niederlande",PL:"Polen",PT:"Portugal",RO:"Rumänien",RU:"Russland",SE:"Schweden",SG:"Singapur",SK:"Slowakei",US:"Vereinigte Staaten von Amerika"},country:"Bitte gültige Postleitzahl für %s eingeben",default:"Bitte gültige PLZ eingeben"}};return de_DE})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/el_GR.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/el_GR.js new file mode 100755 index 00000000..d2add093 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/el_GR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.el_GR = factory())); +})(this, (function () { 'use strict'; + + /** + * Greek language package + * Translated by @pRieStaKos + */ + + var el_GR = { + base64: { + default: 'Παρακαλώ εισάγετε μια έγκυρη κωδικοποίηση base 64', + }, + between: { + default: 'Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s αυστηρά', + }, + bic: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό BIC', + }, + callback: { + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + }, + choice: { + between: 'Παρακαλώ επιλέξτε %s - %s επιλογές', + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + less: 'Παρακαλώ επιλέξτε %s επιλογές στο ελάχιστο', + more: 'Παρακαλώ επιλέξτε %s επιλογές στο μέγιστο', + }, + color: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο χρώμα', + }, + creditCard: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας', + }, + cusip: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό CUSIP', + }, + date: { + default: 'Παρακαλώ εισάγετε μια έγκυρη ημερομηνία', + max: 'Παρακαλώ εισάγετε ημερομηνία πριν από %s', + min: 'Παρακαλώ εισάγετε ημερομηνία μετά από %s', + range: 'Παρακαλώ εισάγετε ημερομηνία μεταξύ %s - %s', + }, + different: { + default: 'Παρακαλώ εισάγετε μια διαφορετική τιμή', + }, + digits: { + default: 'Παρακαλώ εισάγετε μόνο ψηφία', + }, + ean: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό EAN', + }, + ein: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό EIN', + }, + emailAddress: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο email', + }, + file: { + default: 'Παρακαλώ επιλέξτε ένα έγκυρο αρχείο', + }, + greaterThan: { + default: 'Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση με %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μεγαλύτερη από %s', + }, + grid: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό GRId', + }, + hex: { + default: 'Παρακαλώ εισάγετε έναν έγκυρο δεκαεξαδικό αριθμό', + }, + iban: { + countries: { + AD: 'Ανδόρα', + AE: 'Ηνωμένα Αραβικά Εμιράτα', + AL: 'Αλβανία', + AO: 'Αγκόλα', + AT: 'Αυστρία', + AZ: 'Αζερμπαϊτζάν', + BA: 'Βοσνία και Ερζεγοβίνη', + BE: 'Βέλγιο', + BF: 'Μπουρκίνα Φάσο', + BG: 'Βουλγαρία', + BH: 'Μπαχρέιν', + BI: 'Μπουρούντι', + BJ: 'Μπενίν', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CI: 'Ακτή Ελεφαντοστού', + CM: 'Καμερούν', + CR: 'Κόστα Ρίκα', + CV: 'Cape Verde', + CY: 'Κύπρος', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + DO: 'Δομινικανή Δημοκρατία', + DZ: 'Αλγερία', + EE: 'Εσθονία', + ES: 'Ισπανία', + FI: 'Φινλανδία', + FO: 'Νησιά Φερόε', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + GE: 'Γεωργία', + GI: 'Γιβραλτάρ', + GL: 'Γροιλανδία', + GR: 'Ελλάδα', + GT: 'Γουατεμάλα', + HR: 'Κροατία', + HU: 'Ουγγαρία', + IE: 'Ιρλανδία', + IL: 'Ισραήλ', + IR: 'Ιράν', + IS: 'Ισλανδία', + IT: 'Ιταλία', + JO: 'Ιορδανία', + KW: 'Κουβέιτ', + KZ: 'Καζακστάν', + LB: 'Λίβανος', + LI: 'Λιχτενστάιν', + LT: 'Λιθουανία', + LU: 'Λουξεμβούργο', + LV: 'Λετονία', + MC: 'Μονακό', + MD: 'Μολδαβία', + ME: 'Μαυροβούνιο', + MG: 'Μαδαγασκάρη', + MK: 'πΓΔΜ', + ML: 'Μάλι', + MR: 'Μαυριτανία', + MT: 'Μάλτα', + MU: 'Μαυρίκιος', + MZ: 'Μοζαμβίκη', + NL: 'Ολλανδία', + NO: 'Νορβηγία', + PK: 'Πακιστάν', + PL: 'Πολωνία', + PS: 'Παλαιστίνη', + PT: 'Πορτογαλία', + QA: 'Κατάρ', + RO: 'Ρουμανία', + RS: 'Σερβία', + SA: 'Σαουδική Αραβία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + SM: 'Σαν Μαρίνο', + SN: 'Σενεγάλη', + TL: 'Ανατολικό Τιμόρ', + TN: 'Τυνησία', + TR: 'Τουρκία', + VG: 'Βρετανικές Παρθένοι Νήσοι', + XK: 'Δημοκρατία του Κοσσυφοπεδίου', + }, + country: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN στην %s', + default: 'Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN', + }, + id: { + countries: { + BA: 'Βοσνία και Ερζεγοβίνη', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CL: 'Χιλή', + CN: 'Κίνα', + CZ: 'Δημοκρατία της Τσεχίας', + DK: 'Δανία', + EE: 'Εσθονία', + ES: 'Ισπανία', + FI: 'Φινλανδία', + HR: 'Κροατία', + IE: 'Ιρλανδία', + IS: 'Ισλανδία', + LT: 'Λιθουανία', + LV: 'Λετονία', + ME: 'Μαυροβούνιο', + MK: 'Μακεδονία', + NL: 'Ολλανδία', + PL: 'Πολωνία', + RO: 'Ρουμανία', + RS: 'Σερβία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + SM: 'Σαν Μαρίνο', + TH: 'Ταϊλάνδη', + TR: 'Τουρκία', + ZA: 'Νότια Αφρική', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας', + }, + identical: { + default: 'Παρακαλώ εισάγετε την ίδια τιμή', + }, + imei: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMEI', + }, + imo: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMO', + }, + integer: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό', + }, + ip: { + default: 'Παρακαλώ εισάγετε μία έγκυρη IP διεύθυνση', + ipv4: 'Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv4', + ipv6: 'Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv6', + }, + isbn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISBN', + }, + isin: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISIN', + }, + ismn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISMN', + }, + issn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISSN', + }, + lessThan: { + default: 'Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση με %s', + notInclusive: 'Παρακαλώ εισάγετε μια τιμή μικρότερη από %s', + }, + mac: { + default: 'Παρακαλώ εισάγετε μία έγκυρη MAC διεύθυνση', + }, + meid: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό MEID', + }, + notEmpty: { + default: 'Παρακαλώ εισάγετε μια τιμή', + }, + numeric: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο δεκαδικό αριθμό', + }, + phone: { + countries: { + AE: 'Ηνωμένα Αραβικά Εμιράτα', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CN: 'Κίνα', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + ES: 'Ισπανία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + IN: 'Ινδία', + MA: 'Μαρόκο', + NL: 'Ολλανδία', + PK: 'Πακιστάν', + RO: 'Ρουμανία', + RU: 'Ρωσία', + SK: 'Σλοβακία', + TH: 'Ταϊλάνδη', + US: 'ΗΠΑ', + VE: 'Βενεζουέλα', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου', + }, + promise: { + default: 'Παρακαλώ εισάγετε μια έγκυρη τιμή', + }, + regexp: { + default: 'Παρακαλώ εισάγετε μια τιμή όπου ταιριάζει στο υπόδειγμα', + }, + remote: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό', + }, + rtn: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό RTN', + }, + sedol: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SEDOL', + }, + siren: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIREN', + }, + siret: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIRET', + }, + step: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο βήμα από %s', + }, + stringCase: { + default: 'Παρακαλώ εισάγετε μόνο πεζούς χαρακτήρες', + upper: 'Παρακαλώ εισάγετε μόνο κεφαλαία γράμματα', + }, + stringLength: { + between: 'Παρακαλούμε, εισάγετε τιμή μεταξύ %s και %s μήκος χαρακτήρων', + default: 'Παρακαλώ εισάγετε μια τιμή με έγκυρο μήκος', + less: 'Παρακαλούμε εισάγετε λιγότερο από %s χαρακτήρες', + more: 'Παρακαλούμε εισάγετε περισσότερο από %s χαρακτήρες', + }, + uri: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο URI', + }, + uuid: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό UUID', + version: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό έκδοσης %s', + }, + vat: { + countries: { + AT: 'Αυστρία', + BE: 'Βέλγιο', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CH: 'Ελβετία', + CY: 'Κύπρος', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + EE: 'Εσθονία', + EL: 'Ελλάδα', + ES: 'Ισπανία', + FI: 'Φινλανδία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + GR: 'Ελλάδα', + HR: 'Κροατία', + HU: 'Ουγγαρία', + IE: 'Ιρλανδία', + IS: 'Ισλανδία', + IT: 'Ιταλία', + LT: 'Λιθουανία', + LU: 'Λουξεμβούργο', + LV: 'Λετονία', + MT: 'Μάλτα', + NL: 'Ολλανδία', + NO: 'Νορβηγία', + PL: 'Πολωνία', + PT: 'Πορτογαλία', + RO: 'Ρουμανία', + RS: 'Σερβία', + RU: 'Ρωσία', + SE: 'Σουηδία', + SI: 'Σλοβενία', + SK: 'Σλοβακία', + VE: 'Βενεζουέλα', + ZA: 'Νότια Αφρική', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ', + }, + vin: { + default: 'Παρακαλώ εισάγετε ένα έγκυρο αριθμό VIN', + }, + zipCode: { + countries: { + AT: 'Αυστρία', + BG: 'Βουλγαρία', + BR: 'Βραζιλία', + CA: 'Καναδάς', + CH: 'Ελβετία', + CZ: 'Δημοκρατία της Τσεχίας', + DE: 'Γερμανία', + DK: 'Δανία', + ES: 'Ισπανία', + FR: 'Γαλλία', + GB: 'Ηνωμένο Βασίλειο', + IE: 'Ιρλανδία', + IN: 'Ινδία', + IT: 'Ιταλία', + MA: 'Μαρόκο', + NL: 'Ολλανδία', + PL: 'Πολωνία', + PT: 'Πορτογαλία', + RO: 'Ρουμανία', + RU: 'Ρωσία', + SE: 'Σουηδία', + SG: 'Σιγκαπούρη', + SK: 'Σλοβακία', + US: 'ΗΠΑ', + }, + country: 'Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα στην %s', + default: 'Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα', + }, + }; + + return el_GR; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/el_GR.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/el_GR.min.js new file mode 100755 index 00000000..4b1a3bfd --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/el_GR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.el_GR=factory())})(this,(function(){"use strict";var el_GR={base64:{default:"Παρακαλώ εισάγετε μια έγκυρη κωδικοποίηση base 64"},between:{default:"Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μεταξύ %s και %s αυστηρά"},bic:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό BIC"},callback:{default:"Παρακαλώ εισάγετε μια έγκυρη τιμή"},choice:{between:"Παρακαλώ επιλέξτε %s - %s επιλογές",default:"Παρακαλώ εισάγετε μια έγκυρη τιμή",less:"Παρακαλώ επιλέξτε %s επιλογές στο ελάχιστο",more:"Παρακαλώ επιλέξτε %s επιλογές στο μέγιστο"},color:{default:"Παρακαλώ εισάγετε ένα έγκυρο χρώμα"},creditCard:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας"},cusip:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό CUSIP"},date:{default:"Παρακαλώ εισάγετε μια έγκυρη ημερομηνία",max:"Παρακαλώ εισάγετε ημερομηνία πριν από %s",min:"Παρακαλώ εισάγετε ημερομηνία μετά από %s",range:"Παρακαλώ εισάγετε ημερομηνία μεταξύ %s - %s"},different:{default:"Παρακαλώ εισάγετε μια διαφορετική τιμή"},digits:{default:"Παρακαλώ εισάγετε μόνο ψηφία"},ean:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό EAN"},ein:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό EIN"},emailAddress:{default:"Παρακαλώ εισάγετε ένα έγκυρο email"},file:{default:"Παρακαλώ επιλέξτε ένα έγκυρο αρχείο"},greaterThan:{default:"Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση με %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μεγαλύτερη από %s"},grid:{default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό GRId"},hex:{default:"Παρακαλώ εισάγετε έναν έγκυρο δεκαεξαδικό αριθμό"},iban:{countries:{AD:"Ανδόρα",AE:"Ηνωμένα Αραβικά Εμιράτα",AL:"Αλβανία",AO:"Αγκόλα",AT:"Αυστρία",AZ:"Αζερμπαϊτζάν",BA:"Βοσνία και Ερζεγοβίνη",BE:"Βέλγιο",BF:"Μπουρκίνα Φάσο",BG:"Βουλγαρία",BH:"Μπαχρέιν",BI:"Μπουρούντι",BJ:"Μπενίν",BR:"Βραζιλία",CH:"Ελβετία",CI:"Ακτή Ελεφαντοστού",CM:"Καμερούν",CR:"Κόστα Ρίκα",CV:"Cape Verde",CY:"Κύπρος",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",DO:"Δομινικανή Δημοκρατία",DZ:"Αλγερία",EE:"Εσθονία",ES:"Ισπανία",FI:"Φινλανδία",FO:"Νησιά Φερόε",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",GE:"Γεωργία",GI:"Γιβραλτάρ",GL:"Γροιλανδία",GR:"Ελλάδα",GT:"Γουατεμάλα",HR:"Κροατία",HU:"Ουγγαρία",IE:"Ιρλανδία",IL:"Ισραήλ",IR:"Ιράν",IS:"Ισλανδία",IT:"Ιταλία",JO:"Ιορδανία",KW:"Κουβέιτ",KZ:"Καζακστάν",LB:"Λίβανος",LI:"Λιχτενστάιν",LT:"Λιθουανία",LU:"Λουξεμβούργο",LV:"Λετονία",MC:"Μονακό",MD:"Μολδαβία",ME:"Μαυροβούνιο",MG:"Μαδαγασκάρη",MK:"πΓΔΜ",ML:"Μάλι",MR:"Μαυριτανία",MT:"Μάλτα",MU:"Μαυρίκιος",MZ:"Μοζαμβίκη",NL:"Ολλανδία",NO:"Νορβηγία",PK:"Πακιστάν",PL:"Πολωνία",PS:"Παλαιστίνη",PT:"Πορτογαλία",QA:"Κατάρ",RO:"Ρουμανία",RS:"Σερβία",SA:"Σαουδική Αραβία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",SM:"Σαν Μαρίνο",SN:"Σενεγάλη",TL:"Ανατολικό Τιμόρ",TN:"Τυνησία",TR:"Τουρκία",VG:"Βρετανικές Παρθένοι Νήσοι",XK:"Δημοκρατία του Κοσσυφοπεδίου"},country:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN στην %s",default:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό IBAN"},id:{countries:{BA:"Βοσνία και Ερζεγοβίνη",BG:"Βουλγαρία",BR:"Βραζιλία",CH:"Ελβετία",CL:"Χιλή",CN:"Κίνα",CZ:"Δημοκρατία της Τσεχίας",DK:"Δανία",EE:"Εσθονία",ES:"Ισπανία",FI:"Φινλανδία",HR:"Κροατία",IE:"Ιρλανδία",IS:"Ισλανδία",LT:"Λιθουανία",LV:"Λετονία",ME:"Μαυροβούνιο",MK:"Μακεδονία",NL:"Ολλανδία",PL:"Πολωνία",RO:"Ρουμανία",RS:"Σερβία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",SM:"Σαν Μαρίνο",TH:"Ταϊλάνδη",TR:"Τουρκία",ZA:"Νότια Αφρική"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ταυτότητας"},identical:{default:"Παρακαλώ εισάγετε την ίδια τιμή"},imei:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMEI"},imo:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό IMO"},integer:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό"},ip:{default:"Παρακαλώ εισάγετε μία έγκυρη IP διεύθυνση",ipv4:"Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv4",ipv6:"Παρακαλώ εισάγετε μία έγκυρη διεύθυνση IPv6"},isbn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISBN"},isin:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISIN"},ismn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISMN"},issn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ISSN"},lessThan:{default:"Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση με %s",notInclusive:"Παρακαλώ εισάγετε μια τιμή μικρότερη από %s"},mac:{default:"Παρακαλώ εισάγετε μία έγκυρη MAC διεύθυνση"},meid:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό MEID"},notEmpty:{default:"Παρακαλώ εισάγετε μια τιμή"},numeric:{default:"Παρακαλώ εισάγετε ένα έγκυρο δεκαδικό αριθμό"},phone:{countries:{AE:"Ηνωμένα Αραβικά Εμιράτα",BG:"Βουλγαρία",BR:"Βραζιλία",CN:"Κίνα",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",ES:"Ισπανία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",IN:"Ινδία",MA:"Μαρόκο",NL:"Ολλανδία",PK:"Πακιστάν",RO:"Ρουμανία",RU:"Ρωσία",SK:"Σλοβακία",TH:"Ταϊλάνδη",US:"ΗΠΑ",VE:"Βενεζουέλα"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό τηλεφώνου"},promise:{default:"Παρακαλώ εισάγετε μια έγκυρη τιμή"},regexp:{default:"Παρακαλώ εισάγετε μια τιμή όπου ταιριάζει στο υπόδειγμα"},remote:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό"},rtn:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό RTN"},sedol:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SEDOL"},siren:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIREN"},siret:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό SIRET"},step:{default:"Παρακαλώ εισάγετε ένα έγκυρο βήμα από %s"},stringCase:{default:"Παρακαλώ εισάγετε μόνο πεζούς χαρακτήρες",upper:"Παρακαλώ εισάγετε μόνο κεφαλαία γράμματα"},stringLength:{between:"Παρακαλούμε, εισάγετε τιμή μεταξύ %s και %s μήκος χαρακτήρων",default:"Παρακαλώ εισάγετε μια τιμή με έγκυρο μήκος",less:"Παρακαλούμε εισάγετε λιγότερο από %s χαρακτήρες",more:"Παρακαλούμε εισάγετε περισσότερο από %s χαρακτήρες"},uri:{default:"Παρακαλώ εισάγετε ένα έγκυρο URI"},uuid:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό UUID",version:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό έκδοσης %s"},vat:{countries:{AT:"Αυστρία",BE:"Βέλγιο",BG:"Βουλγαρία",BR:"Βραζιλία",CH:"Ελβετία",CY:"Κύπρος",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",EE:"Εσθονία",EL:"Ελλάδα",ES:"Ισπανία",FI:"Φινλανδία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",GR:"Ελλάδα",HR:"Κροατία",HU:"Ουγγαρία",IE:"Ιρλανδία",IS:"Ισλανδία",IT:"Ιταλία",LT:"Λιθουανία",LU:"Λουξεμβούργο",LV:"Λετονία",MT:"Μάλτα",NL:"Ολλανδία",NO:"Νορβηγία",PL:"Πολωνία",PT:"Πορτογαλία",RO:"Ρουμανία",RS:"Σερβία",RU:"Ρωσία",SE:"Σουηδία",SI:"Σλοβενία",SK:"Σλοβακία",VE:"Βενεζουέλα",ZA:"Νότια Αφρική"},country:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό ΦΠΑ"},vin:{default:"Παρακαλώ εισάγετε ένα έγκυρο αριθμό VIN"},zipCode:{countries:{AT:"Αυστρία",BG:"Βουλγαρία",BR:"Βραζιλία",CA:"Καναδάς",CH:"Ελβετία",CZ:"Δημοκρατία της Τσεχίας",DE:"Γερμανία",DK:"Δανία",ES:"Ισπανία",FR:"Γαλλία",GB:"Ηνωμένο Βασίλειο",IE:"Ιρλανδία",IN:"Ινδία",IT:"Ιταλία",MA:"Μαρόκο",NL:"Ολλανδία",PL:"Πολωνία",PT:"Πορτογαλία",RO:"Ρουμανία",RU:"Ρωσία",SE:"Σουηδία",SG:"Σιγκαπούρη",SK:"Σλοβακία",US:"ΗΠΑ"},country:"Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα στην %s",default:"Παρακαλώ εισάγετε ένα έγκυρο ταχυδρομικό κώδικα"}};return el_GR})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/en_US.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/en_US.js new file mode 100755 index 00000000..6509a6cb --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/en_US.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.en_US = factory())); +})(this, (function () { 'use strict'; + + /** + * English language package + * Translated by @nghuuphuoc + */ + + var en_US = { + base64: { + default: 'Please enter a valid base 64 encoded', + }, + between: { + default: 'Please enter a value between %s and %s', + notInclusive: 'Please enter a value between %s and %s strictly', + }, + bic: { + default: 'Please enter a valid BIC number', + }, + callback: { + default: 'Please enter a valid value', + }, + choice: { + between: 'Please choose %s - %s options', + default: 'Please enter a valid value', + less: 'Please choose %s options at minimum', + more: 'Please choose %s options at maximum', + }, + color: { + default: 'Please enter a valid color', + }, + creditCard: { + default: 'Please enter a valid credit card number', + }, + cusip: { + default: 'Please enter a valid CUSIP number', + }, + date: { + default: 'Please enter a valid date', + max: 'Please enter a date before %s', + min: 'Please enter a date after %s', + range: 'Please enter a date in the range %s - %s', + }, + different: { + default: 'Please enter a different value', + }, + digits: { + default: 'Please enter only digits', + }, + ean: { + default: 'Please enter a valid EAN number', + }, + ein: { + default: 'Please enter a valid EIN number', + }, + emailAddress: { + default: 'Please enter a valid email address', + }, + file: { + default: 'Please choose a valid file', + }, + greaterThan: { + default: 'Please enter a value greater than or equal to %s', + notInclusive: 'Please enter a value greater than %s', + }, + grid: { + default: 'Please enter a valid GRId number', + }, + hex: { + default: 'Please enter a valid hexadecimal number', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'United Arab Emirates', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia and Herzegovina', + BE: 'Belgium', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Switzerland', + CI: 'Ivory Coast', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + DO: 'Dominican Republic', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spain', + FI: 'Finland', + FO: 'Faroe Islands', + FR: 'France', + GB: 'United Kingdom', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Greece', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Italy', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Netherlands', + NO: 'Norway', + PK: 'Pakistan', + PL: 'Poland', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'East Timor', + TN: 'Tunisia', + TR: 'Turkey', + VG: 'Virgin Islands, British', + XK: 'Republic of Kosovo', + }, + country: 'Please enter a valid IBAN number in %s', + default: 'Please enter a valid IBAN number', + }, + id: { + countries: { + BA: 'Bosnia and Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CL: 'Chile', + CN: 'China', + CZ: 'Czech Republic', + DK: 'Denmark', + EE: 'Estonia', + ES: 'Spain', + FI: 'Finland', + HR: 'Croatia', + IE: 'Ireland', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Netherlands', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkey', + ZA: 'South Africa', + }, + country: 'Please enter a valid identification number in %s', + default: 'Please enter a valid identification number', + }, + identical: { + default: 'Please enter the same value', + }, + imei: { + default: 'Please enter a valid IMEI number', + }, + imo: { + default: 'Please enter a valid IMO number', + }, + integer: { + default: 'Please enter a valid number', + }, + ip: { + default: 'Please enter a valid IP address', + ipv4: 'Please enter a valid IPv4 address', + ipv6: 'Please enter a valid IPv6 address', + }, + isbn: { + default: 'Please enter a valid ISBN number', + }, + isin: { + default: 'Please enter a valid ISIN number', + }, + ismn: { + default: 'Please enter a valid ISMN number', + }, + issn: { + default: 'Please enter a valid ISSN number', + }, + lessThan: { + default: 'Please enter a value less than or equal to %s', + notInclusive: 'Please enter a value less than %s', + }, + mac: { + default: 'Please enter a valid MAC address', + }, + meid: { + default: 'Please enter a valid MEID number', + }, + notEmpty: { + default: 'Please enter a value', + }, + numeric: { + default: 'Please enter a valid float number', + }, + phone: { + countries: { + AE: 'United Arab Emirates', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'China', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + ES: 'Spain', + FR: 'France', + GB: 'United Kingdom', + IN: 'India', + MA: 'Morocco', + NL: 'Netherlands', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovakia', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Please enter a valid phone number in %s', + default: 'Please enter a valid phone number', + }, + promise: { + default: 'Please enter a valid value', + }, + regexp: { + default: 'Please enter a value matching the pattern', + }, + remote: { + default: 'Please enter a valid value', + }, + rtn: { + default: 'Please enter a valid RTN number', + }, + sedol: { + default: 'Please enter a valid SEDOL number', + }, + siren: { + default: 'Please enter a valid SIREN number', + }, + siret: { + default: 'Please enter a valid SIRET number', + }, + step: { + default: 'Please enter a valid step of %s', + }, + stringCase: { + default: 'Please enter only lowercase characters', + upper: 'Please enter only uppercase characters', + }, + stringLength: { + between: 'Please enter value between %s and %s characters long', + default: 'Please enter a value with valid length', + less: 'Please enter less than %s characters', + more: 'Please enter more than %s characters', + }, + uri: { + default: 'Please enter a valid URI', + }, + uuid: { + default: 'Please enter a valid UUID number', + version: 'Please enter a valid UUID version %s number', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgium', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CY: 'Cyprus', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + EE: 'Estonia', + EL: 'Greece', + ES: 'Spain', + FI: 'Finland', + FR: 'France', + GB: 'United Kingdom', + GR: 'Greece', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IS: 'Iceland', + IT: 'Italy', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Netherlands', + NO: 'Norway', + PL: 'Poland', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'South Africa', + }, + country: 'Please enter a valid VAT number in %s', + default: 'Please enter a valid VAT number', + }, + vin: { + default: 'Please enter a valid VIN number', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Canada', + CH: 'Switzerland', + CZ: 'Czech Republic', + DE: 'Germany', + DK: 'Denmark', + ES: 'Spain', + FR: 'France', + GB: 'United Kingdom', + IE: 'Ireland', + IN: 'India', + IT: 'Italy', + MA: 'Morocco', + NL: 'Netherlands', + PL: 'Poland', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russia', + SE: 'Sweden', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Please enter a valid postal code in %s', + default: 'Please enter a valid postal code', + }, + }; + + return en_US; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/en_US.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/en_US.min.js new file mode 100755 index 00000000..74ead6d5 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/en_US.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.en_US=factory())})(this,(function(){"use strict";var en_US={base64:{default:"Please enter a valid base 64 encoded"},between:{default:"Please enter a value between %s and %s",notInclusive:"Please enter a value between %s and %s strictly"},bic:{default:"Please enter a valid BIC number"},callback:{default:"Please enter a valid value"},choice:{between:"Please choose %s - %s options",default:"Please enter a valid value",less:"Please choose %s options at minimum",more:"Please choose %s options at maximum"},color:{default:"Please enter a valid color"},creditCard:{default:"Please enter a valid credit card number"},cusip:{default:"Please enter a valid CUSIP number"},date:{default:"Please enter a valid date",max:"Please enter a date before %s",min:"Please enter a date after %s",range:"Please enter a date in the range %s - %s"},different:{default:"Please enter a different value"},digits:{default:"Please enter only digits"},ean:{default:"Please enter a valid EAN number"},ein:{default:"Please enter a valid EIN number"},emailAddress:{default:"Please enter a valid email address"},file:{default:"Please choose a valid file"},greaterThan:{default:"Please enter a value greater than or equal to %s",notInclusive:"Please enter a value greater than %s"},grid:{default:"Please enter a valid GRId number"},hex:{default:"Please enter a valid hexadecimal number"},iban:{countries:{AD:"Andorra",AE:"United Arab Emirates",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Ivory Coast",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DO:"Dominican Republic",DZ:"Algeria",EE:"Estonia",ES:"Spain",FI:"Finland",FO:"Faroe Islands",FR:"France",GB:"United Kingdom",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Greece",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italy",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Poland",PS:"Palestine",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"East Timor",TN:"Tunisia",TR:"Turkey",VG:"Virgin Islands, British",XK:"Republic of Kosovo"},country:"Please enter a valid IBAN number in %s",default:"Please enter a valid IBAN number"},id:{countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"China",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Turkey",ZA:"South Africa"},country:"Please enter a valid identification number in %s",default:"Please enter a valid identification number"},identical:{default:"Please enter the same value"},imei:{default:"Please enter a valid IMEI number"},imo:{default:"Please enter a valid IMO number"},integer:{default:"Please enter a valid number"},ip:{default:"Please enter a valid IP address",ipv4:"Please enter a valid IPv4 address",ipv6:"Please enter a valid IPv6 address"},isbn:{default:"Please enter a valid ISBN number"},isin:{default:"Please enter a valid ISIN number"},ismn:{default:"Please enter a valid ISMN number"},issn:{default:"Please enter a valid ISSN number"},lessThan:{default:"Please enter a value less than or equal to %s",notInclusive:"Please enter a value less than %s"},mac:{default:"Please enter a valid MAC address"},meid:{default:"Please enter a valid MEID number"},notEmpty:{default:"Please enter a value"},numeric:{default:"Please enter a valid float number"},phone:{countries:{AE:"United Arab Emirates",BG:"Bulgaria",BR:"Brazil",CN:"China",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IN:"India",MA:"Morocco",NL:"Netherlands",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Please enter a valid phone number in %s",default:"Please enter a valid phone number"},promise:{default:"Please enter a valid value"},regexp:{default:"Please enter a value matching the pattern"},remote:{default:"Please enter a valid value"},rtn:{default:"Please enter a valid RTN number"},sedol:{default:"Please enter a valid SEDOL number"},siren:{default:"Please enter a valid SIREN number"},siret:{default:"Please enter a valid SIRET number"},step:{default:"Please enter a valid step of %s"},stringCase:{default:"Please enter only lowercase characters",upper:"Please enter only uppercase characters"},stringLength:{between:"Please enter value between %s and %s characters long",default:"Please enter a value with valid length",less:"Please enter less than %s characters",more:"Please enter more than %s characters"},uri:{default:"Please enter a valid URI"},uuid:{default:"Please enter a valid UUID number",version:"Please enter a valid UUID version %s number"},vat:{countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",EL:"Greece",ES:"Spain",FI:"Finland",FR:"France",GB:"United Kingdom",GR:"Greece",HR:"Croatia",HU:"Hungary",IE:"Ireland",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",NO:"Norway",PL:"Poland",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"South Africa"},country:"Please enter a valid VAT number in %s",default:"Please enter a valid VAT number"},vin:{default:"Please enter a valid VIN number"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazil",CA:"Canada",CH:"Switzerland",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IE:"Ireland",IN:"India",IT:"Italy",MA:"Morocco",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Please enter a valid postal code in %s",default:"Please enter a valid postal code"}};return en_US})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_CL.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_CL.js new file mode 100755 index 00000000..9dca1ec8 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_CL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.es_CL = factory())); +})(this, (function () { 'use strict'; + + /** + * Chilean Spanish language package + * Translated by @marceloampuerop6 + */ + + var es_CL = { + base64: { + default: 'Por favor ingrese un valor válido en base 64', + }, + between: { + default: 'Por favor ingrese un valor entre %s y %s', + notInclusive: 'Por favor ingrese un valor sólo entre %s and %s', + }, + bic: { + default: 'Por favor ingrese un número BIC válido', + }, + callback: { + default: 'Por favor ingrese un valor válido', + }, + choice: { + between: 'Por favor elija de %s a %s opciones', + default: 'Por favor ingrese un valor válido', + less: 'Por favor elija %s opciones como mínimo', + more: 'Por favor elija %s optiones como máximo', + }, + color: { + default: 'Por favor ingrese un color válido', + }, + creditCard: { + default: 'Por favor ingrese un número válido de tarjeta de crédito', + }, + cusip: { + default: 'Por favor ingrese un número CUSIP válido', + }, + date: { + default: 'Por favor ingrese una fecha válida', + max: 'Por favor ingrese una fecha anterior a %s', + min: 'Por favor ingrese una fecha posterior a %s', + range: 'Por favor ingrese una fecha en el rango %s - %s', + }, + different: { + default: 'Por favor ingrese un valor distinto', + }, + digits: { + default: 'Por favor ingrese sólo dígitos', + }, + ean: { + default: 'Por favor ingrese un número EAN válido', + }, + ein: { + default: 'Por favor ingrese un número EIN válido', + }, + emailAddress: { + default: 'Por favor ingrese un email válido', + }, + file: { + default: 'Por favor elija un archivo válido', + }, + greaterThan: { + default: 'Por favor ingrese un valor mayor o igual a %s', + notInclusive: 'Por favor ingrese un valor mayor que %s', + }, + grid: { + default: 'Por favor ingrese un número GRId válido', + }, + hex: { + default: 'Por favor ingrese un valor hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratos Árabes Unidos', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaiyán', + BA: 'Bosnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suiza', + CI: 'Costa de Marfil', + CM: 'Camerún', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argelia', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + FO: 'Islas Feroe', + FR: 'Francia', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Mónaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Malí', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauricio', + MZ: 'Mozambique', + NL: 'Países Bajos', + NO: 'Noruega', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Rumania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Túnez', + TR: 'Turquía', + VG: 'Islas Vírgenes Británicas', + XK: 'República de Kosovo', + }, + country: 'Por favor ingrese un número IBAN válido en %s', + default: 'Por favor ingrese un número IBAN válido', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + HR: 'Croacia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Países Bajos', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turquía', + ZA: 'Sudáfrica', + }, + country: 'Por favor ingrese un número de identificación válido en %s', + default: 'Por favor ingrese un número de identificación válido', + }, + identical: { + default: 'Por favor ingrese el mismo valor', + }, + imei: { + default: 'Por favor ingrese un número IMEI válido', + }, + imo: { + default: 'Por favor ingrese un número IMO válido', + }, + integer: { + default: 'Por favor ingrese un número válido', + }, + ip: { + default: 'Por favor ingrese una dirección IP válida', + ipv4: 'Por favor ingrese una dirección IPv4 válida', + ipv6: 'Por favor ingrese una dirección IPv6 válida', + }, + isbn: { + default: 'Por favor ingrese un número ISBN válido', + }, + isin: { + default: 'Por favor ingrese un número ISIN válido', + }, + ismn: { + default: 'Por favor ingrese un número ISMN válido', + }, + issn: { + default: 'Por favor ingrese un número ISSN válido', + }, + lessThan: { + default: 'Por favor ingrese un valor menor o igual a %s', + notInclusive: 'Por favor ingrese un valor menor que %s', + }, + mac: { + default: 'Por favor ingrese una dirección MAC válida', + }, + meid: { + default: 'Por favor ingrese un número MEID válido', + }, + notEmpty: { + default: 'Por favor ingrese un valor', + }, + numeric: { + default: 'Por favor ingrese un número decimal válido', + }, + phone: { + countries: { + AE: 'Emiratos Árabes Unidos', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IN: 'India', + MA: 'Marruecos', + NL: 'Países Bajos', + PK: 'Pakistán', + RO: 'Rumania', + RU: 'Rusa', + SK: 'Eslovaquia', + TH: 'Tailandia', + US: 'Estados Unidos', + VE: 'Venezuela', + }, + country: 'Por favor ingrese un número válido de teléfono en %s', + default: 'Por favor ingrese un número válido de teléfono', + }, + promise: { + default: 'Por favor ingrese un valor válido', + }, + regexp: { + default: 'Por favor ingrese un valor que coincida con el patrón', + }, + remote: { + default: 'Por favor ingrese un valor válido', + }, + rtn: { + default: 'Por favor ingrese un número RTN válido', + }, + sedol: { + default: 'Por favor ingrese un número SEDOL válido', + }, + siren: { + default: 'Por favor ingrese un número SIREN válido', + }, + siret: { + default: 'Por favor ingrese un número SIRET válido', + }, + step: { + default: 'Por favor ingrese un paso válido de %s', + }, + stringCase: { + default: 'Por favor ingrese sólo caracteres en minúscula', + upper: 'Por favor ingrese sólo caracteres en mayúscula', + }, + stringLength: { + between: 'Por favor ingrese un valor con una longitud entre %s y %s caracteres', + default: 'Por favor ingrese un valor con una longitud válida', + less: 'Por favor ingrese menos de %s caracteres', + more: 'Por favor ingrese más de %s caracteres', + }, + uri: { + default: 'Por favor ingresese una URI válida', + }, + uuid: { + default: 'Por favor ingrese un número UUID válido', + version: 'Por favor ingrese una versión UUID válida para %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Bélgica', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'España', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Reino Unido', + GR: 'Grecia', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Países Bajos', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Rumanía', + RS: 'Serbia', + RU: 'Rusa', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + VE: 'Venezuela', + ZA: 'Sudáfrica', + }, + country: 'Por favor ingrese un número VAT válido en %s', + default: 'Por favor ingrese un número VAT válido', + }, + vin: { + default: 'Por favor ingrese un número VIN válido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suiza', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marruecos', + NL: 'Países Bajos', + PL: 'Poland', + PT: 'Portugal', + RO: 'Rumanía', + RU: 'Rusia', + SE: 'Suecia', + SG: 'Singapur', + SK: 'Eslovaquia', + US: 'Estados Unidos', + }, + country: 'Por favor ingrese un código postal válido en %s', + default: 'Por favor ingrese un código postal válido', + }, + }; + + return es_CL; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_CL.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_CL.min.js new file mode 100755 index 00000000..487c35a6 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_CL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.es_CL=factory())})(this,(function(){"use strict";var es_CL={base64:{default:"Por favor ingrese un valor válido en base 64"},between:{default:"Por favor ingrese un valor entre %s y %s",notInclusive:"Por favor ingrese un valor sólo entre %s and %s"},bic:{default:"Por favor ingrese un número BIC válido"},callback:{default:"Por favor ingrese un valor válido"},choice:{between:"Por favor elija de %s a %s opciones",default:"Por favor ingrese un valor válido",less:"Por favor elija %s opciones como mínimo",more:"Por favor elija %s optiones como máximo"},color:{default:"Por favor ingrese un color válido"},creditCard:{default:"Por favor ingrese un número válido de tarjeta de crédito"},cusip:{default:"Por favor ingrese un número CUSIP válido"},date:{default:"Por favor ingrese una fecha válida",max:"Por favor ingrese una fecha anterior a %s",min:"Por favor ingrese una fecha posterior a %s",range:"Por favor ingrese una fecha en el rango %s - %s"},different:{default:"Por favor ingrese un valor distinto"},digits:{default:"Por favor ingrese sólo dígitos"},ean:{default:"Por favor ingrese un número EAN válido"},ein:{default:"Por favor ingrese un número EIN válido"},emailAddress:{default:"Por favor ingrese un email válido"},file:{default:"Por favor elija un archivo válido"},greaterThan:{default:"Por favor ingrese un valor mayor o igual a %s",notInclusive:"Por favor ingrese un valor mayor que %s"},grid:{default:"Por favor ingrese un número GRId válido"},hex:{default:"Por favor ingrese un valor hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emiratos Árabes Unidos",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaiyán",BA:"Bosnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suiza",CI:"Costa de Marfil",CM:"Camerún",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argelia",EE:"Estonia",ES:"España",FI:"Finlandia",FO:"Islas Feroe",FR:"Francia",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazajistán",LB:"Líbano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Mónaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Malí",MR:"Mauritania",MT:"Malta",MU:"Mauricio",MZ:"Mozambique",NL:"Países Bajos",NO:"Noruega",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Rumania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Túnez",TR:"Turquía",VG:"Islas Vírgenes Británicas",XK:"República de Kosovo"},country:"Por favor ingrese un número IBAN válido en %s",default:"Por favor ingrese un número IBAN válido"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estonia",ES:"España",FI:"Finlandia",HR:"Croacia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Macedonia",NL:"Países Bajos",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",TH:"Tailandia",TR:"Turquía",ZA:"Sudáfrica"},country:"Por favor ingrese un número de identificación válido en %s",default:"Por favor ingrese un número de identificación válido"},identical:{default:"Por favor ingrese el mismo valor"},imei:{default:"Por favor ingrese un número IMEI válido"},imo:{default:"Por favor ingrese un número IMO válido"},integer:{default:"Por favor ingrese un número válido"},ip:{default:"Por favor ingrese una dirección IP válida",ipv4:"Por favor ingrese una dirección IPv4 válida",ipv6:"Por favor ingrese una dirección IPv6 válida"},isbn:{default:"Por favor ingrese un número ISBN válido"},isin:{default:"Por favor ingrese un número ISIN válido"},ismn:{default:"Por favor ingrese un número ISMN válido"},issn:{default:"Por favor ingrese un número ISSN válido"},lessThan:{default:"Por favor ingrese un valor menor o igual a %s",notInclusive:"Por favor ingrese un valor menor que %s"},mac:{default:"Por favor ingrese una dirección MAC válida"},meid:{default:"Por favor ingrese un número MEID válido"},notEmpty:{default:"Por favor ingrese un valor"},numeric:{default:"Por favor ingrese un número decimal válido"},phone:{countries:{AE:"Emiratos Árabes Unidos",BG:"Bulgaria",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IN:"India",MA:"Marruecos",NL:"Países Bajos",PK:"Pakistán",RO:"Rumania",RU:"Rusa",SK:"Eslovaquia",TH:"Tailandia",US:"Estados Unidos",VE:"Venezuela"},country:"Por favor ingrese un número válido de teléfono en %s",default:"Por favor ingrese un número válido de teléfono"},promise:{default:"Por favor ingrese un valor válido"},regexp:{default:"Por favor ingrese un valor que coincida con el patrón"},remote:{default:"Por favor ingrese un valor válido"},rtn:{default:"Por favor ingrese un número RTN válido"},sedol:{default:"Por favor ingrese un número SEDOL válido"},siren:{default:"Por favor ingrese un número SIREN válido"},siret:{default:"Por favor ingrese un número SIRET válido"},step:{default:"Por favor ingrese un paso válido de %s"},stringCase:{default:"Por favor ingrese sólo caracteres en minúscula",upper:"Por favor ingrese sólo caracteres en mayúscula"},stringLength:{between:"Por favor ingrese un valor con una longitud entre %s y %s caracteres",default:"Por favor ingrese un valor con una longitud válida",less:"Por favor ingrese menos de %s caracteres",more:"Por favor ingrese más de %s caracteres"},uri:{default:"Por favor ingresese una URI válida"},uuid:{default:"Por favor ingrese un número UUID válido",version:"Por favor ingrese una versión UUID válida para %s"},vat:{countries:{AT:"Austria",BE:"Bélgica",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CY:"Chipre",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",EE:"Estonia",EL:"Grecia",ES:"España",FI:"Finlandia",FR:"Francia",GB:"Reino Unido",GR:"Grecia",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Países Bajos",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Rumanía",RS:"Serbia",RU:"Rusa",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",VE:"Venezuela",ZA:"Sudáfrica"},country:"Por favor ingrese un número VAT válido en %s",default:"Por favor ingrese un número VAT válido"},vin:{default:"Por favor ingrese un número VIN válido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Canadá",CH:"Suiza",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marruecos",NL:"Países Bajos",PL:"Poland",PT:"Portugal",RO:"Rumanía",RU:"Rusia",SE:"Suecia",SG:"Singapur",SK:"Eslovaquia",US:"Estados Unidos"},country:"Por favor ingrese un código postal válido en %s",default:"Por favor ingrese un código postal válido"}};return es_CL})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_ES.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_ES.js new file mode 100755 index 00000000..e8fe936f --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_ES.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.es_ES = factory())); +})(this, (function () { 'use strict'; + + /** + * Spanish language package + * Translated by @vadail + */ + + var es_ES = { + base64: { + default: 'Por favor introduce un valor válido en base 64', + }, + between: { + default: 'Por favor introduce un valor entre %s y %s', + notInclusive: 'Por favor introduce un valor sólo entre %s and %s', + }, + bic: { + default: 'Por favor introduce un número BIC válido', + }, + callback: { + default: 'Por favor introduce un valor válido', + }, + choice: { + between: 'Por favor elija de %s a %s opciones', + default: 'Por favor introduce un valor válido', + less: 'Por favor elija %s opciones como mínimo', + more: 'Por favor elija %s optiones como máximo', + }, + color: { + default: 'Por favor introduce un color válido', + }, + creditCard: { + default: 'Por favor introduce un número válido de tarjeta de crédito', + }, + cusip: { + default: 'Por favor introduce un número CUSIP válido', + }, + date: { + default: 'Por favor introduce una fecha válida', + max: 'Por favor introduce una fecha previa al %s', + min: 'Por favor introduce una fecha posterior al %s', + range: 'Por favor introduce una fecha entre el %s y el %s', + }, + different: { + default: 'Por favor introduce un valor distinto', + }, + digits: { + default: 'Por favor introduce sólo dígitos', + }, + ean: { + default: 'Por favor introduce un número EAN válido', + }, + ein: { + default: 'Por favor introduce un número EIN válido', + }, + emailAddress: { + default: 'Por favor introduce un email válido', + }, + file: { + default: 'Por favor elija un archivo válido', + }, + greaterThan: { + default: 'Por favor introduce un valor mayor o igual a %s', + notInclusive: 'Por favor introduce un valor mayor que %s', + }, + grid: { + default: 'Por favor introduce un número GRId válido', + }, + hex: { + default: 'Por favor introduce un valor hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratos Árabes Unidos', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaiyán', + BA: 'Bosnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benín', + BR: 'Brasil', + CH: 'Suiza', + CI: 'Costa de Marfil', + CM: 'Camerún', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argelia', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + FO: 'Islas Feroe', + FR: 'Francia', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazajistán', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Mónaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Malí', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauricio', + MZ: 'Mozambique', + NL: 'Países Bajos', + NO: 'Noruega', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Rumania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Oriental', + TN: 'Túnez', + TR: 'Turquía', + VG: 'Islas Vírgenes Británicas', + XK: 'República de Kosovo', + }, + country: 'Por favor introduce un número IBAN válido en %s', + default: 'Por favor introduce un número IBAN válido', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estonia', + ES: 'España', + FI: 'Finlandia', + HR: 'Croacia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Países Bajos', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turquía', + ZA: 'Sudáfrica', + }, + country: 'Por favor introduce un número válido de identificación en %s', + default: 'Por favor introduce un número de identificación válido', + }, + identical: { + default: 'Por favor introduce el mismo valor', + }, + imei: { + default: 'Por favor introduce un número IMEI válido', + }, + imo: { + default: 'Por favor introduce un número IMO válido', + }, + integer: { + default: 'Por favor introduce un número válido', + }, + ip: { + default: 'Por favor introduce una dirección IP válida', + ipv4: 'Por favor introduce una dirección IPv4 válida', + ipv6: 'Por favor introduce una dirección IPv6 válida', + }, + isbn: { + default: 'Por favor introduce un número ISBN válido', + }, + isin: { + default: 'Por favor introduce un número ISIN válido', + }, + ismn: { + default: 'Por favor introduce un número ISMN válido', + }, + issn: { + default: 'Por favor introduce un número ISSN válido', + }, + lessThan: { + default: 'Por favor introduce un valor menor o igual a %s', + notInclusive: 'Por favor introduce un valor menor que %s', + }, + mac: { + default: 'Por favor introduce una dirección MAC válida', + }, + meid: { + default: 'Por favor introduce un número MEID válido', + }, + notEmpty: { + default: 'Por favor introduce un valor', + }, + numeric: { + default: 'Por favor introduce un número decimal válido', + }, + phone: { + countries: { + AE: 'Emiratos Árabes Unidos', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IN: 'India', + MA: 'Marruecos', + NL: 'Países Bajos', + PK: 'Pakistán', + RO: 'Rumania', + RU: 'Rusa', + SK: 'Eslovaquia', + TH: 'Tailandia', + US: 'Estados Unidos', + VE: 'Venezuela', + }, + country: 'Por favor introduce un número válido de teléfono en %s', + default: 'Por favor introduce un número válido de teléfono', + }, + promise: { + default: 'Por favor introduce un valor válido', + }, + regexp: { + default: 'Por favor introduce un valor que coincida con el patrón', + }, + remote: { + default: 'Por favor introduce un valor válido', + }, + rtn: { + default: 'Por favor introduce un número RTN válido', + }, + sedol: { + default: 'Por favor introduce un número SEDOL válido', + }, + siren: { + default: 'Por favor introduce un número SIREN válido', + }, + siret: { + default: 'Por favor introduce un número SIRET válido', + }, + step: { + default: 'Por favor introduce un paso válido de %s', + }, + stringCase: { + default: 'Por favor introduce sólo caracteres en minúscula', + upper: 'Por favor introduce sólo caracteres en mayúscula', + }, + stringLength: { + between: 'Por favor introduce un valor con una longitud entre %s y %s caracteres', + default: 'Por favor introduce un valor con una longitud válida', + less: 'Por favor introduce menos de %s caracteres', + more: 'Por favor introduce más de %s caracteres', + }, + uri: { + default: 'Por favor introduce una URI válida', + }, + uuid: { + default: 'Por favor introduce un número UUID válido', + version: 'Por favor introduce una versión UUID válida para %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Bélgica', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suiza', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'España', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Reino Unido', + GR: 'Grecia', + HR: 'Croacia', + HU: 'Hungría', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Países Bajos', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Rumanía', + RS: 'Serbia', + RU: 'Rusa', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovaquia', + VE: 'Venezuela', + ZA: 'Sudáfrica', + }, + country: 'Por favor introduce un número IVA válido en %s', + default: 'Por favor introduce un número IVA válido', + }, + vin: { + default: 'Por favor introduce un número VIN válido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suiza', + CZ: 'República Checa', + DE: 'Alemania', + DK: 'Dinamarca', + ES: 'España', + FR: 'Francia', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marruecos', + NL: 'Países Bajos', + PL: 'Poland', + PT: 'Portugal', + RO: 'Rumanía', + RU: 'Rusa', + SE: 'Suecia', + SG: 'Singapur', + SK: 'Eslovaquia', + US: 'Estados Unidos', + }, + country: 'Por favor introduce un código postal válido en %s', + default: 'Por favor introduce un código postal válido', + }, + }; + + return es_ES; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_ES.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_ES.min.js new file mode 100755 index 00000000..956b9dd8 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/es_ES.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.es_ES=factory())})(this,(function(){"use strict";var es_ES={base64:{default:"Por favor introduce un valor válido en base 64"},between:{default:"Por favor introduce un valor entre %s y %s",notInclusive:"Por favor introduce un valor sólo entre %s and %s"},bic:{default:"Por favor introduce un número BIC válido"},callback:{default:"Por favor introduce un valor válido"},choice:{between:"Por favor elija de %s a %s opciones",default:"Por favor introduce un valor válido",less:"Por favor elija %s opciones como mínimo",more:"Por favor elija %s optiones como máximo"},color:{default:"Por favor introduce un color válido"},creditCard:{default:"Por favor introduce un número válido de tarjeta de crédito"},cusip:{default:"Por favor introduce un número CUSIP válido"},date:{default:"Por favor introduce una fecha válida",max:"Por favor introduce una fecha previa al %s",min:"Por favor introduce una fecha posterior al %s",range:"Por favor introduce una fecha entre el %s y el %s"},different:{default:"Por favor introduce un valor distinto"},digits:{default:"Por favor introduce sólo dígitos"},ean:{default:"Por favor introduce un número EAN válido"},ein:{default:"Por favor introduce un número EIN válido"},emailAddress:{default:"Por favor introduce un email válido"},file:{default:"Por favor elija un archivo válido"},greaterThan:{default:"Por favor introduce un valor mayor o igual a %s",notInclusive:"Por favor introduce un valor mayor que %s"},grid:{default:"Por favor introduce un número GRId válido"},hex:{default:"Por favor introduce un valor hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emiratos Árabes Unidos",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaiyán",BA:"Bosnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benín",BR:"Brasil",CH:"Suiza",CI:"Costa de Marfil",CM:"Camerún",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argelia",EE:"Estonia",ES:"España",FI:"Finlandia",FO:"Islas Feroe",FR:"Francia",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazajistán",LB:"Líbano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Mónaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Malí",MR:"Mauritania",MT:"Malta",MU:"Mauricio",MZ:"Mozambique",NL:"Países Bajos",NO:"Noruega",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Rumania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",SN:"Senegal",TL:"Timor Oriental",TN:"Túnez",TR:"Turquía",VG:"Islas Vírgenes Británicas",XK:"República de Kosovo"},country:"Por favor introduce un número IBAN válido en %s",default:"Por favor introduce un número IBAN válido"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estonia",ES:"España",FI:"Finlandia",HR:"Croacia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Macedonia",NL:"Países Bajos",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",SM:"San Marino",TH:"Tailandia",TR:"Turquía",ZA:"Sudáfrica"},country:"Por favor introduce un número válido de identificación en %s",default:"Por favor introduce un número de identificación válido"},identical:{default:"Por favor introduce el mismo valor"},imei:{default:"Por favor introduce un número IMEI válido"},imo:{default:"Por favor introduce un número IMO válido"},integer:{default:"Por favor introduce un número válido"},ip:{default:"Por favor introduce una dirección IP válida",ipv4:"Por favor introduce una dirección IPv4 válida",ipv6:"Por favor introduce una dirección IPv6 válida"},isbn:{default:"Por favor introduce un número ISBN válido"},isin:{default:"Por favor introduce un número ISIN válido"},ismn:{default:"Por favor introduce un número ISMN válido"},issn:{default:"Por favor introduce un número ISSN válido"},lessThan:{default:"Por favor introduce un valor menor o igual a %s",notInclusive:"Por favor introduce un valor menor que %s"},mac:{default:"Por favor introduce una dirección MAC válida"},meid:{default:"Por favor introduce un número MEID válido"},notEmpty:{default:"Por favor introduce un valor"},numeric:{default:"Por favor introduce un número decimal válido"},phone:{countries:{AE:"Emiratos Árabes Unidos",BG:"Bulgaria",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IN:"India",MA:"Marruecos",NL:"Países Bajos",PK:"Pakistán",RO:"Rumania",RU:"Rusa",SK:"Eslovaquia",TH:"Tailandia",US:"Estados Unidos",VE:"Venezuela"},country:"Por favor introduce un número válido de teléfono en %s",default:"Por favor introduce un número válido de teléfono"},promise:{default:"Por favor introduce un valor válido"},regexp:{default:"Por favor introduce un valor que coincida con el patrón"},remote:{default:"Por favor introduce un valor válido"},rtn:{default:"Por favor introduce un número RTN válido"},sedol:{default:"Por favor introduce un número SEDOL válido"},siren:{default:"Por favor introduce un número SIREN válido"},siret:{default:"Por favor introduce un número SIRET válido"},step:{default:"Por favor introduce un paso válido de %s"},stringCase:{default:"Por favor introduce sólo caracteres en minúscula",upper:"Por favor introduce sólo caracteres en mayúscula"},stringLength:{between:"Por favor introduce un valor con una longitud entre %s y %s caracteres",default:"Por favor introduce un valor con una longitud válida",less:"Por favor introduce menos de %s caracteres",more:"Por favor introduce más de %s caracteres"},uri:{default:"Por favor introduce una URI válida"},uuid:{default:"Por favor introduce un número UUID válido",version:"Por favor introduce una versión UUID válida para %s"},vat:{countries:{AT:"Austria",BE:"Bélgica",BG:"Bulgaria",BR:"Brasil",CH:"Suiza",CY:"Chipre",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",EE:"Estonia",EL:"Grecia",ES:"España",FI:"Finlandia",FR:"Francia",GB:"Reino Unido",GR:"Grecia",HR:"Croacia",HU:"Hungría",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Países Bajos",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Rumanía",RS:"Serbia",RU:"Rusa",SE:"Suecia",SI:"Eslovenia",SK:"Eslovaquia",VE:"Venezuela",ZA:"Sudáfrica"},country:"Por favor introduce un número IVA válido en %s",default:"Por favor introduce un número IVA válido"},vin:{default:"Por favor introduce un número VIN válido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Canadá",CH:"Suiza",CZ:"República Checa",DE:"Alemania",DK:"Dinamarca",ES:"España",FR:"Francia",GB:"Reino Unido",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marruecos",NL:"Países Bajos",PL:"Poland",PT:"Portugal",RO:"Rumanía",RU:"Rusa",SE:"Suecia",SG:"Singapur",SK:"Eslovaquia",US:"Estados Unidos"},country:"Por favor introduce un código postal válido en %s",default:"Por favor introduce un código postal válido"}};return es_ES})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/eu_ES.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/eu_ES.js new file mode 100755 index 00000000..f106b391 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/eu_ES.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.eu_ES = factory())); +})(this, (function () { 'use strict'; + + /** + * Basque language package + * Translated by @xabikip + */ + + var eu_ES = { + base64: { + default: 'Mesedez sartu base 64an balore egoki bat', + }, + between: { + default: 'Mesedez sartu %s eta %s artean balore bat', + notInclusive: 'Mesedez sartu %s eta %s arteko balore bat soilik', + }, + bic: { + default: 'Mesedez sartu BIC zenbaki egoki bat', + }, + callback: { + default: 'Mesedez sartu balore egoki bat', + }, + choice: { + between: 'Mesedez aukeratu %s eta %s arteko aukerak', + default: 'Mesedez sartu balore egoki bat', + less: 'Mesedez aukeraru %s aukera gutxienez', + more: 'Mesedez aukeraru %s aukera gehienez', + }, + color: { + default: 'Mesedezn sartu kolore egoki bat', + }, + creditCard: { + default: 'Mesedez sartu kerditu-txartelaren zenbaki egoki bat', + }, + cusip: { + default: 'Mesedez sartu CUSIP zenbaki egoki bat', + }, + date: { + default: 'Mesedez sartu data egoki bat', + max: 'Mesedez sartu %s baino lehenagoko data bat', + min: 'Mesedez sartu %s baino geroagoko data bat', + range: 'Mesedez sartu %s eta %s arteko data bat', + }, + different: { + default: 'Mesedez sartu balore ezberdin bat', + }, + digits: { + default: 'Mesedez sigituak soilik sartu', + }, + ean: { + default: 'Mesedez EAN zenbaki egoki bat sartu', + }, + ein: { + default: 'Mesedez EIN zenbaki egoki bat sartu', + }, + emailAddress: { + default: 'Mesedez e-posta egoki bat sartu', + }, + file: { + default: 'Mesedez artxibo egoki bat aukeratu', + }, + greaterThan: { + default: 'Mesedez %s baino handiagoa edo berdina den zenbaki bat sartu', + notInclusive: 'Mesedez %s baino handiagoa den zenbaki bat sartu', + }, + grid: { + default: 'Mesedez GRID zenbaki egoki bat sartu', + }, + hex: { + default: 'Mesedez sartu balore hamaseitar egoki bat', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Arabiar Emirerri Batuak', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia-Herzegovina', + BE: 'Belgika', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Baréin', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suitza', + CI: 'Boli Kosta', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Cyprus', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + DO: 'Dominikar Errepublika', + DZ: 'Aljeria', + EE: 'Estonia', + ES: 'Espainia', + FI: 'Finlandia', + FO: 'Feroe Irlak', + FR: 'Frantzia', + GB: 'Erresuma Batua', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlandia', + GR: 'Grezia', + GT: 'Guatemala', + HR: 'Kroazia', + HU: 'Hungaria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islandia', + IT: 'Italia', + JO: 'Jordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MC: 'Monako', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Mazedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Maurizio', + MZ: 'Mozambike', + NL: 'Herbeherak', + NO: 'Norvegia', + PK: 'Pakistán', + PL: 'Poland', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Catar', + RO: 'Errumania', + RS: 'Serbia', + SA: 'Arabia Saudi', + SE: 'Suedia', + SI: 'Eslovenia', + SK: 'Eslovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Ekialdeko Timor', + TN: 'Tunisia', + TR: 'Turkia', + VG: 'Birjina Uharte Britainiar', + XK: 'Kosovoko Errepublika', + }, + country: 'Mesedez, sartu IBAN zenbaki egoki bat honako: %s', + default: 'Mesedez, sartu IBAN zenbaki egoki bat', + }, + id: { + countries: { + BA: 'Bosnia Herzegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suitza', + CL: 'Txile', + CN: 'Txina', + CZ: 'Txekiar Errepublika', + DK: 'Danimarka', + EE: 'Estonia', + ES: 'Espainia', + FI: 'Finlandia', + HR: 'Kroazia', + IE: 'Irlanda', + IS: 'Islandia', + LT: 'Lituania', + LV: 'Letonia', + ME: 'Montenegro', + MK: 'Mazedonia', + NL: 'Herbeherak', + PL: 'Poland', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suecia', + SI: 'Eslovenia', + SK: 'Eslovakia', + SM: 'San Marino', + TH: 'Tailandia', + TR: 'Turkia', + ZA: 'Hegoafrika', + }, + country: 'Mesedez baliozko identifikazio-zenbakia sartu honako: %s', + default: 'Mesedez baliozko identifikazio-zenbakia sartu', + }, + identical: { + default: 'Mesedez, balio bera sartu', + }, + imei: { + default: 'Mesedez, IMEI baliozko zenbaki bat sartu', + }, + imo: { + default: 'Mesedez, IMO baliozko zenbaki bat sartu', + }, + integer: { + default: 'Mesedez, baliozko zenbaki bat sartu', + }, + ip: { + default: 'Mesedez, baliozko IP helbide bat sartu', + ipv4: 'Mesedez, baliozko IPv4 helbide bat sartu', + ipv6: 'Mesedez, baliozko IPv6 helbide bat sartu', + }, + isbn: { + default: 'Mesedez, ISBN baliozko zenbaki bat sartu', + }, + isin: { + default: 'Mesedez, ISIN baliozko zenbaki bat sartu', + }, + ismn: { + default: 'Mesedez, ISMM baliozko zenbaki bat sartu', + }, + issn: { + default: 'Mesedez, ISSN baliozko zenbaki bat sartu', + }, + lessThan: { + default: 'Mesedez, %s en balio txikiagoa edo berdina sartu', + notInclusive: 'Mesedez, %s baino balio txikiago sartu', + }, + mac: { + default: 'Mesedez, baliozko MAC helbide bat sartu', + }, + meid: { + default: 'Mesedez, MEID baliozko zenbaki bat sartu', + }, + notEmpty: { + default: 'Mesedez balore bat sartu', + }, + numeric: { + default: 'Mesedez, baliozko zenbaki hamartar bat sartu', + }, + phone: { + countries: { + AE: 'Arabiar Emirerri Batua', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'Txina', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + ES: 'Espainia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + IN: 'India', + MA: 'Maroko', + NL: 'Herbeherak', + PK: 'Pakistan', + RO: 'Errumania', + RU: 'Errusiarra', + SK: 'Eslovakia', + TH: 'Tailandia', + US: 'Estatu Batuak', + VE: 'Venezuela', + }, + country: 'Mesedez baliozko telefono zenbaki bat sartu honako: %s', + default: 'Mesedez baliozko telefono zenbaki bat sartu', + }, + promise: { + default: 'Mesedez sartu balore egoki bat', + }, + regexp: { + default: 'Mesedez, patroiarekin bat datorren balio bat sartu', + }, + remote: { + default: 'Mesedez balore egoki bat sartu', + }, + rtn: { + default: 'Mesedez, RTN baliozko zenbaki bat sartu', + }, + sedol: { + default: 'Mesedez, SEDOL baliozko zenbaki bat sartu', + }, + siren: { + default: 'Mesedez, SIREN baliozko zenbaki bat sartu', + }, + siret: { + default: 'Mesedez, SIRET baliozko zenbaki bat sartu', + }, + step: { + default: 'Mesedez %s -ko pausu egoki bat sartu', + }, + stringCase: { + default: 'Mesedez, minuskulazko karaktereak bakarrik sartu', + upper: 'Mesedez, maiuzkulazko karaktereak bakarrik sartu', + }, + stringLength: { + between: 'Mesedez, %s eta %s arteko luzeera duen balore bat sartu', + default: 'Mesedez, luzeera egoki bateko baloreak bakarrik sartu', + less: 'Mesedez, %s baino karaktere gutxiago sartu', + more: 'Mesedez, %s baino karaktere gehiago sartu', + }, + uri: { + default: 'Mesedez, URI egoki bat sartu.', + }, + uuid: { + default: 'Mesedez, UUID baliozko zenbaki bat sartu', + version: 'Mesedez, UUID bertsio egoki bat sartu honendako: %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgika', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Suitza', + CY: 'Txipre', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + EE: 'Estonia', + EL: 'Grezia', + ES: 'Espainia', + FI: 'Finlandia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + GR: 'Grezia', + HR: 'Kroazia', + HU: 'Hungaria', + IE: 'Irlanda', + IS: 'Islandia', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburgo', + LV: 'Letonia', + MT: 'Malta', + NL: 'Herbeherak', + NO: 'Noruega', + PL: 'Polonia', + PT: 'Portugal', + RO: 'Errumania', + RS: 'Serbia', + RU: 'Errusia', + SE: 'Suedia', + SI: 'Eslovenia', + SK: 'Eslovakia', + VE: 'Venezuela', + ZA: 'Hegoafrika', + }, + country: 'Mesedez, BEZ zenbaki egoki bat sartu herrialde hontarako: %s', + default: 'Mesedez, BEZ zenbaki egoki bat sartu', + }, + vin: { + default: 'Mesedez, baliozko VIN zenbaki bat sartu', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Kanada', + CH: 'Suitza', + CZ: 'Txekiar Errepublika', + DE: 'Alemania', + DK: 'Danimarka', + ES: 'Espainia', + FR: 'Frantzia', + GB: 'Erresuma Batuak', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Maroko', + NL: 'Herbeherak', + PL: 'Poland', + PT: 'Portugal', + RO: 'Errumania', + RU: 'Errusia', + SE: 'Suedia', + SG: 'Singapur', + SK: 'Eslovakia', + US: 'Estatu Batuak', + }, + country: 'Mesedez, baliozko posta kode bat sartu herrialde honetarako: %s', + default: 'Mesedez, baliozko posta kode bat sartu', + }, + }; + + return eu_ES; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/eu_ES.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/eu_ES.min.js new file mode 100755 index 00000000..5bfa1710 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/eu_ES.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.eu_ES=factory())})(this,(function(){"use strict";var eu_ES={base64:{default:"Mesedez sartu base 64an balore egoki bat"},between:{default:"Mesedez sartu %s eta %s artean balore bat",notInclusive:"Mesedez sartu %s eta %s arteko balore bat soilik"},bic:{default:"Mesedez sartu BIC zenbaki egoki bat"},callback:{default:"Mesedez sartu balore egoki bat"},choice:{between:"Mesedez aukeratu %s eta %s arteko aukerak",default:"Mesedez sartu balore egoki bat",less:"Mesedez aukeraru %s aukera gutxienez",more:"Mesedez aukeraru %s aukera gehienez"},color:{default:"Mesedezn sartu kolore egoki bat"},creditCard:{default:"Mesedez sartu kerditu-txartelaren zenbaki egoki bat"},cusip:{default:"Mesedez sartu CUSIP zenbaki egoki bat"},date:{default:"Mesedez sartu data egoki bat",max:"Mesedez sartu %s baino lehenagoko data bat",min:"Mesedez sartu %s baino geroagoko data bat",range:"Mesedez sartu %s eta %s arteko data bat"},different:{default:"Mesedez sartu balore ezberdin bat"},digits:{default:"Mesedez sigituak soilik sartu"},ean:{default:"Mesedez EAN zenbaki egoki bat sartu"},ein:{default:"Mesedez EIN zenbaki egoki bat sartu"},emailAddress:{default:"Mesedez e-posta egoki bat sartu"},file:{default:"Mesedez artxibo egoki bat aukeratu"},greaterThan:{default:"Mesedez %s baino handiagoa edo berdina den zenbaki bat sartu",notInclusive:"Mesedez %s baino handiagoa den zenbaki bat sartu"},grid:{default:"Mesedez GRID zenbaki egoki bat sartu"},hex:{default:"Mesedez sartu balore hamaseitar egoki bat"},iban:{countries:{AD:"Andorra",AE:"Arabiar Emirerri Batuak",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia-Herzegovina",BE:"Belgika",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suitza",CI:"Boli Kosta",CM:"Kamerun",CR:"Costa Rica",CV:"Cabo Verde",CY:"Cyprus",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",DO:"Dominikar Errepublika",DZ:"Aljeria",EE:"Estonia",ES:"Espainia",FI:"Finlandia",FO:"Feroe Irlak",FR:"Frantzia",GB:"Erresuma Batua",GE:"Georgia",GI:"Gibraltar",GL:"Groenlandia",GR:"Grezia",GT:"Guatemala",HR:"Kroazia",HU:"Hungaria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islandia",IT:"Italia",JO:"Jordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libano",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MC:"Monako",MD:"Moldavia",ME:"Montenegro",MG:"Madagaskar",MK:"Mazedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Maurizio",MZ:"Mozambike",NL:"Herbeherak",NO:"Norvegia",PK:"Pakistán",PL:"Poland",PS:"Palestina",PT:"Portugal",QA:"Catar",RO:"Errumania",RS:"Serbia",SA:"Arabia Saudi",SE:"Suedia",SI:"Eslovenia",SK:"Eslovakia",SM:"San Marino",SN:"Senegal",TL:"Ekialdeko Timor",TN:"Tunisia",TR:"Turkia",VG:"Birjina Uharte Britainiar",XK:"Kosovoko Errepublika"},country:"Mesedez, sartu IBAN zenbaki egoki bat honako: %s",default:"Mesedez, sartu IBAN zenbaki egoki bat"},id:{countries:{BA:"Bosnia Herzegovina",BG:"Bulgaria",BR:"Brasil",CH:"Suitza",CL:"Txile",CN:"Txina",CZ:"Txekiar Errepublika",DK:"Danimarka",EE:"Estonia",ES:"Espainia",FI:"Finlandia",HR:"Kroazia",IE:"Irlanda",IS:"Islandia",LT:"Lituania",LV:"Letonia",ME:"Montenegro",MK:"Mazedonia",NL:"Herbeherak",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Suecia",SI:"Eslovenia",SK:"Eslovakia",SM:"San Marino",TH:"Tailandia",TR:"Turkia",ZA:"Hegoafrika"},country:"Mesedez baliozko identifikazio-zenbakia sartu honako: %s",default:"Mesedez baliozko identifikazio-zenbakia sartu"},identical:{default:"Mesedez, balio bera sartu"},imei:{default:"Mesedez, IMEI baliozko zenbaki bat sartu"},imo:{default:"Mesedez, IMO baliozko zenbaki bat sartu"},integer:{default:"Mesedez, baliozko zenbaki bat sartu"},ip:{default:"Mesedez, baliozko IP helbide bat sartu",ipv4:"Mesedez, baliozko IPv4 helbide bat sartu",ipv6:"Mesedez, baliozko IPv6 helbide bat sartu"},isbn:{default:"Mesedez, ISBN baliozko zenbaki bat sartu"},isin:{default:"Mesedez, ISIN baliozko zenbaki bat sartu"},ismn:{default:"Mesedez, ISMM baliozko zenbaki bat sartu"},issn:{default:"Mesedez, ISSN baliozko zenbaki bat sartu"},lessThan:{default:"Mesedez, %s en balio txikiagoa edo berdina sartu",notInclusive:"Mesedez, %s baino balio txikiago sartu"},mac:{default:"Mesedez, baliozko MAC helbide bat sartu"},meid:{default:"Mesedez, MEID baliozko zenbaki bat sartu"},notEmpty:{default:"Mesedez balore bat sartu"},numeric:{default:"Mesedez, baliozko zenbaki hamartar bat sartu"},phone:{countries:{AE:"Arabiar Emirerri Batua",BG:"Bulgaria",BR:"Brasil",CN:"Txina",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",ES:"Espainia",FR:"Frantzia",GB:"Erresuma Batuak",IN:"India",MA:"Maroko",NL:"Herbeherak",PK:"Pakistan",RO:"Errumania",RU:"Errusiarra",SK:"Eslovakia",TH:"Tailandia",US:"Estatu Batuak",VE:"Venezuela"},country:"Mesedez baliozko telefono zenbaki bat sartu honako: %s",default:"Mesedez baliozko telefono zenbaki bat sartu"},promise:{default:"Mesedez sartu balore egoki bat"},regexp:{default:"Mesedez, patroiarekin bat datorren balio bat sartu"},remote:{default:"Mesedez balore egoki bat sartu"},rtn:{default:"Mesedez, RTN baliozko zenbaki bat sartu"},sedol:{default:"Mesedez, SEDOL baliozko zenbaki bat sartu"},siren:{default:"Mesedez, SIREN baliozko zenbaki bat sartu"},siret:{default:"Mesedez, SIRET baliozko zenbaki bat sartu"},step:{default:"Mesedez %s -ko pausu egoki bat sartu"},stringCase:{default:"Mesedez, minuskulazko karaktereak bakarrik sartu",upper:"Mesedez, maiuzkulazko karaktereak bakarrik sartu"},stringLength:{between:"Mesedez, %s eta %s arteko luzeera duen balore bat sartu",default:"Mesedez, luzeera egoki bateko baloreak bakarrik sartu",less:"Mesedez, %s baino karaktere gutxiago sartu",more:"Mesedez, %s baino karaktere gehiago sartu"},uri:{default:"Mesedez, URI egoki bat sartu."},uuid:{default:"Mesedez, UUID baliozko zenbaki bat sartu",version:"Mesedez, UUID bertsio egoki bat sartu honendako: %s"},vat:{countries:{AT:"Austria",BE:"Belgika",BG:"Bulgaria",BR:"Brasil",CH:"Suitza",CY:"Txipre",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",EE:"Estonia",EL:"Grezia",ES:"Espainia",FI:"Finlandia",FR:"Frantzia",GB:"Erresuma Batuak",GR:"Grezia",HR:"Kroazia",HU:"Hungaria",IE:"Irlanda",IS:"Islandia",IT:"Italia",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",MT:"Malta",NL:"Herbeherak",NO:"Noruega",PL:"Polonia",PT:"Portugal",RO:"Errumania",RS:"Serbia",RU:"Errusia",SE:"Suedia",SI:"Eslovenia",SK:"Eslovakia",VE:"Venezuela",ZA:"Hegoafrika"},country:"Mesedez, BEZ zenbaki egoki bat sartu herrialde hontarako: %s",default:"Mesedez, BEZ zenbaki egoki bat sartu"},vin:{default:"Mesedez, baliozko VIN zenbaki bat sartu"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasil",CA:"Kanada",CH:"Suitza",CZ:"Txekiar Errepublika",DE:"Alemania",DK:"Danimarka",ES:"Espainia",FR:"Frantzia",GB:"Erresuma Batuak",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Maroko",NL:"Herbeherak",PL:"Poland",PT:"Portugal",RO:"Errumania",RU:"Errusia",SE:"Suedia",SG:"Singapur",SK:"Eslovakia",US:"Estatu Batuak"},country:"Mesedez, baliozko posta kode bat sartu herrialde honetarako: %s",default:"Mesedez, baliozko posta kode bat sartu"}};return eu_ES})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fa_IR.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fa_IR.js new file mode 100755 index 00000000..ecc04565 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fa_IR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.fa_IR = factory())); +})(this, (function () { 'use strict'; + + /** + * Persian (Farsi) Language package. + * Translated by @i0 + */ + + var fa_IR = { + base64: { + default: 'لطفا متن کد گذاری شده base 64 صحیح وارد فرمایید', + }, + between: { + default: 'لطفا یک مقدار بین %s و %s وارد فرمایید', + notInclusive: 'لطفا یک مقدار بین فقط %s و %s وارد فرمایید', + }, + bic: { + default: 'لطفا یک شماره BIC معتبر وارد فرمایید', + }, + callback: { + default: 'لطفا یک مقدار صحیح وارد فرمایید', + }, + choice: { + between: 'لطفا %s - %s گزینه انتخاب فرمایید', + default: 'لطفا یک مقدار صحیح وارد فرمایید', + less: 'لطفا حداقل %s گزینه را انتخاب فرمایید', + more: 'لطفا حداکثر %s گزینه را انتخاب فرمایید', + }, + color: { + default: 'لطفا رنگ صحیح وارد فرمایید', + }, + creditCard: { + default: 'لطفا یک شماره کارت اعتباری معتبر وارد فرمایید', + }, + cusip: { + default: 'لطفا یک شماره CUSIP معتبر وارد فرمایید', + }, + date: { + default: 'لطفا یک تاریخ معتبر وارد فرمایید', + max: 'لطفا یک تاریخ قبل از %s وارد فرمایید', + min: 'لطفا یک تاریخ بعد از %s وارد فرمایید', + range: 'لطفا یک تاریخ در بازه %s - %s وارد فرمایید', + }, + different: { + default: 'لطفا یک مقدار متفاوت وارد فرمایید', + }, + digits: { + default: 'لطفا فقط عدد وارد فرمایید', + }, + ean: { + default: 'لطفا یک شماره EAN معتبر وارد فرمایید', + }, + ein: { + default: 'لطفا یک شماره EIN معتبر وارد فرمایید', + }, + emailAddress: { + default: 'لطفا آدرس ایمیل معتبر وارد فرمایید', + }, + file: { + default: 'لطفا فایل معتبر انتخاب فرمایید', + }, + greaterThan: { + default: 'لطفا مقدار بزرگتر یا مساوی با %s وارد فرمایید', + notInclusive: 'لطفا مقدار بزرگتر از %s وارد فرمایید', + }, + grid: { + default: 'لطفا شماره GRId معتبر وارد فرمایید', + }, + hex: { + default: 'لطفا عدد هگزادسیمال صحیح وارد فرمایید', + }, + iban: { + countries: { + AD: 'آندورا', + AE: 'امارات متحده عربی', + AL: 'آلبانی', + AO: 'آنگولا', + AT: 'اتریش', + AZ: 'آذربایجان', + BA: 'بوسنی و هرزگوین', + BE: 'بلژیک', + BF: 'بورکینا فاسو', + BG: 'بلغارستان', + BH: 'بحرین', + BI: 'بروندی', + BJ: 'بنین', + BR: 'برزیل', + CH: 'سوئیس', + CI: 'ساحل عاج', + CM: 'کامرون', + CR: 'کاستاریکا', + CV: 'کیپ ورد', + CY: 'قبرس', + CZ: 'جمهوری چک', + DE: 'آلمان', + DK: 'دانمارک', + DO: 'جمهوری دومینیکن', + DZ: 'الجزایر', + EE: 'استونی', + ES: 'اسپانیا', + FI: 'فنلاند', + FO: 'جزایر فارو', + FR: 'فرانسه', + GB: 'بریتانیا', + GE: 'گرجستان', + GI: 'جبل الطارق', + GL: 'گرینلند', + GR: 'یونان', + GT: 'گواتمالا', + HR: 'کرواسی', + HU: 'مجارستان', + IE: 'ایرلند', + IL: 'اسرائیل', + IR: 'ایران', + IS: 'ایسلند', + IT: 'ایتالیا', + JO: 'اردن', + KW: 'کویت', + KZ: 'قزاقستان', + LB: 'لبنان', + LI: 'لیختن اشتاین', + LT: 'لیتوانی', + LU: 'لوکزامبورگ', + LV: 'لتونی', + MC: 'موناکو', + MD: 'مولدووا', + ME: 'مونته نگرو', + MG: 'ماداگاسکار', + MK: 'مقدونیه', + ML: 'مالی', + MR: 'موریتانی', + MT: 'مالت', + MU: 'موریس', + MZ: 'موزامبیک', + NL: 'هلند', + NO: 'نروژ', + PK: 'پاکستان', + PL: 'لهستان', + PS: 'فلسطین', + PT: 'پرتغال', + QA: 'قطر', + RO: 'رومانی', + RS: 'صربستان', + SA: 'عربستان سعودی', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + SM: 'سان مارینو', + SN: 'سنگال', + TL: 'تیمور شرق', + TN: 'تونس', + TR: 'ترکیه', + VG: 'جزایر ویرجین، بریتانیا', + XK: 'جمهوری کوزوو', + }, + country: 'لطفا یک شماره IBAN صحیح در %s وارد فرمایید', + default: 'لطفا شماره IBAN معتبر وارد فرمایید', + }, + id: { + countries: { + BA: 'بوسنی و هرزگوین', + BG: 'بلغارستان', + BR: 'برزیل', + CH: 'سوئیس', + CL: 'شیلی', + CN: 'چین', + CZ: 'چک', + DK: 'دانمارک', + EE: 'استونی', + ES: 'اسپانیا', + FI: 'فنلاند', + HR: 'کرواسی', + IE: 'ایرلند', + IS: 'ایسلند', + LT: 'لیتوانی', + LV: 'لتونی', + ME: 'مونته نگرو', + MK: 'مقدونیه', + NL: 'هلند', + PL: 'لهستان', + RO: 'رومانی', + RS: 'صربی', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + SM: 'سان مارینو', + TH: 'تایلند', + TR: 'ترکیه', + ZA: 'آفریقای جنوبی', + }, + country: 'لطفا یک شماره شناسایی معتبر در %s وارد کنید', + default: 'لطفا شماره شناسایی صحیح وارد فرمایید', + }, + identical: { + default: 'لطفا مقدار یکسان وارد فرمایید', + }, + imei: { + default: 'لطفا شماره IMEI معتبر وارد فرمایید', + }, + imo: { + default: 'لطفا شماره IMO معتبر وارد فرمایید', + }, + integer: { + default: 'لطفا یک عدد صحیح وارد فرمایید', + }, + ip: { + default: 'لطفا یک آدرس IP معتبر وارد فرمایید', + ipv4: 'لطفا یک آدرس IPv4 معتبر وارد فرمایید', + ipv6: 'لطفا یک آدرس IPv6 معتبر وارد فرمایید', + }, + isbn: { + default: 'لطفا شماره ISBN معتبر وارد فرمایید', + }, + isin: { + default: 'لطفا شماره ISIN معتبر وارد فرمایید', + }, + ismn: { + default: 'لطفا شماره ISMN معتبر وارد فرمایید', + }, + issn: { + default: 'لطفا شماره ISSN معتبر وارد فرمایید', + }, + lessThan: { + default: 'لطفا مقدار کمتر یا مساوی با %s وارد فرمایید', + notInclusive: 'لطفا مقدار کمتر از %s وارد فرمایید', + }, + mac: { + default: 'لطفا یک MAC address معتبر وارد فرمایید', + }, + meid: { + default: 'لطفا یک شماره MEID معتبر وارد فرمایید', + }, + notEmpty: { + default: 'لطفا یک مقدار وارد فرمایید', + }, + numeric: { + default: 'لطفا یک عدد اعشاری صحیح وارد فرمایید', + }, + phone: { + countries: { + AE: 'امارات متحده عربی', + BG: 'بلغارستان', + BR: 'برزیل', + CN: 'کشور چین', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + ES: 'اسپانیا', + FR: 'فرانسه', + GB: 'بریتانیا', + IN: 'هندوستان', + MA: 'مراکش', + NL: 'هلند', + PK: 'پاکستان', + RO: 'رومانی', + RU: 'روسیه', + SK: 'اسلواکی', + TH: 'تایلند', + US: 'ایالات متحده آمریکا', + VE: 'ونزوئلا', + }, + country: 'لطفا یک شماره تلفن معتبر وارد کنید در %s', + default: 'لطفا یک شماره تلفن صحیح وارد فرمایید', + }, + promise: { + default: 'لطفا یک مقدار صحیح وارد فرمایید', + }, + regexp: { + default: 'لطفا یک مقدار مطابق با الگو وارد فرمایید', + }, + remote: { + default: 'لطفا یک مقدار معتبر وارد فرمایید', + }, + rtn: { + default: 'لطفا یک شماره RTN صحیح وارد فرمایید', + }, + sedol: { + default: 'لطفا یک شماره SEDOL صحیح وارد فرمایید', + }, + siren: { + default: 'لطفا یک شماره SIREN صحیح وارد فرمایید', + }, + siret: { + default: 'لطفا یک شماره SIRET صحیح وارد فرمایید', + }, + step: { + default: 'لطفا یک گام صحیح از %s وارد فرمایید', + }, + stringCase: { + default: 'لطفا فقط حروف کوچک وارد فرمایید', + upper: 'لطفا فقط حروف بزرگ وارد فرمایید', + }, + stringLength: { + between: 'لطفا مقداری بین %s و %s حرف وارد فرمایید', + default: 'لطفا یک مقدار با طول صحیح وارد فرمایید', + less: 'لطفا کمتر از %s حرف وارد فرمایید', + more: 'لطفا بیش از %s حرف وارد فرمایید', + }, + uri: { + default: 'لطفا یک آدرس URI صحیح وارد فرمایید', + }, + uuid: { + default: 'لطفا یک شماره UUID معتبر وارد فرمایید', + version: 'لطفا یک نسخه UUID صحیح %s شماره وارد فرمایید', + }, + vat: { + countries: { + AT: 'اتریش', + BE: 'بلژیک', + BG: 'بلغارستان', + BR: 'برزیل', + CH: 'سوئیس', + CY: 'قبرس', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + EE: 'استونی', + EL: 'یونان', + ES: 'اسپانیا', + FI: 'فنلاند', + FR: 'فرانسه', + GB: 'بریتانیا', + GR: 'یونان', + HR: 'کرواسی', + HU: 'مجارستان', + IE: 'ایرلند', + IS: 'ایسلند', + IT: 'ایتالیا', + LT: 'لیتوانی', + LU: 'لوکزامبورگ', + LV: 'لتونی', + MT: 'مالت', + NL: 'هلند', + NO: 'نروژ', + PL: 'لهستانی', + PT: 'پرتغال', + RO: 'رومانی', + RS: 'صربستان', + RU: 'روسیه', + SE: 'سوئد', + SI: 'اسلوونی', + SK: 'اسلواکی', + VE: 'ونزوئلا', + ZA: 'آفریقای جنوبی', + }, + country: 'لطفا یک شماره VAT معتبر در %s وارد کنید', + default: 'لطفا یک شماره VAT صحیح وارد فرمایید', + }, + vin: { + default: 'لطفا یک شماره VIN صحیح وارد فرمایید', + }, + zipCode: { + countries: { + AT: 'اتریش', + BG: 'بلغارستان', + BR: 'برزیل', + CA: 'کانادا', + CH: 'سوئیس', + CZ: 'چک', + DE: 'آلمان', + DK: 'دانمارک', + ES: 'اسپانیا', + FR: 'فرانسه', + GB: 'بریتانیا', + IE: 'ایرلند', + IN: 'هندوستان', + IT: 'ایتالیا', + MA: 'مراکش', + NL: 'هلند', + PL: 'لهستان', + PT: 'پرتغال', + RO: 'رومانی', + RU: 'روسیه', + SE: 'سوئد', + SG: 'سنگاپور', + SK: 'اسلواکی', + US: 'ایالات متحده', + }, + country: 'لطفا یک کد پستی معتبر در %s وارد کنید', + default: 'لطفا یک کدپستی صحیح وارد فرمایید', + }, + }; + + return fa_IR; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fa_IR.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fa_IR.min.js new file mode 100755 index 00000000..6f802ab4 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fa_IR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.fa_IR=factory())})(this,(function(){"use strict";var fa_IR={base64:{default:"لطفا متن کد گذاری شده base 64 صحیح وارد فرمایید"},between:{default:"لطفا یک مقدار بین %s و %s وارد فرمایید",notInclusive:"لطفا یک مقدار بین فقط %s و %s وارد فرمایید"},bic:{default:"لطفا یک شماره BIC معتبر وارد فرمایید"},callback:{default:"لطفا یک مقدار صحیح وارد فرمایید"},choice:{between:"لطفا %s - %s گزینه انتخاب فرمایید",default:"لطفا یک مقدار صحیح وارد فرمایید",less:"لطفا حداقل %s گزینه را انتخاب فرمایید",more:"لطفا حداکثر %s گزینه را انتخاب فرمایید"},color:{default:"لطفا رنگ صحیح وارد فرمایید"},creditCard:{default:"لطفا یک شماره کارت اعتباری معتبر وارد فرمایید"},cusip:{default:"لطفا یک شماره CUSIP معتبر وارد فرمایید"},date:{default:"لطفا یک تاریخ معتبر وارد فرمایید",max:"لطفا یک تاریخ قبل از %s وارد فرمایید",min:"لطفا یک تاریخ بعد از %s وارد فرمایید",range:"لطفا یک تاریخ در بازه %s - %s وارد فرمایید"},different:{default:"لطفا یک مقدار متفاوت وارد فرمایید"},digits:{default:"لطفا فقط عدد وارد فرمایید"},ean:{default:"لطفا یک شماره EAN معتبر وارد فرمایید"},ein:{default:"لطفا یک شماره EIN معتبر وارد فرمایید"},emailAddress:{default:"لطفا آدرس ایمیل معتبر وارد فرمایید"},file:{default:"لطفا فایل معتبر انتخاب فرمایید"},greaterThan:{default:"لطفا مقدار بزرگتر یا مساوی با %s وارد فرمایید",notInclusive:"لطفا مقدار بزرگتر از %s وارد فرمایید"},grid:{default:"لطفا شماره GRId معتبر وارد فرمایید"},hex:{default:"لطفا عدد هگزادسیمال صحیح وارد فرمایید"},iban:{countries:{AD:"آندورا",AE:"امارات متحده عربی",AL:"آلبانی",AO:"آنگولا",AT:"اتریش",AZ:"آذربایجان",BA:"بوسنی و هرزگوین",BE:"بلژیک",BF:"بورکینا فاسو",BG:"بلغارستان",BH:"بحرین",BI:"بروندی",BJ:"بنین",BR:"برزیل",CH:"سوئیس",CI:"ساحل عاج",CM:"کامرون",CR:"کاستاریکا",CV:"کیپ ورد",CY:"قبرس",CZ:"جمهوری چک",DE:"آلمان",DK:"دانمارک",DO:"جمهوری دومینیکن",DZ:"الجزایر",EE:"استونی",ES:"اسپانیا",FI:"فنلاند",FO:"جزایر فارو",FR:"فرانسه",GB:"بریتانیا",GE:"گرجستان",GI:"جبل الطارق",GL:"گرینلند",GR:"یونان",GT:"گواتمالا",HR:"کرواسی",HU:"مجارستان",IE:"ایرلند",IL:"اسرائیل",IR:"ایران",IS:"ایسلند",IT:"ایتالیا",JO:"اردن",KW:"کویت",KZ:"قزاقستان",LB:"لبنان",LI:"لیختن اشتاین",LT:"لیتوانی",LU:"لوکزامبورگ",LV:"لتونی",MC:"موناکو",MD:"مولدووا",ME:"مونته نگرو",MG:"ماداگاسکار",MK:"مقدونیه",ML:"مالی",MR:"موریتانی",MT:"مالت",MU:"موریس",MZ:"موزامبیک",NL:"هلند",NO:"نروژ",PK:"پاکستان",PL:"لهستان",PS:"فلسطین",PT:"پرتغال",QA:"قطر",RO:"رومانی",RS:"صربستان",SA:"عربستان سعودی",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",SM:"سان مارینو",SN:"سنگال",TL:"تیمور شرق",TN:"تونس",TR:"ترکیه",VG:"جزایر ویرجین، بریتانیا",XK:"جمهوری کوزوو"},country:"لطفا یک شماره IBAN صحیح در %s وارد فرمایید",default:"لطفا شماره IBAN معتبر وارد فرمایید"},id:{countries:{BA:"بوسنی و هرزگوین",BG:"بلغارستان",BR:"برزیل",CH:"سوئیس",CL:"شیلی",CN:"چین",CZ:"چک",DK:"دانمارک",EE:"استونی",ES:"اسپانیا",FI:"فنلاند",HR:"کرواسی",IE:"ایرلند",IS:"ایسلند",LT:"لیتوانی",LV:"لتونی",ME:"مونته نگرو",MK:"مقدونیه",NL:"هلند",PL:"لهستان",RO:"رومانی",RS:"صربی",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",SM:"سان مارینو",TH:"تایلند",TR:"ترکیه",ZA:"آفریقای جنوبی"},country:"لطفا یک شماره شناسایی معتبر در %s وارد کنید",default:"لطفا شماره شناسایی صحیح وارد فرمایید"},identical:{default:"لطفا مقدار یکسان وارد فرمایید"},imei:{default:"لطفا شماره IMEI معتبر وارد فرمایید"},imo:{default:"لطفا شماره IMO معتبر وارد فرمایید"},integer:{default:"لطفا یک عدد صحیح وارد فرمایید"},ip:{default:"لطفا یک آدرس IP معتبر وارد فرمایید",ipv4:"لطفا یک آدرس IPv4 معتبر وارد فرمایید",ipv6:"لطفا یک آدرس IPv6 معتبر وارد فرمایید"},isbn:{default:"لطفا شماره ISBN معتبر وارد فرمایید"},isin:{default:"لطفا شماره ISIN معتبر وارد فرمایید"},ismn:{default:"لطفا شماره ISMN معتبر وارد فرمایید"},issn:{default:"لطفا شماره ISSN معتبر وارد فرمایید"},lessThan:{default:"لطفا مقدار کمتر یا مساوی با %s وارد فرمایید",notInclusive:"لطفا مقدار کمتر از %s وارد فرمایید"},mac:{default:"لطفا یک MAC address معتبر وارد فرمایید"},meid:{default:"لطفا یک شماره MEID معتبر وارد فرمایید"},notEmpty:{default:"لطفا یک مقدار وارد فرمایید"},numeric:{default:"لطفا یک عدد اعشاری صحیح وارد فرمایید"},phone:{countries:{AE:"امارات متحده عربی",BG:"بلغارستان",BR:"برزیل",CN:"کشور چین",CZ:"چک",DE:"آلمان",DK:"دانمارک",ES:"اسپانیا",FR:"فرانسه",GB:"بریتانیا",IN:"هندوستان",MA:"مراکش",NL:"هلند",PK:"پاکستان",RO:"رومانی",RU:"روسیه",SK:"اسلواکی",TH:"تایلند",US:"ایالات متحده آمریکا",VE:"ونزوئلا"},country:"لطفا یک شماره تلفن معتبر وارد کنید در %s",default:"لطفا یک شماره تلفن صحیح وارد فرمایید"},promise:{default:"لطفا یک مقدار صحیح وارد فرمایید"},regexp:{default:"لطفا یک مقدار مطابق با الگو وارد فرمایید"},remote:{default:"لطفا یک مقدار معتبر وارد فرمایید"},rtn:{default:"لطفا یک شماره RTN صحیح وارد فرمایید"},sedol:{default:"لطفا یک شماره SEDOL صحیح وارد فرمایید"},siren:{default:"لطفا یک شماره SIREN صحیح وارد فرمایید"},siret:{default:"لطفا یک شماره SIRET صحیح وارد فرمایید"},step:{default:"لطفا یک گام صحیح از %s وارد فرمایید"},stringCase:{default:"لطفا فقط حروف کوچک وارد فرمایید",upper:"لطفا فقط حروف بزرگ وارد فرمایید"},stringLength:{between:"لطفا مقداری بین %s و %s حرف وارد فرمایید",default:"لطفا یک مقدار با طول صحیح وارد فرمایید",less:"لطفا کمتر از %s حرف وارد فرمایید",more:"لطفا بیش از %s حرف وارد فرمایید"},uri:{default:"لطفا یک آدرس URI صحیح وارد فرمایید"},uuid:{default:"لطفا یک شماره UUID معتبر وارد فرمایید",version:"لطفا یک نسخه UUID صحیح %s شماره وارد فرمایید"},vat:{countries:{AT:"اتریش",BE:"بلژیک",BG:"بلغارستان",BR:"برزیل",CH:"سوئیس",CY:"قبرس",CZ:"چک",DE:"آلمان",DK:"دانمارک",EE:"استونی",EL:"یونان",ES:"اسپانیا",FI:"فنلاند",FR:"فرانسه",GB:"بریتانیا",GR:"یونان",HR:"کرواسی",HU:"مجارستان",IE:"ایرلند",IS:"ایسلند",IT:"ایتالیا",LT:"لیتوانی",LU:"لوکزامبورگ",LV:"لتونی",MT:"مالت",NL:"هلند",NO:"نروژ",PL:"لهستانی",PT:"پرتغال",RO:"رومانی",RS:"صربستان",RU:"روسیه",SE:"سوئد",SI:"اسلوونی",SK:"اسلواکی",VE:"ونزوئلا",ZA:"آفریقای جنوبی"},country:"لطفا یک شماره VAT معتبر در %s وارد کنید",default:"لطفا یک شماره VAT صحیح وارد فرمایید"},vin:{default:"لطفا یک شماره VIN صحیح وارد فرمایید"},zipCode:{countries:{AT:"اتریش",BG:"بلغارستان",BR:"برزیل",CA:"کانادا",CH:"سوئیس",CZ:"چک",DE:"آلمان",DK:"دانمارک",ES:"اسپانیا",FR:"فرانسه",GB:"بریتانیا",IE:"ایرلند",IN:"هندوستان",IT:"ایتالیا",MA:"مراکش",NL:"هلند",PL:"لهستان",PT:"پرتغال",RO:"رومانی",RU:"روسیه",SE:"سوئد",SG:"سنگاپور",SK:"اسلواکی",US:"ایالات متحده"},country:"لطفا یک کد پستی معتبر در %s وارد کنید",default:"لطفا یک کدپستی صحیح وارد فرمایید"}};return fa_IR})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fi_FI.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fi_FI.js new file mode 100755 index 00000000..45174670 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fi_FI.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.fi_FI = factory())); +})(this, (function () { 'use strict'; + + /** + * Finnish language package + * Translated by @traone + */ + + var fi_FI = { + base64: { + default: 'Ole hyvä anna kelvollinen base64 koodattu merkkijono', + }, + between: { + default: 'Ole hyvä anna arvo %s ja %s väliltä', + notInclusive: 'Ole hyvä anna arvo %s ja %s väliltä', + }, + bic: { + default: 'Ole hyvä anna kelvollinen BIC numero', + }, + callback: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + choice: { + between: 'Ole hyvä valitse %s - %s valintaa', + default: 'Ole hyvä anna kelvollinen arvo', + less: 'Ole hyvä valitse vähintään %s valintaa', + more: 'Ole hyvä valitse enintään %s valintaa', + }, + color: { + default: 'Ole hyvä anna kelvollinen väriarvo', + }, + creditCard: { + default: 'Ole hyvä anna kelvollinen luottokortin numero', + }, + cusip: { + default: 'Ole hyvä anna kelvollinen CUSIP numero', + }, + date: { + default: 'Ole hyvä anna kelvollinen päiväys', + max: 'Ole hyvä anna %s edeltävä päiväys', + min: 'Ole hyvä anna %s jälkeinen päiväys', + range: 'Ole hyvä anna päiväys %s - %s väliltä', + }, + different: { + default: 'Ole hyvä anna jokin toinen arvo', + }, + digits: { + default: 'Vain numerot sallittuja', + }, + ean: { + default: 'Ole hyvä anna kelvollinen EAN numero', + }, + ein: { + default: 'Ole hyvä anna kelvollinen EIN numero', + }, + emailAddress: { + default: 'Ole hyvä anna kelvollinen sähköpostiosoite', + }, + file: { + default: 'Ole hyvä valitse kelvollinen tiedosto', + }, + greaterThan: { + default: 'Ole hyvä anna arvoksi yhtä suuri kuin, tai suurempi kuin %s', + notInclusive: 'Ole hyvä anna arvoksi suurempi kuin %s', + }, + grid: { + default: 'Ole hyvä anna kelvollinen GRId numero', + }, + hex: { + default: 'Ole hyvä anna kelvollinen heksadesimaali luku', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Yhdistyneet arabiemiirikunnat', + AL: 'Albania', + AO: 'Angola', + AT: 'Itävalta', + AZ: 'Azerbaidžan', + BA: 'Bosnia ja Hertsegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilia', + CH: 'Sveitsi', + CI: 'Norsunluurannikko', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Kypros', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + DO: 'Dominikaaninen tasavalta', + DZ: 'Algeria', + EE: 'Viro', + ES: 'Espanja', + FI: 'Suomi', + FO: 'Färsaaret', + FR: 'Ranska', + GB: 'Yhdistynyt kuningaskunta', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Grönlanti', + GR: 'Kreikka', + GT: 'Guatemala', + HR: 'Kroatia', + HU: 'Unkari', + IE: 'Irlanti', + IL: 'Israel', + IR: 'Iran', + IS: 'Islanti', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Liettua', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Makedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Hollanti', + NO: 'Norja', + PK: 'Pakistan', + PL: 'Puola', + PS: 'Palestiina', + PT: 'Portugali', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Itä-Timor', + TN: 'Tunisia', + TR: 'Turkki', + VG: 'Neitsytsaaret, Brittien', + XK: 'Kosovon tasavallan', + }, + country: 'Ole hyvä anna kelvollinen IBAN numero maassa %s', + default: 'Ole hyvä anna kelvollinen IBAN numero', + }, + id: { + countries: { + BA: 'Bosnia ja Hertsegovina', + BG: 'Bulgaria', + BR: 'Brasilia', + CH: 'Sveitsi', + CL: 'Chile', + CN: 'Kiina', + CZ: 'Tsekin tasavalta', + DK: 'Tanska', + EE: 'Viro', + ES: 'Espanja', + FI: 'Suomi', + HR: 'Kroatia', + IE: 'Irlanti', + IS: 'Islanti', + LT: 'Liettua', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Makedonia', + NL: 'Hollanti', + PL: 'Puola', + RO: 'Romania', + RS: 'Serbia', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thaimaa', + TR: 'Turkki', + ZA: 'Etelä Afrikka', + }, + country: 'Ole hyvä anna kelvollinen henkilötunnus maassa %s', + default: 'Ole hyvä anna kelvollinen henkilötunnus', + }, + identical: { + default: 'Ole hyvä anna sama arvo', + }, + imei: { + default: 'Ole hyvä anna kelvollinen IMEI numero', + }, + imo: { + default: 'Ole hyvä anna kelvollinen IMO numero', + }, + integer: { + default: 'Ole hyvä anna kelvollinen kokonaisluku', + }, + ip: { + default: 'Ole hyvä anna kelvollinen IP osoite', + ipv4: 'Ole hyvä anna kelvollinen IPv4 osoite', + ipv6: 'Ole hyvä anna kelvollinen IPv6 osoite', + }, + isbn: { + default: 'Ole hyvä anna kelvollinen ISBN numero', + }, + isin: { + default: 'Ole hyvä anna kelvollinen ISIN numero', + }, + ismn: { + default: 'Ole hyvä anna kelvollinen ISMN numero', + }, + issn: { + default: 'Ole hyvä anna kelvollinen ISSN numero', + }, + lessThan: { + default: 'Ole hyvä anna arvo joka on vähemmän kuin tai yhtä suuri kuin %s', + notInclusive: 'Ole hyvä anna arvo joka on vähemmän kuin %s', + }, + mac: { + default: 'Ole hyvä anna kelvollinen MAC osoite', + }, + meid: { + default: 'Ole hyvä anna kelvollinen MEID numero', + }, + notEmpty: { + default: 'Pakollinen kenttä, anna jokin arvo', + }, + numeric: { + default: 'Ole hyvä anna kelvollinen liukuluku', + }, + phone: { + countries: { + AE: 'Yhdistyneet arabiemiirikunnat', + BG: 'Bulgaria', + BR: 'Brasilia', + CN: 'Kiina', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + ES: 'Espanja', + FR: 'Ranska', + GB: 'Yhdistynyt kuningaskunta', + IN: 'Intia', + MA: 'Marokko', + NL: 'Hollanti', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Venäjä', + SK: 'Slovakia', + TH: 'Thaimaa', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Ole hyvä anna kelvollinen puhelinnumero maassa %s', + default: 'Ole hyvä anna kelvollinen puhelinnumero', + }, + promise: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + regexp: { + default: 'Ole hyvä anna kaavan mukainen arvo', + }, + remote: { + default: 'Ole hyvä anna kelvollinen arvo', + }, + rtn: { + default: 'Ole hyvä anna kelvollinen RTN numero', + }, + sedol: { + default: 'Ole hyvä anna kelvollinen SEDOL numero', + }, + siren: { + default: 'Ole hyvä anna kelvollinen SIREN numero', + }, + siret: { + default: 'Ole hyvä anna kelvollinen SIRET numero', + }, + step: { + default: 'Ole hyvä anna kelvollinen arvo %s porrastettuna', + }, + stringCase: { + default: 'Ole hyvä anna pelkästään pieniä kirjaimia', + upper: 'Ole hyvä anna pelkästään isoja kirjaimia', + }, + stringLength: { + between: 'Ole hyvä anna arvo joka on vähintään %s ja enintään %s merkkiä pitkä', + default: 'Ole hyvä anna kelvollisen mittainen merkkijono', + less: 'Ole hyvä anna vähemmän kuin %s merkkiä', + more: 'Ole hyvä anna vähintään %s merkkiä', + }, + uri: { + default: 'Ole hyvä anna kelvollinen URI', + }, + uuid: { + default: 'Ole hyvä anna kelvollinen UUID numero', + version: 'Ole hyvä anna kelvollinen UUID versio %s numero', + }, + vat: { + countries: { + AT: 'Itävalta', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brasilia', + CH: 'Sveitsi', + CY: 'Kypros', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + EE: 'Viro', + EL: 'Kreikka', + ES: 'Espanja', + FI: 'Suomi', + FR: 'Ranska', + GB: 'Yhdistyneet kuningaskunnat', + GR: 'Kreikka', + HR: 'Kroatia', + HU: 'Unkari', + IE: 'Irlanti', + IS: 'Islanti', + IT: 'Italia', + LT: 'Liettua', + LU: 'Luxemburg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Hollanti', + NO: 'Norja', + PL: 'Puola', + PT: 'Portugali', + RO: 'Romania', + RS: 'Serbia', + RU: 'Venäjä', + SE: 'Ruotsi', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Etelä Afrikka', + }, + country: 'Ole hyvä anna kelvollinen VAT numero maahan: %s', + default: 'Ole hyvä anna kelvollinen VAT numero', + }, + vin: { + default: 'Ole hyvä anna kelvollinen VIN numero', + }, + zipCode: { + countries: { + AT: 'Itävalta', + BG: 'Bulgaria', + BR: 'Brasilia', + CA: 'Kanada', + CH: 'Sveitsi', + CZ: 'Tsekin tasavalta', + DE: 'Saksa', + DK: 'Tanska', + ES: 'Espanja', + FR: 'Ranska', + GB: 'Yhdistyneet kuningaskunnat', + IE: 'Irlanti', + IN: 'Intia', + IT: 'Italia', + MA: 'Marokko', + NL: 'Hollanti', + PL: 'Puola', + PT: 'Portugali', + RO: 'Romania', + RU: 'Venäjä', + SE: 'Ruotsi', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Ole hyvä anna kelvollinen postinumero maassa: %s', + default: 'Ole hyvä anna kelvollinen postinumero', + }, + }; + + return fi_FI; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fi_FI.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fi_FI.min.js new file mode 100755 index 00000000..dba8dc9c --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fi_FI.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.fi_FI=factory())})(this,(function(){"use strict";var fi_FI={base64:{default:"Ole hyvä anna kelvollinen base64 koodattu merkkijono"},between:{default:"Ole hyvä anna arvo %s ja %s väliltä",notInclusive:"Ole hyvä anna arvo %s ja %s väliltä"},bic:{default:"Ole hyvä anna kelvollinen BIC numero"},callback:{default:"Ole hyvä anna kelvollinen arvo"},choice:{between:"Ole hyvä valitse %s - %s valintaa",default:"Ole hyvä anna kelvollinen arvo",less:"Ole hyvä valitse vähintään %s valintaa",more:"Ole hyvä valitse enintään %s valintaa"},color:{default:"Ole hyvä anna kelvollinen väriarvo"},creditCard:{default:"Ole hyvä anna kelvollinen luottokortin numero"},cusip:{default:"Ole hyvä anna kelvollinen CUSIP numero"},date:{default:"Ole hyvä anna kelvollinen päiväys",max:"Ole hyvä anna %s edeltävä päiväys",min:"Ole hyvä anna %s jälkeinen päiväys",range:"Ole hyvä anna päiväys %s - %s väliltä"},different:{default:"Ole hyvä anna jokin toinen arvo"},digits:{default:"Vain numerot sallittuja"},ean:{default:"Ole hyvä anna kelvollinen EAN numero"},ein:{default:"Ole hyvä anna kelvollinen EIN numero"},emailAddress:{default:"Ole hyvä anna kelvollinen sähköpostiosoite"},file:{default:"Ole hyvä valitse kelvollinen tiedosto"},greaterThan:{default:"Ole hyvä anna arvoksi yhtä suuri kuin, tai suurempi kuin %s",notInclusive:"Ole hyvä anna arvoksi suurempi kuin %s"},grid:{default:"Ole hyvä anna kelvollinen GRId numero"},hex:{default:"Ole hyvä anna kelvollinen heksadesimaali luku"},iban:{countries:{AD:"Andorra",AE:"Yhdistyneet arabiemiirikunnat",AL:"Albania",AO:"Angola",AT:"Itävalta",AZ:"Azerbaidžan",BA:"Bosnia ja Hertsegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilia",CH:"Sveitsi",CI:"Norsunluurannikko",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Kypros",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",DO:"Dominikaaninen tasavalta",DZ:"Algeria",EE:"Viro",ES:"Espanja",FI:"Suomi",FO:"Färsaaret",FR:"Ranska",GB:"Yhdistynyt kuningaskunta",GE:"Georgia",GI:"Gibraltar",GL:"Grönlanti",GR:"Kreikka",GT:"Guatemala",HR:"Kroatia",HU:"Unkari",IE:"Irlanti",IL:"Israel",IR:"Iran",IS:"Islanti",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Liettua",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Makedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Hollanti",NO:"Norja",PK:"Pakistan",PL:"Puola",PS:"Palestiina",PT:"Portugali",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Itä-Timor",TN:"Tunisia",TR:"Turkki",VG:"Neitsytsaaret, Brittien",XK:"Kosovon tasavallan"},country:"Ole hyvä anna kelvollinen IBAN numero maassa %s",default:"Ole hyvä anna kelvollinen IBAN numero"},id:{countries:{BA:"Bosnia ja Hertsegovina",BG:"Bulgaria",BR:"Brasilia",CH:"Sveitsi",CL:"Chile",CN:"Kiina",CZ:"Tsekin tasavalta",DK:"Tanska",EE:"Viro",ES:"Espanja",FI:"Suomi",HR:"Kroatia",IE:"Irlanti",IS:"Islanti",LT:"Liettua",LV:"Latvia",ME:"Montenegro",MK:"Makedonia",NL:"Hollanti",PL:"Puola",RO:"Romania",RS:"Serbia",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thaimaa",TR:"Turkki",ZA:"Etelä Afrikka"},country:"Ole hyvä anna kelvollinen henkilötunnus maassa %s",default:"Ole hyvä anna kelvollinen henkilötunnus"},identical:{default:"Ole hyvä anna sama arvo"},imei:{default:"Ole hyvä anna kelvollinen IMEI numero"},imo:{default:"Ole hyvä anna kelvollinen IMO numero"},integer:{default:"Ole hyvä anna kelvollinen kokonaisluku"},ip:{default:"Ole hyvä anna kelvollinen IP osoite",ipv4:"Ole hyvä anna kelvollinen IPv4 osoite",ipv6:"Ole hyvä anna kelvollinen IPv6 osoite"},isbn:{default:"Ole hyvä anna kelvollinen ISBN numero"},isin:{default:"Ole hyvä anna kelvollinen ISIN numero"},ismn:{default:"Ole hyvä anna kelvollinen ISMN numero"},issn:{default:"Ole hyvä anna kelvollinen ISSN numero"},lessThan:{default:"Ole hyvä anna arvo joka on vähemmän kuin tai yhtä suuri kuin %s",notInclusive:"Ole hyvä anna arvo joka on vähemmän kuin %s"},mac:{default:"Ole hyvä anna kelvollinen MAC osoite"},meid:{default:"Ole hyvä anna kelvollinen MEID numero"},notEmpty:{default:"Pakollinen kenttä, anna jokin arvo"},numeric:{default:"Ole hyvä anna kelvollinen liukuluku"},phone:{countries:{AE:"Yhdistyneet arabiemiirikunnat",BG:"Bulgaria",BR:"Brasilia",CN:"Kiina",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",ES:"Espanja",FR:"Ranska",GB:"Yhdistynyt kuningaskunta",IN:"Intia",MA:"Marokko",NL:"Hollanti",PK:"Pakistan",RO:"Romania",RU:"Venäjä",SK:"Slovakia",TH:"Thaimaa",US:"USA",VE:"Venezuela"},country:"Ole hyvä anna kelvollinen puhelinnumero maassa %s",default:"Ole hyvä anna kelvollinen puhelinnumero"},promise:{default:"Ole hyvä anna kelvollinen arvo"},regexp:{default:"Ole hyvä anna kaavan mukainen arvo"},remote:{default:"Ole hyvä anna kelvollinen arvo"},rtn:{default:"Ole hyvä anna kelvollinen RTN numero"},sedol:{default:"Ole hyvä anna kelvollinen SEDOL numero"},siren:{default:"Ole hyvä anna kelvollinen SIREN numero"},siret:{default:"Ole hyvä anna kelvollinen SIRET numero"},step:{default:"Ole hyvä anna kelvollinen arvo %s porrastettuna"},stringCase:{default:"Ole hyvä anna pelkästään pieniä kirjaimia",upper:"Ole hyvä anna pelkästään isoja kirjaimia"},stringLength:{between:"Ole hyvä anna arvo joka on vähintään %s ja enintään %s merkkiä pitkä",default:"Ole hyvä anna kelvollisen mittainen merkkijono",less:"Ole hyvä anna vähemmän kuin %s merkkiä",more:"Ole hyvä anna vähintään %s merkkiä"},uri:{default:"Ole hyvä anna kelvollinen URI"},uuid:{default:"Ole hyvä anna kelvollinen UUID numero",version:"Ole hyvä anna kelvollinen UUID versio %s numero"},vat:{countries:{AT:"Itävalta",BE:"Belgia",BG:"Bulgaria",BR:"Brasilia",CH:"Sveitsi",CY:"Kypros",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",EE:"Viro",EL:"Kreikka",ES:"Espanja",FI:"Suomi",FR:"Ranska",GB:"Yhdistyneet kuningaskunnat",GR:"Kreikka",HR:"Kroatia",HU:"Unkari",IE:"Irlanti",IS:"Islanti",IT:"Italia",LT:"Liettua",LU:"Luxemburg",LV:"Latvia",MT:"Malta",NL:"Hollanti",NO:"Norja",PL:"Puola",PT:"Portugali",RO:"Romania",RS:"Serbia",RU:"Venäjä",SE:"Ruotsi",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Etelä Afrikka"},country:"Ole hyvä anna kelvollinen VAT numero maahan: %s",default:"Ole hyvä anna kelvollinen VAT numero"},vin:{default:"Ole hyvä anna kelvollinen VIN numero"},zipCode:{countries:{AT:"Itävalta",BG:"Bulgaria",BR:"Brasilia",CA:"Kanada",CH:"Sveitsi",CZ:"Tsekin tasavalta",DE:"Saksa",DK:"Tanska",ES:"Espanja",FR:"Ranska",GB:"Yhdistyneet kuningaskunnat",IE:"Irlanti",IN:"Intia",IT:"Italia",MA:"Marokko",NL:"Hollanti",PL:"Puola",PT:"Portugali",RO:"Romania",RU:"Venäjä",SE:"Ruotsi",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Ole hyvä anna kelvollinen postinumero maassa: %s",default:"Ole hyvä anna kelvollinen postinumero"}};return fi_FI})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_BE.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_BE.js new file mode 100755 index 00000000..078c3f51 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_BE.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.fr_BE = factory())); +})(this, (function () { 'use strict'; + + /** + * Belgium (French) language package + * Translated by @neilime + */ + + var fr_BE = { + base64: { + default: 'Veuillez fournir une donnée correctement encodée en Base64', + }, + between: { + default: 'Veuillez fournir une valeur comprise entre %s et %s', + notInclusive: 'Veuillez fournir une valeur strictement comprise entre %s et %s', + }, + bic: { + default: 'Veuillez fournir un code-barre BIC valide', + }, + callback: { + default: 'Veuillez fournir une valeur valide', + }, + choice: { + between: 'Veuillez choisir de %s à %s options', + default: 'Veuillez fournir une valeur valide', + less: 'Veuillez choisir au minimum %s options', + more: 'Veuillez choisir au maximum %s options', + }, + color: { + default: 'Veuillez fournir une couleur valide', + }, + creditCard: { + default: 'Veuillez fournir un numéro de carte de crédit valide', + }, + cusip: { + default: 'Veuillez fournir un code CUSIP valide', + }, + date: { + default: 'Veuillez fournir une date valide', + max: 'Veuillez fournir une date inférieure à %s', + min: 'Veuillez fournir une date supérieure à %s', + range: 'Veuillez fournir une date comprise entre %s et %s', + }, + different: { + default: 'Veuillez fournir une valeur différente', + }, + digits: { + default: 'Veuillez ne fournir que des chiffres', + }, + ean: { + default: 'Veuillez fournir un code-barre EAN valide', + }, + ein: { + default: 'Veuillez fournir un code-barre EIN valide', + }, + emailAddress: { + default: 'Veuillez fournir une adresse e-mail valide', + }, + file: { + default: 'Veuillez choisir un fichier valide', + }, + greaterThan: { + default: 'Veuillez fournir une valeur supérieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur supérieure à %s', + }, + grid: { + default: 'Veuillez fournir un code GRId valide', + }, + hex: { + default: 'Veuillez fournir un nombre hexadécimal valide', + }, + iban: { + countries: { + AD: 'Andorre', + AE: 'Émirats Arabes Unis', + AL: 'Albanie', + AO: 'Angola', + AT: 'Autriche', + AZ: 'Azerbaïdjan', + BA: 'Bosnie-Herzégovine', + BE: 'Belgique', + BF: 'Burkina Faso', + BG: 'Bulgarie', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Bénin', + BR: 'Brésil', + CH: 'Suisse', + CI: "Côte d'ivoire", + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Cap Vert', + CY: 'Chypre', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + DO: 'République Dominicaine', + DZ: 'Algérie', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + FO: 'Îles Féroé', + FR: 'France', + GB: 'Royaume Uni', + GE: 'Géorgie', + GI: 'Gibraltar', + GL: 'Groënland', + GR: 'Gréce', + GT: 'Guatemala', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IL: 'Israël', + IR: 'Iran', + IS: 'Islande', + IT: 'Italie', + JO: 'Jordanie', + KW: 'Koweït', + KZ: 'Kazakhstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Lithuanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MC: 'Monaco', + MD: 'Moldavie', + ME: 'Monténégro', + MG: 'Madagascar', + MK: 'Macédoine', + ML: 'Mali', + MR: 'Mauritanie', + MT: 'Malte', + MU: 'Maurice', + MZ: 'Mozambique', + NL: 'Pays-Bas', + NO: 'Norvège', + PK: 'Pakistan', + PL: 'Pologne', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Quatar', + RO: 'Roumanie', + RS: 'Serbie', + SA: 'Arabie Saoudite', + SE: 'Suède', + SI: 'Slovènie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + SN: 'Sénégal', + TL: 'Timor oriental', + TN: 'Tunisie', + TR: 'Turquie', + VG: 'Îles Vierges britanniques', + XK: 'République du Kosovo', + }, + country: 'Veuillez fournir un code IBAN valide pour %s', + default: 'Veuillez fournir un code IBAN valide', + }, + id: { + countries: { + BA: 'Bosnie-Herzégovine', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CL: 'Chili', + CN: 'Chine', + CZ: 'Tchèque', + DK: 'Danemark', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + HR: 'Croatie', + IE: 'Irlande', + IS: 'Islande', + LT: 'Lituanie', + LV: 'Lettonie', + ME: 'Monténégro', + MK: 'Macédoine', + NL: 'Pays-Bas', + PL: 'Pologne', + RO: 'Roumanie', + RS: 'Serbie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + TH: 'Thaïlande', + TR: 'Turquie', + ZA: 'Afrique du Sud', + }, + country: "Veuillez fournir un numéro d'identification valide pour %s", + default: "Veuillez fournir un numéro d'identification valide", + }, + identical: { + default: 'Veuillez fournir la même valeur', + }, + imei: { + default: 'Veuillez fournir un code IMEI valide', + }, + imo: { + default: 'Veuillez fournir un code IMO valide', + }, + integer: { + default: 'Veuillez fournir un nombre valide', + }, + ip: { + default: 'Veuillez fournir une adresse IP valide', + ipv4: 'Veuillez fournir une adresse IPv4 valide', + ipv6: 'Veuillez fournir une adresse IPv6 valide', + }, + isbn: { + default: 'Veuillez fournir un code ISBN valide', + }, + isin: { + default: 'Veuillez fournir un code ISIN valide', + }, + ismn: { + default: 'Veuillez fournir un code ISMN valide', + }, + issn: { + default: 'Veuillez fournir un code ISSN valide', + }, + lessThan: { + default: 'Veuillez fournir une valeur inférieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur inférieure à %s', + }, + mac: { + default: 'Veuillez fournir une adresse MAC valide', + }, + meid: { + default: 'Veuillez fournir un code MEID valide', + }, + notEmpty: { + default: 'Veuillez fournir une valeur', + }, + numeric: { + default: 'Veuillez fournir une valeur décimale valide', + }, + phone: { + countries: { + AE: 'Émirats Arabes Unis', + BG: 'Bulgarie', + BR: 'Brésil', + CN: 'Chine', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IN: 'Inde', + MA: 'Maroc', + NL: 'Pays-Bas', + PK: 'Pakistan', + RO: 'Roumanie', + RU: 'Russie', + SK: 'Slovaquie', + TH: 'Thaïlande', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Veuillez fournir un numéro de téléphone valide pour %s', + default: 'Veuillez fournir un numéro de téléphone valide', + }, + promise: { + default: 'Veuillez fournir une valeur valide', + }, + regexp: { + default: 'Veuillez fournir une valeur correspondant au modèle', + }, + remote: { + default: 'Veuillez fournir une valeur valide', + }, + rtn: { + default: 'Veuillez fournir un code RTN valide', + }, + sedol: { + default: 'Veuillez fournir a valid SEDOL number', + }, + siren: { + default: 'Veuillez fournir un numéro SIREN valide', + }, + siret: { + default: 'Veuillez fournir un numéro SIRET valide', + }, + step: { + default: 'Veuillez fournir un écart valide de %s', + }, + stringCase: { + default: 'Veuillez ne fournir que des caractères minuscules', + upper: 'Veuillez ne fournir que des caractères majuscules', + }, + stringLength: { + between: 'Veuillez fournir entre %s et %s caractères', + default: 'Veuillez fournir une valeur de longueur valide', + less: 'Veuillez fournir moins de %s caractères', + more: 'Veuillez fournir plus de %s caractères', + }, + uri: { + default: 'Veuillez fournir un URI valide', + }, + uuid: { + default: 'Veuillez fournir un UUID valide', + version: 'Veuillez fournir un UUID version %s number', + }, + vat: { + countries: { + AT: 'Autriche', + BE: 'Belgique', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CY: 'Chypre', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + EE: 'Estonie', + EL: 'Grèce', + ES: 'Espagne', + FI: 'Finlande', + FR: 'France', + GB: 'Royaume-Uni', + GR: 'Grèce', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IS: 'Islande', + IT: 'Italie', + LT: 'Lituanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MT: 'Malte', + NL: 'Pays-Bas', + NO: 'Norvège', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RS: 'Serbie', + RU: 'Russie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + VE: 'Venezuela', + ZA: 'Afrique du Sud', + }, + country: 'Veuillez fournir un code VAT valide pour %s', + default: 'Veuillez fournir un code VAT valide', + }, + vin: { + default: 'Veuillez fournir un code VIN valide', + }, + zipCode: { + countries: { + AT: 'Autriche', + BG: 'Bulgarie', + BR: 'Brésil', + CA: 'Canada', + CH: 'Suisse', + CZ: 'Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IE: 'Irlande', + IN: 'Inde', + IT: 'Italie', + MA: 'Maroc', + NL: 'Pays-Bas', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RU: 'Russie', + SE: 'Suède', + SG: 'Singapour', + SK: 'Slovaquie', + US: 'USA', + }, + country: 'Veuillez fournir un code postal valide pour %s', + default: 'Veuillez fournir un code postal valide', + }, + }; + + return fr_BE; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_BE.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_BE.min.js new file mode 100755 index 00000000..8fdcab07 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_BE.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.fr_BE=factory())})(this,(function(){"use strict";var fr_BE={base64:{default:"Veuillez fournir une donnée correctement encodée en Base64"},between:{default:"Veuillez fournir une valeur comprise entre %s et %s",notInclusive:"Veuillez fournir une valeur strictement comprise entre %s et %s"},bic:{default:"Veuillez fournir un code-barre BIC valide"},callback:{default:"Veuillez fournir une valeur valide"},choice:{between:"Veuillez choisir de %s à %s options",default:"Veuillez fournir une valeur valide",less:"Veuillez choisir au minimum %s options",more:"Veuillez choisir au maximum %s options"},color:{default:"Veuillez fournir une couleur valide"},creditCard:{default:"Veuillez fournir un numéro de carte de crédit valide"},cusip:{default:"Veuillez fournir un code CUSIP valide"},date:{default:"Veuillez fournir une date valide",max:"Veuillez fournir une date inférieure à %s",min:"Veuillez fournir une date supérieure à %s",range:"Veuillez fournir une date comprise entre %s et %s"},different:{default:"Veuillez fournir une valeur différente"},digits:{default:"Veuillez ne fournir que des chiffres"},ean:{default:"Veuillez fournir un code-barre EAN valide"},ein:{default:"Veuillez fournir un code-barre EIN valide"},emailAddress:{default:"Veuillez fournir une adresse e-mail valide"},file:{default:"Veuillez choisir un fichier valide"},greaterThan:{default:"Veuillez fournir une valeur supérieure ou égale à %s",notInclusive:"Veuillez fournir une valeur supérieure à %s"},grid:{default:"Veuillez fournir un code GRId valide"},hex:{default:"Veuillez fournir un nombre hexadécimal valide"},iban:{countries:{AD:"Andorre",AE:"Émirats Arabes Unis",AL:"Albanie",AO:"Angola",AT:"Autriche",AZ:"Azerbaïdjan",BA:"Bosnie-Herzégovine",BE:"Belgique",BF:"Burkina Faso",BG:"Bulgarie",BH:"Bahrein",BI:"Burundi",BJ:"Bénin",BR:"Brésil",CH:"Suisse",CI:"Côte d'ivoire",CM:"Cameroun",CR:"Costa Rica",CV:"Cap Vert",CY:"Chypre",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",DO:"République Dominicaine",DZ:"Algérie",EE:"Estonie",ES:"Espagne",FI:"Finlande",FO:"Îles Féroé",FR:"France",GB:"Royaume Uni",GE:"Géorgie",GI:"Gibraltar",GL:"Groënland",GR:"Gréce",GT:"Guatemala",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IL:"Israël",IR:"Iran",IS:"Islande",IT:"Italie",JO:"Jordanie",KW:"Koweït",KZ:"Kazakhstan",LB:"Liban",LI:"Liechtenstein",LT:"Lithuanie",LU:"Luxembourg",LV:"Lettonie",MC:"Monaco",MD:"Moldavie",ME:"Monténégro",MG:"Madagascar",MK:"Macédoine",ML:"Mali",MR:"Mauritanie",MT:"Malte",MU:"Maurice",MZ:"Mozambique",NL:"Pays-Bas",NO:"Norvège",PK:"Pakistan",PL:"Pologne",PS:"Palestine",PT:"Portugal",QA:"Quatar",RO:"Roumanie",RS:"Serbie",SA:"Arabie Saoudite",SE:"Suède",SI:"Slovènie",SK:"Slovaquie",SM:"Saint-Marin",SN:"Sénégal",TL:"Timor oriental",TN:"Tunisie",TR:"Turquie",VG:"Îles Vierges britanniques",XK:"République du Kosovo"},country:"Veuillez fournir un code IBAN valide pour %s",default:"Veuillez fournir un code IBAN valide"},id:{countries:{BA:"Bosnie-Herzégovine",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CL:"Chili",CN:"Chine",CZ:"Tchèque",DK:"Danemark",EE:"Estonie",ES:"Espagne",FI:"Finlande",HR:"Croatie",IE:"Irlande",IS:"Islande",LT:"Lituanie",LV:"Lettonie",ME:"Monténégro",MK:"Macédoine",NL:"Pays-Bas",PL:"Pologne",RO:"Roumanie",RS:"Serbie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",SM:"Saint-Marin",TH:"Thaïlande",TR:"Turquie",ZA:"Afrique du Sud"},country:"Veuillez fournir un numéro d'identification valide pour %s",default:"Veuillez fournir un numéro d'identification valide"},identical:{default:"Veuillez fournir la même valeur"},imei:{default:"Veuillez fournir un code IMEI valide"},imo:{default:"Veuillez fournir un code IMO valide"},integer:{default:"Veuillez fournir un nombre valide"},ip:{default:"Veuillez fournir une adresse IP valide",ipv4:"Veuillez fournir une adresse IPv4 valide",ipv6:"Veuillez fournir une adresse IPv6 valide"},isbn:{default:"Veuillez fournir un code ISBN valide"},isin:{default:"Veuillez fournir un code ISIN valide"},ismn:{default:"Veuillez fournir un code ISMN valide"},issn:{default:"Veuillez fournir un code ISSN valide"},lessThan:{default:"Veuillez fournir une valeur inférieure ou égale à %s",notInclusive:"Veuillez fournir une valeur inférieure à %s"},mac:{default:"Veuillez fournir une adresse MAC valide"},meid:{default:"Veuillez fournir un code MEID valide"},notEmpty:{default:"Veuillez fournir une valeur"},numeric:{default:"Veuillez fournir une valeur décimale valide"},phone:{countries:{AE:"Émirats Arabes Unis",BG:"Bulgarie",BR:"Brésil",CN:"Chine",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IN:"Inde",MA:"Maroc",NL:"Pays-Bas",PK:"Pakistan",RO:"Roumanie",RU:"Russie",SK:"Slovaquie",TH:"Thaïlande",US:"USA",VE:"Venezuela"},country:"Veuillez fournir un numéro de téléphone valide pour %s",default:"Veuillez fournir un numéro de téléphone valide"},promise:{default:"Veuillez fournir une valeur valide"},regexp:{default:"Veuillez fournir une valeur correspondant au modèle"},remote:{default:"Veuillez fournir une valeur valide"},rtn:{default:"Veuillez fournir un code RTN valide"},sedol:{default:"Veuillez fournir a valid SEDOL number"},siren:{default:"Veuillez fournir un numéro SIREN valide"},siret:{default:"Veuillez fournir un numéro SIRET valide"},step:{default:"Veuillez fournir un écart valide de %s"},stringCase:{default:"Veuillez ne fournir que des caractères minuscules",upper:"Veuillez ne fournir que des caractères majuscules"},stringLength:{between:"Veuillez fournir entre %s et %s caractères",default:"Veuillez fournir une valeur de longueur valide",less:"Veuillez fournir moins de %s caractères",more:"Veuillez fournir plus de %s caractères"},uri:{default:"Veuillez fournir un URI valide"},uuid:{default:"Veuillez fournir un UUID valide",version:"Veuillez fournir un UUID version %s number"},vat:{countries:{AT:"Autriche",BE:"Belgique",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CY:"Chypre",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",EE:"Estonie",EL:"Grèce",ES:"Espagne",FI:"Finlande",FR:"France",GB:"Royaume-Uni",GR:"Grèce",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IS:"Islande",IT:"Italie",LT:"Lituanie",LU:"Luxembourg",LV:"Lettonie",MT:"Malte",NL:"Pays-Bas",NO:"Norvège",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RS:"Serbie",RU:"Russie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",VE:"Venezuela",ZA:"Afrique du Sud"},country:"Veuillez fournir un code VAT valide pour %s",default:"Veuillez fournir un code VAT valide"},vin:{default:"Veuillez fournir un code VIN valide"},zipCode:{countries:{AT:"Autriche",BG:"Bulgarie",BR:"Brésil",CA:"Canada",CH:"Suisse",CZ:"Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IE:"Irlande",IN:"Inde",IT:"Italie",MA:"Maroc",NL:"Pays-Bas",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RU:"Russie",SE:"Suède",SG:"Singapour",SK:"Slovaquie",US:"USA"},country:"Veuillez fournir un code postal valide pour %s",default:"Veuillez fournir un code postal valide"}};return fr_BE})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_FR.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_FR.js new file mode 100755 index 00000000..4cbd139e --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_FR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.fr_FR = factory())); +})(this, (function () { 'use strict'; + + /** + * French language package + * Translated by @dlucazeau. Updated by @neilime, @jazzzz + */ + + var fr_FR = { + base64: { + default: 'Veuillez fournir une donnée correctement encodée en Base64', + }, + between: { + default: 'Veuillez fournir une valeur comprise entre %s et %s', + notInclusive: 'Veuillez fournir une valeur strictement comprise entre %s et %s', + }, + bic: { + default: 'Veuillez fournir un code-barre BIC valide', + }, + callback: { + default: 'Veuillez fournir une valeur valide', + }, + choice: { + between: 'Veuillez choisir de %s à %s options', + default: 'Veuillez fournir une valeur valide', + less: 'Veuillez choisir au minimum %s options', + more: 'Veuillez choisir au maximum %s options', + }, + color: { + default: 'Veuillez fournir une couleur valide', + }, + creditCard: { + default: 'Veuillez fournir un numéro de carte de crédit valide', + }, + cusip: { + default: 'Veuillez fournir un code CUSIP valide', + }, + date: { + default: 'Veuillez fournir une date valide', + max: 'Veuillez fournir une date inférieure à %s', + min: 'Veuillez fournir une date supérieure à %s', + range: 'Veuillez fournir une date comprise entre %s et %s', + }, + different: { + default: 'Veuillez fournir une valeur différente', + }, + digits: { + default: 'Veuillez ne fournir que des chiffres', + }, + ean: { + default: 'Veuillez fournir un code-barre EAN valide', + }, + ein: { + default: 'Veuillez fournir un code-barre EIN valide', + }, + emailAddress: { + default: 'Veuillez fournir une adresse e-mail valide', + }, + file: { + default: 'Veuillez choisir un fichier valide', + }, + greaterThan: { + default: 'Veuillez fournir une valeur supérieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur supérieure à %s', + }, + grid: { + default: 'Veuillez fournir un code GRId valide', + }, + hex: { + default: 'Veuillez fournir un nombre hexadécimal valide', + }, + iban: { + countries: { + AD: 'Andorre', + AE: 'Émirats Arabes Unis', + AL: 'Albanie', + AO: 'Angola', + AT: 'Autriche', + AZ: 'Azerbaïdjan', + BA: 'Bosnie-Herzégovine', + BE: 'Belgique', + BF: 'Burkina Faso', + BG: 'Bulgarie', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Bénin', + BR: 'Brésil', + CH: 'Suisse', + CI: "Côte d'ivoire", + CM: 'Cameroun', + CR: 'Costa Rica', + CV: 'Cap Vert', + CY: 'Chypre', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + DO: 'République Dominicaine', + DZ: 'Algérie', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + FO: 'Îles Féroé', + FR: 'France', + GB: 'Royaume Uni', + GE: 'Géorgie', + GI: 'Gibraltar', + GL: 'Groënland', + GR: 'Gréce', + GT: 'Guatemala', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IL: 'Israël', + IR: 'Iran', + IS: 'Islande', + IT: 'Italie', + JO: 'Jordanie', + KW: 'Koweït', + KZ: 'Kazakhstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Lithuanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MC: 'Monaco', + MD: 'Moldavie', + ME: 'Monténégro', + MG: 'Madagascar', + MK: 'Macédoine', + ML: 'Mali', + MR: 'Mauritanie', + MT: 'Malte', + MU: 'Maurice', + MZ: 'Mozambique', + NL: 'Pays-Bas', + NO: 'Norvège', + PK: 'Pakistan', + PL: 'Pologne', + PS: 'Palestine', + PT: 'Portugal', + QA: 'Quatar', + RO: 'Roumanie', + RS: 'Serbie', + SA: 'Arabie Saoudite', + SE: 'Suède', + SI: 'Slovènie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + SN: 'Sénégal', + TL: 'Timor oriental', + TN: 'Tunisie', + TR: 'Turquie', + VG: 'Îles Vierges britanniques', + XK: 'République du Kosovo', + }, + country: 'Veuillez fournir un code IBAN valide pour %s', + default: 'Veuillez fournir un code IBAN valide', + }, + id: { + countries: { + BA: 'Bosnie-Herzégovine', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CL: 'Chili', + CN: 'Chine', + CZ: 'République Tchèque', + DK: 'Danemark', + EE: 'Estonie', + ES: 'Espagne', + FI: 'Finlande', + HR: 'Croatie', + IE: 'Irlande', + IS: 'Islande', + LT: 'Lituanie', + LV: 'Lettonie', + ME: 'Monténégro', + MK: 'Macédoine', + NL: 'Pays-Bas', + PL: 'Pologne', + RO: 'Roumanie', + RS: 'Serbie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + SM: 'Saint-Marin', + TH: 'Thaïlande', + TR: 'Turquie', + ZA: 'Afrique du Sud', + }, + country: "Veuillez fournir un numéro d'identification valide pour %s", + default: "Veuillez fournir un numéro d'identification valide", + }, + identical: { + default: 'Veuillez fournir la même valeur', + }, + imei: { + default: 'Veuillez fournir un code IMEI valide', + }, + imo: { + default: 'Veuillez fournir un code IMO valide', + }, + integer: { + default: 'Veuillez fournir un nombre valide', + }, + ip: { + default: 'Veuillez fournir une adresse IP valide', + ipv4: 'Veuillez fournir une adresse IPv4 valide', + ipv6: 'Veuillez fournir une adresse IPv6 valide', + }, + isbn: { + default: 'Veuillez fournir un code ISBN valide', + }, + isin: { + default: 'Veuillez fournir un code ISIN valide', + }, + ismn: { + default: 'Veuillez fournir un code ISMN valide', + }, + issn: { + default: 'Veuillez fournir un code ISSN valide', + }, + lessThan: { + default: 'Veuillez fournir une valeur inférieure ou égale à %s', + notInclusive: 'Veuillez fournir une valeur inférieure à %s', + }, + mac: { + default: 'Veuillez fournir une adresse MAC valide', + }, + meid: { + default: 'Veuillez fournir un code MEID valide', + }, + notEmpty: { + default: 'Veuillez fournir une valeur', + }, + numeric: { + default: 'Veuillez fournir une valeur décimale valide', + }, + phone: { + countries: { + AE: 'Émirats Arabes Unis', + BG: 'Bulgarie', + BR: 'Brésil', + CN: 'Chine', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IN: 'Inde', + MA: 'Maroc', + NL: 'Pays-Bas', + PK: 'Pakistan', + RO: 'Roumanie', + RU: 'Russie', + SK: 'Slovaquie', + TH: 'Thaïlande', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Veuillez fournir un numéro de téléphone valide pour %s', + default: 'Veuillez fournir un numéro de téléphone valide', + }, + promise: { + default: 'Veuillez fournir une valeur valide', + }, + regexp: { + default: 'Veuillez fournir une valeur correspondant au modèle', + }, + remote: { + default: 'Veuillez fournir une valeur valide', + }, + rtn: { + default: 'Veuillez fournir un code RTN valide', + }, + sedol: { + default: 'Veuillez fournir a valid SEDOL number', + }, + siren: { + default: 'Veuillez fournir un numéro SIREN valide', + }, + siret: { + default: 'Veuillez fournir un numéro SIRET valide', + }, + step: { + default: 'Veuillez fournir un écart valide de %s', + }, + stringCase: { + default: 'Veuillez ne fournir que des caractères minuscules', + upper: 'Veuillez ne fournir que des caractères majuscules', + }, + stringLength: { + between: 'Veuillez fournir entre %s et %s caractères', + default: 'Veuillez fournir une valeur de longueur valide', + less: 'Veuillez fournir moins de %s caractères', + more: 'Veuillez fournir plus de %s caractères', + }, + uri: { + default: 'Veuillez fournir un URI valide', + }, + uuid: { + default: 'Veuillez fournir un UUID valide', + version: 'Veuillez fournir un UUID version %s number', + }, + vat: { + countries: { + AT: 'Autriche', + BE: 'Belgique', + BG: 'Bulgarie', + BR: 'Brésil', + CH: 'Suisse', + CY: 'Chypre', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + EE: 'Estonie', + EL: 'Grèce', + ES: 'Espagne', + FI: 'Finlande', + FR: 'France', + GB: 'Royaume-Uni', + GR: 'Grèce', + HR: 'Croatie', + HU: 'Hongrie', + IE: 'Irlande', + IS: 'Islande', + IT: 'Italie', + LT: 'Lituanie', + LU: 'Luxembourg', + LV: 'Lettonie', + MT: 'Malte', + NL: 'Pays-Bas', + NO: 'Norvège', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RS: 'Serbie', + RU: 'Russie', + SE: 'Suède', + SI: 'Slovénie', + SK: 'Slovaquie', + VE: 'Venezuela', + ZA: 'Afrique du Sud', + }, + country: 'Veuillez fournir un code VAT valide pour %s', + default: 'Veuillez fournir un code VAT valide', + }, + vin: { + default: 'Veuillez fournir un code VIN valide', + }, + zipCode: { + countries: { + AT: 'Autriche', + BG: 'Bulgarie', + BR: 'Brésil', + CA: 'Canada', + CH: 'Suisse', + CZ: 'République Tchèque', + DE: 'Allemagne', + DK: 'Danemark', + ES: 'Espagne', + FR: 'France', + GB: 'Royaume-Uni', + IE: 'Irlande', + IN: 'Inde', + IT: 'Italie', + MA: 'Maroc', + NL: 'Pays-Bas', + PL: 'Pologne', + PT: 'Portugal', + RO: 'Roumanie', + RU: 'Russie', + SE: 'Suède', + SG: 'Singapour', + SK: 'Slovaquie', + US: 'USA', + }, + country: 'Veuillez fournir un code postal valide pour %s', + default: 'Veuillez fournir un code postal valide', + }, + }; + + return fr_FR; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_FR.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_FR.min.js new file mode 100755 index 00000000..2d30200b --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/fr_FR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.fr_FR=factory())})(this,(function(){"use strict";var fr_FR={base64:{default:"Veuillez fournir une donnée correctement encodée en Base64"},between:{default:"Veuillez fournir une valeur comprise entre %s et %s",notInclusive:"Veuillez fournir une valeur strictement comprise entre %s et %s"},bic:{default:"Veuillez fournir un code-barre BIC valide"},callback:{default:"Veuillez fournir une valeur valide"},choice:{between:"Veuillez choisir de %s à %s options",default:"Veuillez fournir une valeur valide",less:"Veuillez choisir au minimum %s options",more:"Veuillez choisir au maximum %s options"},color:{default:"Veuillez fournir une couleur valide"},creditCard:{default:"Veuillez fournir un numéro de carte de crédit valide"},cusip:{default:"Veuillez fournir un code CUSIP valide"},date:{default:"Veuillez fournir une date valide",max:"Veuillez fournir une date inférieure à %s",min:"Veuillez fournir une date supérieure à %s",range:"Veuillez fournir une date comprise entre %s et %s"},different:{default:"Veuillez fournir une valeur différente"},digits:{default:"Veuillez ne fournir que des chiffres"},ean:{default:"Veuillez fournir un code-barre EAN valide"},ein:{default:"Veuillez fournir un code-barre EIN valide"},emailAddress:{default:"Veuillez fournir une adresse e-mail valide"},file:{default:"Veuillez choisir un fichier valide"},greaterThan:{default:"Veuillez fournir une valeur supérieure ou égale à %s",notInclusive:"Veuillez fournir une valeur supérieure à %s"},grid:{default:"Veuillez fournir un code GRId valide"},hex:{default:"Veuillez fournir un nombre hexadécimal valide"},iban:{countries:{AD:"Andorre",AE:"Émirats Arabes Unis",AL:"Albanie",AO:"Angola",AT:"Autriche",AZ:"Azerbaïdjan",BA:"Bosnie-Herzégovine",BE:"Belgique",BF:"Burkina Faso",BG:"Bulgarie",BH:"Bahrein",BI:"Burundi",BJ:"Bénin",BR:"Brésil",CH:"Suisse",CI:"Côte d'ivoire",CM:"Cameroun",CR:"Costa Rica",CV:"Cap Vert",CY:"Chypre",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",DO:"République Dominicaine",DZ:"Algérie",EE:"Estonie",ES:"Espagne",FI:"Finlande",FO:"Îles Féroé",FR:"France",GB:"Royaume Uni",GE:"Géorgie",GI:"Gibraltar",GL:"Groënland",GR:"Gréce",GT:"Guatemala",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IL:"Israël",IR:"Iran",IS:"Islande",IT:"Italie",JO:"Jordanie",KW:"Koweït",KZ:"Kazakhstan",LB:"Liban",LI:"Liechtenstein",LT:"Lithuanie",LU:"Luxembourg",LV:"Lettonie",MC:"Monaco",MD:"Moldavie",ME:"Monténégro",MG:"Madagascar",MK:"Macédoine",ML:"Mali",MR:"Mauritanie",MT:"Malte",MU:"Maurice",MZ:"Mozambique",NL:"Pays-Bas",NO:"Norvège",PK:"Pakistan",PL:"Pologne",PS:"Palestine",PT:"Portugal",QA:"Quatar",RO:"Roumanie",RS:"Serbie",SA:"Arabie Saoudite",SE:"Suède",SI:"Slovènie",SK:"Slovaquie",SM:"Saint-Marin",SN:"Sénégal",TL:"Timor oriental",TN:"Tunisie",TR:"Turquie",VG:"Îles Vierges britanniques",XK:"République du Kosovo"},country:"Veuillez fournir un code IBAN valide pour %s",default:"Veuillez fournir un code IBAN valide"},id:{countries:{BA:"Bosnie-Herzégovine",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CL:"Chili",CN:"Chine",CZ:"République Tchèque",DK:"Danemark",EE:"Estonie",ES:"Espagne",FI:"Finlande",HR:"Croatie",IE:"Irlande",IS:"Islande",LT:"Lituanie",LV:"Lettonie",ME:"Monténégro",MK:"Macédoine",NL:"Pays-Bas",PL:"Pologne",RO:"Roumanie",RS:"Serbie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",SM:"Saint-Marin",TH:"Thaïlande",TR:"Turquie",ZA:"Afrique du Sud"},country:"Veuillez fournir un numéro d'identification valide pour %s",default:"Veuillez fournir un numéro d'identification valide"},identical:{default:"Veuillez fournir la même valeur"},imei:{default:"Veuillez fournir un code IMEI valide"},imo:{default:"Veuillez fournir un code IMO valide"},integer:{default:"Veuillez fournir un nombre valide"},ip:{default:"Veuillez fournir une adresse IP valide",ipv4:"Veuillez fournir une adresse IPv4 valide",ipv6:"Veuillez fournir une adresse IPv6 valide"},isbn:{default:"Veuillez fournir un code ISBN valide"},isin:{default:"Veuillez fournir un code ISIN valide"},ismn:{default:"Veuillez fournir un code ISMN valide"},issn:{default:"Veuillez fournir un code ISSN valide"},lessThan:{default:"Veuillez fournir une valeur inférieure ou égale à %s",notInclusive:"Veuillez fournir une valeur inférieure à %s"},mac:{default:"Veuillez fournir une adresse MAC valide"},meid:{default:"Veuillez fournir un code MEID valide"},notEmpty:{default:"Veuillez fournir une valeur"},numeric:{default:"Veuillez fournir une valeur décimale valide"},phone:{countries:{AE:"Émirats Arabes Unis",BG:"Bulgarie",BR:"Brésil",CN:"Chine",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IN:"Inde",MA:"Maroc",NL:"Pays-Bas",PK:"Pakistan",RO:"Roumanie",RU:"Russie",SK:"Slovaquie",TH:"Thaïlande",US:"USA",VE:"Venezuela"},country:"Veuillez fournir un numéro de téléphone valide pour %s",default:"Veuillez fournir un numéro de téléphone valide"},promise:{default:"Veuillez fournir une valeur valide"},regexp:{default:"Veuillez fournir une valeur correspondant au modèle"},remote:{default:"Veuillez fournir une valeur valide"},rtn:{default:"Veuillez fournir un code RTN valide"},sedol:{default:"Veuillez fournir a valid SEDOL number"},siren:{default:"Veuillez fournir un numéro SIREN valide"},siret:{default:"Veuillez fournir un numéro SIRET valide"},step:{default:"Veuillez fournir un écart valide de %s"},stringCase:{default:"Veuillez ne fournir que des caractères minuscules",upper:"Veuillez ne fournir que des caractères majuscules"},stringLength:{between:"Veuillez fournir entre %s et %s caractères",default:"Veuillez fournir une valeur de longueur valide",less:"Veuillez fournir moins de %s caractères",more:"Veuillez fournir plus de %s caractères"},uri:{default:"Veuillez fournir un URI valide"},uuid:{default:"Veuillez fournir un UUID valide",version:"Veuillez fournir un UUID version %s number"},vat:{countries:{AT:"Autriche",BE:"Belgique",BG:"Bulgarie",BR:"Brésil",CH:"Suisse",CY:"Chypre",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",EE:"Estonie",EL:"Grèce",ES:"Espagne",FI:"Finlande",FR:"France",GB:"Royaume-Uni",GR:"Grèce",HR:"Croatie",HU:"Hongrie",IE:"Irlande",IS:"Islande",IT:"Italie",LT:"Lituanie",LU:"Luxembourg",LV:"Lettonie",MT:"Malte",NL:"Pays-Bas",NO:"Norvège",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RS:"Serbie",RU:"Russie",SE:"Suède",SI:"Slovénie",SK:"Slovaquie",VE:"Venezuela",ZA:"Afrique du Sud"},country:"Veuillez fournir un code VAT valide pour %s",default:"Veuillez fournir un code VAT valide"},vin:{default:"Veuillez fournir un code VIN valide"},zipCode:{countries:{AT:"Autriche",BG:"Bulgarie",BR:"Brésil",CA:"Canada",CH:"Suisse",CZ:"République Tchèque",DE:"Allemagne",DK:"Danemark",ES:"Espagne",FR:"France",GB:"Royaume-Uni",IE:"Irlande",IN:"Inde",IT:"Italie",MA:"Maroc",NL:"Pays-Bas",PL:"Pologne",PT:"Portugal",RO:"Roumanie",RU:"Russie",SE:"Suède",SG:"Singapour",SK:"Slovaquie",US:"USA"},country:"Veuillez fournir un code postal valide pour %s",default:"Veuillez fournir un code postal valide"}};return fr_FR})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/he_IL.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/he_IL.js new file mode 100755 index 00000000..41e95d33 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/he_IL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.he_IL = factory())); +})(this, (function () { 'use strict'; + + /** + * Hebrew language package + * Translated by @yakidahan + */ + + var he_IL = { + base64: { + default: 'נא להזין ערך המקודד בבסיס 64', + }, + between: { + default: 'נא להזין ערך בין %s ל-%s', + notInclusive: 'נא להזין ערך בין %s ל-%s בדיוק', + }, + bic: { + default: 'נא להזין מספר BIC תקין', + }, + callback: { + default: 'נא להזין ערך תקין', + }, + choice: { + between: 'נא לבחור %s-%s אפשרויות', + default: 'נא להזין ערך תקין', + less: 'נא לבחור מינימום %s אפשרויות', + more: 'נא לבחור מקסימום %s אפשרויות', + }, + color: { + default: 'נא להזין קוד צבע תקין', + }, + creditCard: { + default: 'נא להזין מספר כרטיס אשראי תקין', + }, + cusip: { + default: 'נא להזין מספר CUSIP תקין', + }, + date: { + default: 'נא להזין תאריך תקין', + max: 'נא להזין תאריך לפני %s', + min: 'נא להזין תאריך אחרי %s', + range: 'נא להזין תאריך בטווח %s - %s', + }, + different: { + default: 'נא להזין ערך שונה', + }, + digits: { + default: 'נא להזין ספרות בלבד', + }, + ean: { + default: 'נא להזין מספר EAN תקין', + }, + ein: { + default: 'נא להזין מספר EIN תקין', + }, + emailAddress: { + default: 'נא להזין כתובת דוא"ל תקינה', + }, + file: { + default: 'נא לבחור קובץ חוקי', + }, + greaterThan: { + default: 'נא להזין ערך גדול או שווה ל-%s', + notInclusive: 'נא להזין ערך גדול מ-%s', + }, + grid: { + default: 'נא להזין מספר GRId תקין', + }, + hex: { + default: 'נא להזין מספר הקסדצימלי תקין', + }, + iban: { + countries: { + AD: 'אנדורה', + AE: 'איחוד האמירויות הערבי', + AL: 'אלבניה', + AO: 'אנגולה', + AT: 'אוסטריה', + AZ: 'אזרבייגאן', + BA: 'בוסניה והרצגובינה', + BE: 'בלגיה', + BF: 'בורקינה פאסו', + BG: 'בולגריה', + BH: 'בחריין', + BI: 'בורונדי', + BJ: 'בנין', + BR: 'ברזיל', + CH: 'שווייץ', + CI: 'חוף השנהב', + CM: 'קמרון', + CR: 'קוסטה ריקה', + CV: 'קייפ ורדה', + CY: 'קפריסין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + DO: 'דומיניקה', + DZ: 'אלגיריה', + EE: 'אסטוניה', + ES: 'ספרד', + FI: 'פינלנד', + FO: 'איי פארו', + FR: 'צרפת', + GB: 'בריטניה', + GE: 'גאורגיה', + GI: 'גיברלטר', + GL: 'גרינלנד', + GR: 'יוון', + GT: 'גואטמלה', + HR: 'קרואטיה', + HU: 'הונגריה', + IE: 'אירלנד', + IL: 'ישראל', + IR: 'איראן', + IS: 'איסלנד', + IT: 'איטליה', + JO: 'ירדן', + KW: 'כווית', + KZ: 'קזחסטן', + LB: 'לבנון', + LI: 'ליכטנשטיין', + LT: 'ליטא', + LU: 'לוקסמבורג', + LV: 'לטביה', + MC: 'מונקו', + MD: 'מולדובה', + ME: 'מונטנגרו', + MG: 'מדגסקר', + MK: 'מקדוניה', + ML: 'מאלי', + MR: 'מאוריטניה', + MT: 'מלטה', + MU: 'מאוריציוס', + MZ: 'מוזמביק', + NL: 'הולנד', + NO: 'נורווגיה', + PK: 'פקיסטן', + PL: 'פולין', + PS: 'פלסטין', + PT: 'פורטוגל', + QA: 'קטאר', + RO: 'רומניה', + RS: 'סרביה', + SA: 'ערב הסעודית', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + SM: 'סן מרינו', + SN: 'סנגל', + TL: 'מזרח טימור', + TN: 'תוניסיה', + TR: 'טורקיה', + VG: 'איי הבתולה, בריטניה', + XK: 'רפובליקה של קוסובו', + }, + country: 'נא להזין מספר IBAN תקני ב%s', + default: 'נא להזין מספר IBAN תקין', + }, + id: { + countries: { + BA: 'בוסניה והרצגובינה', + BG: 'בולגריה', + BR: 'ברזיל', + CH: 'שווייץ', + CL: 'צילה', + CN: 'סין', + CZ: 'צכיה', + DK: 'דנמרק', + EE: 'אסטוניה', + ES: 'ספרד', + FI: 'פינלנד', + HR: 'קרואטיה', + IE: 'אירלנד', + IS: 'איסלנד', + LT: 'ליטא', + LV: 'לטביה', + ME: 'מונטנגרו', + MK: 'מקדוניה', + NL: 'הולנד', + PL: 'פולין', + RO: 'רומניה', + RS: 'סרביה', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + SM: 'סן מרינו', + TH: 'תאילנד', + TR: 'טורקיה', + ZA: 'דרום אפריקה', + }, + country: 'נא להזין מספר זהות תקני ב%s', + default: 'נא להזין מספר זהות תקין', + }, + identical: { + default: 'נא להזין את הערך שנית', + }, + imei: { + default: 'נא להזין מספר IMEI תקין', + }, + imo: { + default: 'נא להזין מספר IMO תקין', + }, + integer: { + default: 'נא להזין מספר תקין', + }, + ip: { + default: 'נא להזין כתובת IP תקינה', + ipv4: 'נא להזין כתובת IPv4 תקינה', + ipv6: 'נא להזין כתובת IPv6 תקינה', + }, + isbn: { + default: 'נא להזין מספר ISBN תקין', + }, + isin: { + default: 'נא להזין מספר ISIN תקין', + }, + ismn: { + default: 'נא להזין מספר ISMN תקין', + }, + issn: { + default: 'נא להזין מספר ISSN תקין', + }, + lessThan: { + default: 'נא להזין ערך קטן או שווה ל-%s', + notInclusive: 'נא להזין ערך קטן מ-%s', + }, + mac: { + default: 'נא להזין מספר MAC תקין', + }, + meid: { + default: 'נא להזין מספר MEID תקין', + }, + notEmpty: { + default: 'נא להזין ערך', + }, + numeric: { + default: 'נא להזין מספר עשרוני חוקי', + }, + phone: { + countries: { + AE: 'איחוד האמירויות הערבי', + BG: 'בולגריה', + BR: 'ברזיל', + CN: 'סין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + ES: 'ספרד', + FR: 'צרפת', + GB: 'בריטניה', + IN: 'הודו', + MA: 'מרוקו', + NL: 'הולנד', + PK: 'פקיסטן', + RO: 'רומניה', + RU: 'רוסיה', + SK: 'סלובקיה', + TH: 'תאילנד', + US: 'ארצות הברית', + VE: 'ונצואלה', + }, + country: 'נא להזין מספר טלפון תקין ב%s', + default: 'נא להין מספר טלפון תקין', + }, + promise: { + default: 'נא להזין ערך תקין', + }, + regexp: { + default: 'נא להזין ערך תואם לתבנית', + }, + remote: { + default: 'נא להזין ערך תקין', + }, + rtn: { + default: 'נא להזין מספר RTN תקין', + }, + sedol: { + default: 'נא להזין מספר SEDOL תקין', + }, + siren: { + default: 'נא להזין מספר SIREN תקין', + }, + siret: { + default: 'נא להזין מספר SIRET תקין', + }, + step: { + default: 'נא להזין שלב תקין מתוך %s', + }, + stringCase: { + default: 'נא להזין אותיות קטנות בלבד', + upper: 'נא להזין אותיות גדולות בלבד', + }, + stringLength: { + between: 'נא להזין ערך בין %s עד %s תווים', + default: 'נא להזין ערך באורך חוקי', + less: 'נא להזין ערך קטן מ-%s תווים', + more: 'נא להזין ערך גדול מ- %s תווים', + }, + uri: { + default: 'נא להזין URI תקין', + }, + uuid: { + default: 'נא להזין מספר UUID תקין', + version: 'נא להזין מספר UUID גרסה %s תקין', + }, + vat: { + countries: { + AT: 'אוסטריה', + BE: 'בלגיה', + BG: 'בולגריה', + BR: 'ברזיל', + CH: 'שווייץ', + CY: 'קפריסין', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + EE: 'אסטוניה', + EL: 'יוון', + ES: 'ספרד', + FI: 'פינלנד', + FR: 'צרפת', + GB: 'בריטניה', + GR: 'יוון', + HR: 'קרואטיה', + HU: 'הונגריה', + IE: 'אירלנד', + IS: 'איסלנד', + IT: 'איטליה', + LT: 'ליטא', + LU: 'לוקסמבורג', + LV: 'לטביה', + MT: 'מלטה', + NL: 'הולנד', + NO: 'נורווגיה', + PL: 'פולין', + PT: 'פורטוגל', + RO: 'רומניה', + RS: 'סרביה', + RU: 'רוסיה', + SE: 'שוודיה', + SI: 'סלובניה', + SK: 'סלובקיה', + VE: 'ונצואלה', + ZA: 'דרום אפריקה', + }, + country: 'נא להזין מספר VAT תקין ב%s', + default: 'נא להזין מספר VAT תקין', + }, + vin: { + default: 'נא להזין מספר VIN תקין', + }, + zipCode: { + countries: { + AT: 'אוסטריה', + BG: 'בולגריה', + BR: 'ברזיל', + CA: 'קנדה', + CH: 'שווייץ', + CZ: 'צכיה', + DE: 'גרמניה', + DK: 'דנמרק', + ES: 'ספרד', + FR: 'צרפת', + GB: 'בריטניה', + IE: 'אירלנד', + IN: 'הודו', + IT: 'איטליה', + MA: 'מרוקו', + NL: 'הולנד', + PL: 'פולין', + PT: 'פורטוגל', + RO: 'רומניה', + RU: 'רוסיה', + SE: 'שוודיה', + SG: 'סינגפור', + SK: 'סלובקיה', + US: 'ארצות הברית', + }, + country: 'נא להזין מיקוד תקין ב%s', + default: 'נא להזין מיקוד תקין', + }, + }; + + return he_IL; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/he_IL.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/he_IL.min.js new file mode 100755 index 00000000..dc690384 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/he_IL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.he_IL=factory())})(this,(function(){"use strict";var he_IL={base64:{default:"נא להזין ערך המקודד בבסיס 64"},between:{default:"נא להזין ערך בין %s ל-%s",notInclusive:"נא להזין ערך בין %s ל-%s בדיוק"},bic:{default:"נא להזין מספר BIC תקין"},callback:{default:"נא להזין ערך תקין"},choice:{between:"נא לבחור %s-%s אפשרויות",default:"נא להזין ערך תקין",less:"נא לבחור מינימום %s אפשרויות",more:"נא לבחור מקסימום %s אפשרויות"},color:{default:"נא להזין קוד צבע תקין"},creditCard:{default:"נא להזין מספר כרטיס אשראי תקין"},cusip:{default:"נא להזין מספר CUSIP תקין"},date:{default:"נא להזין תאריך תקין",max:"נא להזין תאריך לפני %s",min:"נא להזין תאריך אחרי %s",range:"נא להזין תאריך בטווח %s - %s"},different:{default:"נא להזין ערך שונה"},digits:{default:"נא להזין ספרות בלבד"},ean:{default:"נא להזין מספר EAN תקין"},ein:{default:"נא להזין מספר EIN תקין"},emailAddress:{default:'נא להזין כתובת דוא"ל תקינה'},file:{default:"נא לבחור קובץ חוקי"},greaterThan:{default:"נא להזין ערך גדול או שווה ל-%s",notInclusive:"נא להזין ערך גדול מ-%s"},grid:{default:"נא להזין מספר GRId תקין"},hex:{default:"נא להזין מספר הקסדצימלי תקין"},iban:{countries:{AD:"אנדורה",AE:"איחוד האמירויות הערבי",AL:"אלבניה",AO:"אנגולה",AT:"אוסטריה",AZ:"אזרבייגאן",BA:"בוסניה והרצגובינה",BE:"בלגיה",BF:"בורקינה פאסו",BG:"בולגריה",BH:"בחריין",BI:"בורונדי",BJ:"בנין",BR:"ברזיל",CH:"שווייץ",CI:"חוף השנהב",CM:"קמרון",CR:"קוסטה ריקה",CV:"קייפ ורדה",CY:"קפריסין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",DO:"דומיניקה",DZ:"אלגיריה",EE:"אסטוניה",ES:"ספרד",FI:"פינלנד",FO:"איי פארו",FR:"צרפת",GB:"בריטניה",GE:"גאורגיה",GI:"גיברלטר",GL:"גרינלנד",GR:"יוון",GT:"גואטמלה",HR:"קרואטיה",HU:"הונגריה",IE:"אירלנד",IL:"ישראל",IR:"איראן",IS:"איסלנד",IT:"איטליה",JO:"ירדן",KW:"כווית",KZ:"קזחסטן",LB:"לבנון",LI:"ליכטנשטיין",LT:"ליטא",LU:"לוקסמבורג",LV:"לטביה",MC:"מונקו",MD:"מולדובה",ME:"מונטנגרו",MG:"מדגסקר",MK:"מקדוניה",ML:"מאלי",MR:"מאוריטניה",MT:"מלטה",MU:"מאוריציוס",MZ:"מוזמביק",NL:"הולנד",NO:"נורווגיה",PK:"פקיסטן",PL:"פולין",PS:"פלסטין",PT:"פורטוגל",QA:"קטאר",RO:"רומניה",RS:"סרביה",SA:"ערב הסעודית",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",SM:"סן מרינו",SN:"סנגל",TL:"מזרח טימור",TN:"תוניסיה",TR:"טורקיה",VG:"איי הבתולה, בריטניה",XK:"רפובליקה של קוסובו"},country:"נא להזין מספר IBAN תקני ב%s",default:"נא להזין מספר IBAN תקין"},id:{countries:{BA:"בוסניה והרצגובינה",BG:"בולגריה",BR:"ברזיל",CH:"שווייץ",CL:"צילה",CN:"סין",CZ:"צכיה",DK:"דנמרק",EE:"אסטוניה",ES:"ספרד",FI:"פינלנד",HR:"קרואטיה",IE:"אירלנד",IS:"איסלנד",LT:"ליטא",LV:"לטביה",ME:"מונטנגרו",MK:"מקדוניה",NL:"הולנד",PL:"פולין",RO:"רומניה",RS:"סרביה",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",SM:"סן מרינו",TH:"תאילנד",TR:"טורקיה",ZA:"דרום אפריקה"},country:"נא להזין מספר זהות תקני ב%s",default:"נא להזין מספר זהות תקין"},identical:{default:"נא להזין את הערך שנית"},imei:{default:"נא להזין מספר IMEI תקין"},imo:{default:"נא להזין מספר IMO תקין"},integer:{default:"נא להזין מספר תקין"},ip:{default:"נא להזין כתובת IP תקינה",ipv4:"נא להזין כתובת IPv4 תקינה",ipv6:"נא להזין כתובת IPv6 תקינה"},isbn:{default:"נא להזין מספר ISBN תקין"},isin:{default:"נא להזין מספר ISIN תקין"},ismn:{default:"נא להזין מספר ISMN תקין"},issn:{default:"נא להזין מספר ISSN תקין"},lessThan:{default:"נא להזין ערך קטן או שווה ל-%s",notInclusive:"נא להזין ערך קטן מ-%s"},mac:{default:"נא להזין מספר MAC תקין"},meid:{default:"נא להזין מספר MEID תקין"},notEmpty:{default:"נא להזין ערך"},numeric:{default:"נא להזין מספר עשרוני חוקי"},phone:{countries:{AE:"איחוד האמירויות הערבי",BG:"בולגריה",BR:"ברזיל",CN:"סין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",ES:"ספרד",FR:"צרפת",GB:"בריטניה",IN:"הודו",MA:"מרוקו",NL:"הולנד",PK:"פקיסטן",RO:"רומניה",RU:"רוסיה",SK:"סלובקיה",TH:"תאילנד",US:"ארצות הברית",VE:"ונצואלה"},country:"נא להזין מספר טלפון תקין ב%s",default:"נא להין מספר טלפון תקין"},promise:{default:"נא להזין ערך תקין"},regexp:{default:"נא להזין ערך תואם לתבנית"},remote:{default:"נא להזין ערך תקין"},rtn:{default:"נא להזין מספר RTN תקין"},sedol:{default:"נא להזין מספר SEDOL תקין"},siren:{default:"נא להזין מספר SIREN תקין"},siret:{default:"נא להזין מספר SIRET תקין"},step:{default:"נא להזין שלב תקין מתוך %s"},stringCase:{default:"נא להזין אותיות קטנות בלבד",upper:"נא להזין אותיות גדולות בלבד"},stringLength:{between:"נא להזין ערך בין %s עד %s תווים",default:"נא להזין ערך באורך חוקי",less:"נא להזין ערך קטן מ-%s תווים",more:"נא להזין ערך גדול מ- %s תווים"},uri:{default:"נא להזין URI תקין"},uuid:{default:"נא להזין מספר UUID תקין",version:"נא להזין מספר UUID גרסה %s תקין"},vat:{countries:{AT:"אוסטריה",BE:"בלגיה",BG:"בולגריה",BR:"ברזיל",CH:"שווייץ",CY:"קפריסין",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",EE:"אסטוניה",EL:"יוון",ES:"ספרד",FI:"פינלנד",FR:"צרפת",GB:"בריטניה",GR:"יוון",HR:"קרואטיה",HU:"הונגריה",IE:"אירלנד",IS:"איסלנד",IT:"איטליה",LT:"ליטא",LU:"לוקסמבורג",LV:"לטביה",MT:"מלטה",NL:"הולנד",NO:"נורווגיה",PL:"פולין",PT:"פורטוגל",RO:"רומניה",RS:"סרביה",RU:"רוסיה",SE:"שוודיה",SI:"סלובניה",SK:"סלובקיה",VE:"ונצואלה",ZA:"דרום אפריקה"},country:"נא להזין מספר VAT תקין ב%s",default:"נא להזין מספר VAT תקין"},vin:{default:"נא להזין מספר VIN תקין"},zipCode:{countries:{AT:"אוסטריה",BG:"בולגריה",BR:"ברזיל",CA:"קנדה",CH:"שווייץ",CZ:"צכיה",DE:"גרמניה",DK:"דנמרק",ES:"ספרד",FR:"צרפת",GB:"בריטניה",IE:"אירלנד",IN:"הודו",IT:"איטליה",MA:"מרוקו",NL:"הולנד",PL:"פולין",PT:"פורטוגל",RO:"רומניה",RU:"רוסיה",SE:"שוודיה",SG:"סינגפור",SK:"סלובקיה",US:"ארצות הברית"},country:"נא להזין מיקוד תקין ב%s",default:"נא להזין מיקוד תקין"}};return he_IL})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hi_IN.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hi_IN.js new file mode 100755 index 00000000..8c34bf58 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hi_IN.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.hi_IN = factory())); +})(this, (function () { 'use strict'; + + /** + * Hindi (India) language package + * Translated by @gladiatorAsh + */ + + var hi_IN = { + base64: { + default: 'कृपया एक वैध 64 इनकोडिंग मूल्यांक प्रविष्ट करें', + }, + between: { + default: 'कृपया %s और %s के बीच एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया सिर्फ़ %s और %s के बीच मूल्यांक प्रविष्ट करें', + }, + bic: { + default: 'कृपया एक वैध BIC संख्या प्रविष्ट करें', + }, + callback: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + choice: { + between: 'कृपया %s और %s के बीच विकल्पों का चयन करें', + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + less: 'कृपया कम से कम %s विकल्पों का चयन करें', + more: 'कृपया अधिकतम %s विकल्पों का चयन करें', + }, + color: { + default: 'कृपया एक वैध रंग प्रविष्ट करें', + }, + creditCard: { + default: 'कृपया एक वैध क्रेडिट कार्ड संख्या प्रविष्ट करें', + }, + cusip: { + default: 'कृपया एक वैध CUSIP संख्या प्रविष्ट करें', + }, + date: { + default: 'कृपया एक वैध दिनांक प्रविष्ट करें', + max: 'कृपया %s के पहले एक वैध दिनांक प्रविष्ट करें', + min: 'कृपया %s के बाद एक वैध दिनांक प्रविष्ट करें', + range: 'कृपया %s से %s के बीच एक वैध दिनांक प्रविष्ट करें', + }, + different: { + default: 'कृपया एक अलग मूल्यांक प्रविष्ट करें', + }, + digits: { + default: 'कृपया केवल अंक प्रविष्ट करें', + }, + ean: { + default: 'कृपया एक वैध EAN संख्या प्रविष्ट करें', + }, + ein: { + default: 'कृपया एक वैध EIN संख्या प्रविष्ट करें', + }, + emailAddress: { + default: 'कृपया एक वैध ईमेल पता प्रविष्ट करें', + }, + file: { + default: 'कृपया एक वैध फ़ाइल का चयन करें', + }, + greaterThan: { + default: 'कृपया %s से अधिक या बराबर एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया %s से अधिक एक मूल्यांक प्रविष्ट करें', + }, + grid: { + default: 'कृपया एक वैध GRID संख्या प्रविष्ट करें', + }, + hex: { + default: 'कृपया एक वैध हेक्साडेसिमल संख्या प्रविष्ट करें', + }, + iban: { + countries: { + AD: 'अंडोरा', + AE: 'संयुक्त अरब अमीरात', + AL: 'अल्बानिया', + AO: 'अंगोला', + AT: 'ऑस्ट्रिया', + AZ: 'अज़रबैजान', + BA: 'बोस्निया और हर्जेगोविना', + BE: 'बेल्जियम', + BF: 'बुर्किना फासो', + BG: 'बुल्गारिया', + BH: 'बहरीन', + BI: 'बुस्र्न्दी', + BJ: 'बेनिन', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CI: 'आइवरी कोस्ट', + CM: 'कैमरून', + CR: 'कोस्टा रिका', + CV: 'केप वर्डे', + CY: 'साइप्रस', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + DO: 'डोमिनिकन गणराज्य', + DZ: 'एलजीरिया', + EE: 'एस्तोनिया', + ES: 'स्पेन', + FI: 'फिनलैंड', + FO: 'फरो आइलैंड्स', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + GE: 'जॉर्जिया', + GI: 'जिब्राल्टर', + GL: 'ग्रीनलैंड', + GR: 'ग्रीस', + GT: 'ग्वाटेमाला', + HR: 'क्रोएशिया', + HU: 'हंगरी', + IE: 'आयरलैंड', + IL: 'इज़राइल', + IR: 'ईरान', + IS: 'आइसलैंड', + IT: 'इटली', + JO: 'जॉर्डन', + KW: 'कुवैत', + KZ: 'कजाखस्तान', + LB: 'लेबनान', + LI: 'लिकटेंस्टीन', + LT: 'लिथुआनिया', + LU: 'लक्समबर्ग', + LV: 'लाटविया', + MC: 'मोनाको', + MD: 'माल्डोवा', + ME: 'मॉन्टेंगरो', + MG: 'मेडागास्कर', + MK: 'मैसेडोनिया', + ML: 'माली', + MR: 'मॉरिटानिया', + MT: 'माल्टा', + MU: 'मॉरीशस', + MZ: 'मोज़ाम्बिक', + NL: 'नीदरलैंड', + NO: 'नॉर्वे', + PK: 'पाकिस्तान', + PL: 'पोलैंड', + PS: 'फिलिस्तीन', + PT: 'पुर्तगाल', + QA: 'क़तर', + RO: 'रोमानिया', + RS: 'सर्बिया', + SA: 'सऊदी अरब', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + SM: 'सैन मैरिनो', + SN: 'सेनेगल', + TL: 'पूर्वी तिमोर', + TN: 'ट्यूनीशिया', + TR: 'तुर्की', + VG: 'वर्जिन आइलैंड्स, ब्रिटिश', + XK: 'कोसोवो गणराज्य', + }, + country: 'कृपया %s में एक वैध IBAN संख्या प्रविष्ट करें', + default: 'कृपया एक वैध IBAN संख्या प्रविष्ट करें', + }, + id: { + countries: { + BA: 'बोस्निया और हर्जेगोविना', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CL: 'चिली', + CN: 'चीन', + CZ: 'चेक रिपब्लिक', + DK: 'डेनमार्क', + EE: 'एस्तोनिया', + ES: 'स्पेन', + FI: 'फिनलैंड', + HR: 'क्रोएशिया', + IE: 'आयरलैंड', + IS: 'आइसलैंड', + LT: 'लिथुआनिया', + LV: 'लाटविया', + ME: 'मोंटेनेग्रो', + MK: 'मैसेडोनिया', + NL: 'नीदरलैंड', + PL: 'पोलैंड', + RO: 'रोमानिया', + RS: 'सर्बिया', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + SM: 'सैन मैरिनो', + TH: 'थाईलैंड', + TR: 'तुर्की', + ZA: 'दक्षिण अफ्रीका', + }, + country: 'कृपया %s में एक वैध पहचान संख्या प्रविष्ट करें', + default: 'कृपया एक वैध पहचान संख्या प्रविष्ट करें', + }, + identical: { + default: 'कृपया वही मूल्यांक दोबारा प्रविष्ट करें', + }, + imei: { + default: 'कृपया एक वैध IMEI संख्या प्रविष्ट करें', + }, + imo: { + default: 'कृपया एक वैध IMO संख्या प्रविष्ट करें', + }, + integer: { + default: 'कृपया एक वैध संख्या प्रविष्ट करें', + }, + ip: { + default: 'कृपया एक वैध IP पता प्रविष्ट करें', + ipv4: 'कृपया एक वैध IPv4 पता प्रविष्ट करें', + ipv6: 'कृपया एक वैध IPv6 पता प्रविष्ट करें', + }, + isbn: { + default: 'कृपया एक वैध ISBN संख्या दर्ज करें', + }, + isin: { + default: 'कृपया एक वैध ISIN संख्या दर्ज करें', + }, + ismn: { + default: 'कृपया एक वैध ISMN संख्या दर्ज करें', + }, + issn: { + default: 'कृपया एक वैध ISSN संख्या दर्ज करें', + }, + lessThan: { + default: 'कृपया %s से कम या बराबर एक मूल्यांक प्रविष्ट करें', + notInclusive: 'कृपया %s से कम एक मूल्यांक प्रविष्ट करें', + }, + mac: { + default: 'कृपया एक वैध MAC पता प्रविष्ट करें', + }, + meid: { + default: 'कृपया एक वैध MEID संख्या प्रविष्ट करें', + }, + notEmpty: { + default: 'कृपया एक मूल्यांक प्रविष्ट करें', + }, + numeric: { + default: 'कृपया एक वैध दशमलव संख्या प्रविष्ट करें', + }, + phone: { + countries: { + AE: 'संयुक्त अरब अमीरात', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CN: 'चीन', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + ES: 'स्पेन', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + IN: 'भारत', + MA: 'मोरक्को', + NL: 'नीदरलैंड', + PK: 'पाकिस्तान', + RO: 'रोमानिया', + RU: 'रुस', + SK: 'स्लोवाकिया', + TH: 'थाईलैंड', + US: 'अमेरीका', + VE: 'वेनेजुएला', + }, + country: 'कृपया %s में एक वैध फ़ोन नंबर प्रविष्ट करें', + default: 'कृपया एक वैध फ़ोन नंबर प्रविष्ट करें', + }, + promise: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + regexp: { + default: 'कृपया पैटर्न से मेल खाते एक मूल्यांक प्रविष्ट करें', + }, + remote: { + default: 'कृपया एक वैध मूल्यांक प्रविष्ट करें', + }, + rtn: { + default: 'कृपया एक वैध RTN संख्या प्रविष्ट करें', + }, + sedol: { + default: 'कृपया एक वैध SEDOL संख्या प्रविष्ट करें', + }, + siren: { + default: 'कृपया एक वैध SIREN संख्या प्रविष्ट करें', + }, + siret: { + default: 'कृपया एक वैध SIRET संख्या प्रविष्ट करें', + }, + step: { + default: '%s के एक गुणज मूल्यांक प्रविष्ट करें', + }, + stringCase: { + default: 'कृपया केवल छोटे पात्रों का प्रविष्ट करें', + upper: 'कृपया केवल बड़े पात्रों का प्रविष्ट करें', + }, + stringLength: { + between: 'कृपया %s से %s के बीच लंबाई का एक मूल्यांक प्रविष्ट करें', + default: 'कृपया वैध लंबाई का एक मूल्यांक प्रविष्ट करें', + less: 'कृपया %s से कम पात्रों को प्रविष्ट करें', + more: 'कृपया %s से अधिक पात्रों को प्रविष्ट करें', + }, + uri: { + default: 'कृपया एक वैध URI प्रविष्ट करें', + }, + uuid: { + default: 'कृपया एक वैध UUID संख्या प्रविष्ट करें', + version: 'कृपया एक वैध UUID संस्करण %s संख्या प्रविष्ट करें', + }, + vat: { + countries: { + AT: 'ऑस्ट्रिया', + BE: 'बेल्जियम', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CH: 'स्विट्जरलैंड', + CY: 'साइप्रस', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + EE: 'एस्तोनिया', + EL: 'ग्रीस', + ES: 'स्पेन', + FI: 'फिनलैंड', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + GR: 'ग्रीस', + HR: 'क्रोएशिया', + HU: 'हंगरी', + IE: 'आयरलैंड', + IS: 'आइसलैंड', + IT: 'इटली', + LT: 'लिथुआनिया', + LU: 'लक्समबर्ग', + LV: 'लाटविया', + MT: 'माल्टा', + NL: 'नीदरलैंड', + NO: 'नॉर्वे', + PL: 'पोलैंड', + PT: 'पुर्तगाल', + RO: 'रोमानिया', + RS: 'सर्बिया', + RU: 'रुस', + SE: 'स्वीडन', + SI: 'स्लोवेनिया', + SK: 'स्लोवाकिया', + VE: 'वेनेजुएला', + ZA: 'दक्षिण अफ्रीका', + }, + country: 'कृपया एक वैध VAT संख्या %s मे प्रविष्ट करें', + default: 'कृपया एक वैध VAT संख्या प्रविष्ट करें', + }, + vin: { + default: 'कृपया एक वैध VIN संख्या प्रविष्ट करें', + }, + zipCode: { + countries: { + AT: 'ऑस्ट्रिया', + BG: 'बुल्गारिया', + BR: 'ब्राज़िल', + CA: 'कनाडा', + CH: 'स्विट्जरलैंड', + CZ: 'चेक रिपब्लिक', + DE: 'जर्मनी', + DK: 'डेनमार्क', + ES: 'स्पेन', + FR: 'फ्रांस', + GB: 'यूनाइटेड किंगडम', + IE: 'आयरलैंड', + IN: 'भारत', + IT: 'इटली', + MA: 'मोरक्को', + NL: 'नीदरलैंड', + PL: 'पोलैंड', + PT: 'पुर्तगाल', + RO: 'रोमानिया', + RU: 'रुस', + SE: 'स्वीडन', + SG: 'सिंगापुर', + SK: 'स्लोवाकिया', + US: 'अमेरीका', + }, + country: 'कृपया एक वैध डाक कोड %s मे प्रविष्ट करें', + default: 'कृपया एक वैध डाक कोड प्रविष्ट करें', + }, + }; + + return hi_IN; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hi_IN.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hi_IN.min.js new file mode 100755 index 00000000..aa3646ca --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hi_IN.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.hi_IN=factory())})(this,(function(){"use strict";var hi_IN={base64:{default:"कृपया एक वैध 64 इनकोडिंग मूल्यांक प्रविष्ट करें"},between:{default:"कृपया %s और %s के बीच एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया सिर्फ़ %s और %s के बीच मूल्यांक प्रविष्ट करें"},bic:{default:"कृपया एक वैध BIC संख्या प्रविष्ट करें"},callback:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},choice:{between:"कृपया %s और %s के बीच विकल्पों का चयन करें",default:"कृपया एक वैध मूल्यांक प्रविष्ट करें",less:"कृपया कम से कम %s विकल्पों का चयन करें",more:"कृपया अधिकतम %s विकल्पों का चयन करें"},color:{default:"कृपया एक वैध रंग प्रविष्ट करें"},creditCard:{default:"कृपया एक वैध क्रेडिट कार्ड संख्या प्रविष्ट करें"},cusip:{default:"कृपया एक वैध CUSIP संख्या प्रविष्ट करें"},date:{default:"कृपया एक वैध दिनांक प्रविष्ट करें",max:"कृपया %s के पहले एक वैध दिनांक प्रविष्ट करें",min:"कृपया %s के बाद एक वैध दिनांक प्रविष्ट करें",range:"कृपया %s से %s के बीच एक वैध दिनांक प्रविष्ट करें"},different:{default:"कृपया एक अलग मूल्यांक प्रविष्ट करें"},digits:{default:"कृपया केवल अंक प्रविष्ट करें"},ean:{default:"कृपया एक वैध EAN संख्या प्रविष्ट करें"},ein:{default:"कृपया एक वैध EIN संख्या प्रविष्ट करें"},emailAddress:{default:"कृपया एक वैध ईमेल पता प्रविष्ट करें"},file:{default:"कृपया एक वैध फ़ाइल का चयन करें"},greaterThan:{default:"कृपया %s से अधिक या बराबर एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया %s से अधिक एक मूल्यांक प्रविष्ट करें"},grid:{default:"कृपया एक वैध GRID संख्या प्रविष्ट करें"},hex:{default:"कृपया एक वैध हेक्साडेसिमल संख्या प्रविष्ट करें"},iban:{countries:{AD:"अंडोरा",AE:"संयुक्त अरब अमीरात",AL:"अल्बानिया",AO:"अंगोला",AT:"ऑस्ट्रिया",AZ:"अज़रबैजान",BA:"बोस्निया और हर्जेगोविना",BE:"बेल्जियम",BF:"बुर्किना फासो",BG:"बुल्गारिया",BH:"बहरीन",BI:"बुस्र्न्दी",BJ:"बेनिन",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CI:"आइवरी कोस्ट",CM:"कैमरून",CR:"कोस्टा रिका",CV:"केप वर्डे",CY:"साइप्रस",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",DO:"डोमिनिकन गणराज्य",DZ:"एलजीरिया",EE:"एस्तोनिया",ES:"स्पेन",FI:"फिनलैंड",FO:"फरो आइलैंड्स",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",GE:"जॉर्जिया",GI:"जिब्राल्टर",GL:"ग्रीनलैंड",GR:"ग्रीस",GT:"ग्वाटेमाला",HR:"क्रोएशिया",HU:"हंगरी",IE:"आयरलैंड",IL:"इज़राइल",IR:"ईरान",IS:"आइसलैंड",IT:"इटली",JO:"जॉर्डन",KW:"कुवैत",KZ:"कजाखस्तान",LB:"लेबनान",LI:"लिकटेंस्टीन",LT:"लिथुआनिया",LU:"लक्समबर्ग",LV:"लाटविया",MC:"मोनाको",MD:"माल्डोवा",ME:"मॉन्टेंगरो",MG:"मेडागास्कर",MK:"मैसेडोनिया",ML:"माली",MR:"मॉरिटानिया",MT:"माल्टा",MU:"मॉरीशस",MZ:"मोज़ाम्बिक",NL:"नीदरलैंड",NO:"नॉर्वे",PK:"पाकिस्तान",PL:"पोलैंड",PS:"फिलिस्तीन",PT:"पुर्तगाल",QA:"क़तर",RO:"रोमानिया",RS:"सर्बिया",SA:"सऊदी अरब",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",SM:"सैन मैरिनो",SN:"सेनेगल",TL:"पूर्वी तिमोर",TN:"ट्यूनीशिया",TR:"तुर्की",VG:"वर्जिन आइलैंड्स, ब्रिटिश",XK:"कोसोवो गणराज्य"},country:"कृपया %s में एक वैध IBAN संख्या प्रविष्ट करें",default:"कृपया एक वैध IBAN संख्या प्रविष्ट करें"},id:{countries:{BA:"बोस्निया और हर्जेगोविना",BG:"बुल्गारिया",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CL:"चिली",CN:"चीन",CZ:"चेक रिपब्लिक",DK:"डेनमार्क",EE:"एस्तोनिया",ES:"स्पेन",FI:"फिनलैंड",HR:"क्रोएशिया",IE:"आयरलैंड",IS:"आइसलैंड",LT:"लिथुआनिया",LV:"लाटविया",ME:"मोंटेनेग्रो",MK:"मैसेडोनिया",NL:"नीदरलैंड",PL:"पोलैंड",RO:"रोमानिया",RS:"सर्बिया",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",SM:"सैन मैरिनो",TH:"थाईलैंड",TR:"तुर्की",ZA:"दक्षिण अफ्रीका"},country:"कृपया %s में एक वैध पहचान संख्या प्रविष्ट करें",default:"कृपया एक वैध पहचान संख्या प्रविष्ट करें"},identical:{default:"कृपया वही मूल्यांक दोबारा प्रविष्ट करें"},imei:{default:"कृपया एक वैध IMEI संख्या प्रविष्ट करें"},imo:{default:"कृपया एक वैध IMO संख्या प्रविष्ट करें"},integer:{default:"कृपया एक वैध संख्या प्रविष्ट करें"},ip:{default:"कृपया एक वैध IP पता प्रविष्ट करें",ipv4:"कृपया एक वैध IPv4 पता प्रविष्ट करें",ipv6:"कृपया एक वैध IPv6 पता प्रविष्ट करें"},isbn:{default:"कृपया एक वैध ISBN संख्या दर्ज करें"},isin:{default:"कृपया एक वैध ISIN संख्या दर्ज करें"},ismn:{default:"कृपया एक वैध ISMN संख्या दर्ज करें"},issn:{default:"कृपया एक वैध ISSN संख्या दर्ज करें"},lessThan:{default:"कृपया %s से कम या बराबर एक मूल्यांक प्रविष्ट करें",notInclusive:"कृपया %s से कम एक मूल्यांक प्रविष्ट करें"},mac:{default:"कृपया एक वैध MAC पता प्रविष्ट करें"},meid:{default:"कृपया एक वैध MEID संख्या प्रविष्ट करें"},notEmpty:{default:"कृपया एक मूल्यांक प्रविष्ट करें"},numeric:{default:"कृपया एक वैध दशमलव संख्या प्रविष्ट करें"},phone:{countries:{AE:"संयुक्त अरब अमीरात",BG:"बुल्गारिया",BR:"ब्राज़िल",CN:"चीन",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",ES:"स्पेन",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",IN:"भारत",MA:"मोरक्को",NL:"नीदरलैंड",PK:"पाकिस्तान",RO:"रोमानिया",RU:"रुस",SK:"स्लोवाकिया",TH:"थाईलैंड",US:"अमेरीका",VE:"वेनेजुएला"},country:"कृपया %s में एक वैध फ़ोन नंबर प्रविष्ट करें",default:"कृपया एक वैध फ़ोन नंबर प्रविष्ट करें"},promise:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},regexp:{default:"कृपया पैटर्न से मेल खाते एक मूल्यांक प्रविष्ट करें"},remote:{default:"कृपया एक वैध मूल्यांक प्रविष्ट करें"},rtn:{default:"कृपया एक वैध RTN संख्या प्रविष्ट करें"},sedol:{default:"कृपया एक वैध SEDOL संख्या प्रविष्ट करें"},siren:{default:"कृपया एक वैध SIREN संख्या प्रविष्ट करें"},siret:{default:"कृपया एक वैध SIRET संख्या प्रविष्ट करें"},step:{default:"%s के एक गुणज मूल्यांक प्रविष्ट करें"},stringCase:{default:"कृपया केवल छोटे पात्रों का प्रविष्ट करें",upper:"कृपया केवल बड़े पात्रों का प्रविष्ट करें"},stringLength:{between:"कृपया %s से %s के बीच लंबाई का एक मूल्यांक प्रविष्ट करें",default:"कृपया वैध लंबाई का एक मूल्यांक प्रविष्ट करें",less:"कृपया %s से कम पात्रों को प्रविष्ट करें",more:"कृपया %s से अधिक पात्रों को प्रविष्ट करें"},uri:{default:"कृपया एक वैध URI प्रविष्ट करें"},uuid:{default:"कृपया एक वैध UUID संख्या प्रविष्ट करें",version:"कृपया एक वैध UUID संस्करण %s संख्या प्रविष्ट करें"},vat:{countries:{AT:"ऑस्ट्रिया",BE:"बेल्जियम",BG:"बुल्गारिया",BR:"ब्राज़िल",CH:"स्विट्जरलैंड",CY:"साइप्रस",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",EE:"एस्तोनिया",EL:"ग्रीस",ES:"स्पेन",FI:"फिनलैंड",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",GR:"ग्रीस",HR:"क्रोएशिया",HU:"हंगरी",IE:"आयरलैंड",IS:"आइसलैंड",IT:"इटली",LT:"लिथुआनिया",LU:"लक्समबर्ग",LV:"लाटविया",MT:"माल्टा",NL:"नीदरलैंड",NO:"नॉर्वे",PL:"पोलैंड",PT:"पुर्तगाल",RO:"रोमानिया",RS:"सर्बिया",RU:"रुस",SE:"स्वीडन",SI:"स्लोवेनिया",SK:"स्लोवाकिया",VE:"वेनेजुएला",ZA:"दक्षिण अफ्रीका"},country:"कृपया एक वैध VAT संख्या %s मे प्रविष्ट करें",default:"कृपया एक वैध VAT संख्या प्रविष्ट करें"},vin:{default:"कृपया एक वैध VIN संख्या प्रविष्ट करें"},zipCode:{countries:{AT:"ऑस्ट्रिया",BG:"बुल्गारिया",BR:"ब्राज़िल",CA:"कनाडा",CH:"स्विट्जरलैंड",CZ:"चेक रिपब्लिक",DE:"जर्मनी",DK:"डेनमार्क",ES:"स्पेन",FR:"फ्रांस",GB:"यूनाइटेड किंगडम",IE:"आयरलैंड",IN:"भारत",IT:"इटली",MA:"मोरक्को",NL:"नीदरलैंड",PL:"पोलैंड",PT:"पुर्तगाल",RO:"रोमानिया",RU:"रुस",SE:"स्वीडन",SG:"सिंगापुर",SK:"स्लोवाकिया",US:"अमेरीका"},country:"कृपया एक वैध डाक कोड %s मे प्रविष्ट करें",default:"कृपया एक वैध डाक कोड प्रविष्ट करें"}};return hi_IN})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hu_HU.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hu_HU.js new file mode 100755 index 00000000..b508b5f0 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hu_HU.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.hu_HU = factory())); +})(this, (function () { 'use strict'; + + /** + * Hungarian language package + * Translated by @blackfyre + */ + + var hu_HU = { + base64: { + default: 'Kérlek, hogy érvényes base 64 karakter láncot adj meg', + }, + between: { + default: 'Kérlek, hogy %s és %s között adj meg értéket', + notInclusive: 'Kérlek, hogy %s és %s között adj meg értéket', + }, + bic: { + default: 'Kérlek, hogy érvényes BIC számot adj meg', + }, + callback: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + choice: { + between: 'Kérlek, hogy válassz %s - %s lehetőséget', + default: 'Kérlek, hogy érvényes értéket adj meg', + less: 'Kérlek, hogy legalább %s lehetőséget válassz ki', + more: 'Kérlek, hogy maximum %s lehetőséget válassz ki', + }, + color: { + default: 'Kérlek, hogy érvényes színt adj meg', + }, + creditCard: { + default: 'Kérlek, hogy érvényes bankkártya számot adj meg', + }, + cusip: { + default: 'Kérlek, hogy érvényes CUSIP számot adj meg', + }, + date: { + default: 'Kérlek, hogy érvényes dátumot adj meg', + max: 'Kérlek, hogy %s -nál korábbi dátumot adj meg', + min: 'Kérlek, hogy %s -nál későbbi dátumot adj meg', + range: 'Kérlek, hogy %s - %s között adj meg dátumot', + }, + different: { + default: 'Kérlek, hogy egy másik értéket adj meg', + }, + digits: { + default: 'Kérlek, hogy csak számot adj meg', + }, + ean: { + default: 'Kérlek, hogy érvényes EAN számot adj meg', + }, + ein: { + default: 'Kérlek, hogy érvényes EIN számot adj meg', + }, + emailAddress: { + default: 'Kérlek, hogy érvényes email címet adj meg', + }, + file: { + default: 'Kérlek, hogy érvényes fájlt válassz', + }, + greaterThan: { + default: 'Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg', + notInclusive: 'Kérlek, hogy ennél (%s) nagyobb számot adj meg', + }, + grid: { + default: 'Kérlek, hogy érvényes GRId számot adj meg', + }, + hex: { + default: 'Kérlek, hogy érvényes hexadecimális számot adj meg', + }, + iban: { + countries: { + AD: 'az Andorrai Fejedelemségben' /* Special case */, + AE: 'az Egyesült Arab Emírségekben' /* Special case */, + AL: 'Albániában', + AO: 'Angolában', + AT: 'Ausztriában', + AZ: 'Azerbadjzsánban', + BA: 'Bosznia-Hercegovinában' /* Special case */, + BE: 'Belgiumban', + BF: 'Burkina Fasoban', + BG: 'Bulgáriában', + BH: 'Bahreinben', + BI: 'Burundiban', + BJ: 'Beninben', + BR: 'Brazíliában', + CH: 'Svájcban', + CI: 'az Elefántcsontparton' /* Special case */, + CM: 'Kamerunban', + CR: 'Costa Ricán' /* Special case */, + CV: 'Zöld-foki Köztársaságban', + CY: 'Cypruson', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + DO: 'Dominikán' /* Special case */, + DZ: 'Algériában', + EE: 'Észtországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + FO: 'a Feröer-szigeteken' /* Special case */, + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban' /* Special case */, + GE: 'Grúziában', + GI: 'Gibraltáron' /* Special case */, + GL: 'Grönlandon' /* Special case */, + GR: 'Görögországban', + GT: 'Guatemalában', + HR: 'Horvátországban', + HU: 'Magyarországon', + IE: 'Írországban' /* Special case */, + IL: 'Izraelben', + IR: 'Iránban' /* Special case */, + IS: 'Izlandon', + IT: 'Olaszországban', + JO: 'Jordániában', + KW: 'Kuvaitban' /* Special case */, + KZ: 'Kazahsztánban', + LB: 'Libanonban', + LI: 'Liechtensteinben', + LT: 'Litvániában', + LU: 'Luxemburgban', + LV: 'Lettországban', + MC: 'Monacóban' /* Special case */, + MD: 'Moldovában' /* Special case */, + ME: 'Montenegróban', + MG: 'Madagaszkáron', + MK: 'Macedóniában', + ML: 'Malin', + MR: 'Mauritániában', + MT: 'Máltán', + MU: 'Mauritiuson', + MZ: 'Mozambikban', + NL: 'Hollandiában', + NO: 'Norvégiában', + PK: 'Pakisztánban', + PL: 'Lengyelországban', + PS: 'Palesztinában', + PT: 'Portugáliában', + QA: 'Katarban' /* Special case */, + RO: 'Romániában', + RS: 'Szerbiában', + SA: 'Szaúd-Arábiában', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + SM: 'San Marinoban', + SN: 'Szenegálban' /* Special case */, + TL: 'Kelet-Timor', + TN: 'Tunéziában' /* Special case */, + TR: 'Törökországban', + VG: 'Britt Virgin szigeteken' /* Special case */, + XK: 'Koszovói Köztársaság', + }, + country: 'Kérlek, hogy %s érvényes IBAN számot adj meg', + default: 'Kérlek, hogy érvényes IBAN számot adj meg', + }, + id: { + countries: { + BA: 'Bosznia-Hercegovinában', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CH: 'Svájcban', + CL: 'Chilében', + CN: 'Kínában', + CZ: 'Csehországban', + DK: 'Dániában', + EE: 'Észtországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + HR: 'Horvátországban', + IE: 'Írországban', + IS: 'Izlandon', + LT: 'Litvániában', + LV: 'Lettországban', + ME: 'Montenegróban', + MK: 'Macedóniában', + NL: 'Hollandiában', + PL: 'Lengyelországban', + RO: 'Romániában', + RS: 'Szerbiában', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + SM: 'San Marinoban', + TH: 'Thaiföldön', + TR: 'Törökországban', + ZA: 'Dél-Afrikában', + }, + country: 'Kérlek, hogy %s érvényes személy azonosító számot adj meg', + default: 'Kérlek, hogy érvényes személy azonosító számot adj meg', + }, + identical: { + default: 'Kérlek, hogy ugyan azt az értéket add meg', + }, + imei: { + default: 'Kérlek, hogy érvényes IMEI számot adj meg', + }, + imo: { + default: 'Kérlek, hogy érvényes IMO számot adj meg', + }, + integer: { + default: 'Kérlek, hogy számot adj meg', + }, + ip: { + default: 'Kérlek, hogy IP címet adj meg', + ipv4: 'Kérlek, hogy érvényes IPv4 címet adj meg', + ipv6: 'Kérlek, hogy érvényes IPv6 címet adj meg', + }, + isbn: { + default: 'Kérlek, hogy érvényes ISBN számot adj meg', + }, + isin: { + default: 'Kérlek, hogy érvényes ISIN számot adj meg', + }, + ismn: { + default: 'Kérlek, hogy érvényes ISMN számot adj meg', + }, + issn: { + default: 'Kérlek, hogy érvényes ISSN számot adj meg', + }, + lessThan: { + default: 'Kérlek, hogy adj meg egy számot ami kisebb vagy egyenlő mint %s', + notInclusive: 'Kérlek, hogy adj meg egy számot ami kisebb mint %s', + }, + mac: { + default: 'Kérlek, hogy érvényes MAC címet adj meg', + }, + meid: { + default: 'Kérlek, hogy érvényes MEID számot adj meg', + }, + notEmpty: { + default: 'Kérlek, hogy adj értéket a mezőnek', + }, + numeric: { + default: 'Please enter a valid float number', + }, + phone: { + countries: { + AE: 'az Egyesült Arab Emírségekben' /* Special case */, + BG: 'Bulgáriában', + BR: 'Brazíliában', + CN: 'Kínában', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + ES: 'Spanyolországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + IN: 'India', + MA: 'Marokkóban', + NL: 'Hollandiában', + PK: 'Pakisztánban', + RO: 'Romániában', + RU: 'Oroszországban', + SK: 'Szlovákiában', + TH: 'Thaiföldön', + US: 'az Egyesült Államokban', + VE: 'Venezuelában' /* Sepcial case */, + }, + country: 'Kérlek, hogy %s érvényes telefonszámot adj meg', + default: 'Kérlek, hogy érvényes telefonszámot adj meg', + }, + promise: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + regexp: { + default: 'Kérlek, hogy a mintának megfelelő értéket adj meg', + }, + remote: { + default: 'Kérlek, hogy érvényes értéket adj meg', + }, + rtn: { + default: 'Kérlek, hogy érvényes RTN számot adj meg', + }, + sedol: { + default: 'Kérlek, hogy érvényes SEDOL számot adj meg', + }, + siren: { + default: 'Kérlek, hogy érvényes SIREN számot adj meg', + }, + siret: { + default: 'Kérlek, hogy érvényes SIRET számot adj meg', + }, + step: { + default: 'Kérlek, hogy érvényes lépteket adj meg (%s)', + }, + stringCase: { + default: 'Kérlek, hogy csak kisbetüket adj meg', + upper: 'Kérlek, hogy csak nagy betüket adj meg', + }, + stringLength: { + between: 'Kérlek, hogy legalább %s, de maximum %s karaktert adj meg', + default: 'Kérlek, hogy érvényes karakter hosszúsággal adj meg értéket', + less: 'Kérlek, hogy kevesebb mint %s karaktert adj meg', + more: 'Kérlek, hogy több mint %s karaktert adj meg', + }, + uri: { + default: 'Kérlek, hogy helyes URI -t adj meg', + }, + uuid: { + default: 'Kérlek, hogy érvényes UUID számot adj meg', + version: 'Kérlek, hogy érvényes UUID verzió %s számot adj meg', + }, + vat: { + countries: { + AT: 'Ausztriában', + BE: 'Belgiumban', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CH: 'Svájcban', + CY: 'Cipruson', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + EE: 'Észtországban', + EL: 'Görögországban', + ES: 'Spanyolországban', + FI: 'Finnországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + GR: 'Görögországban', + HR: 'Horvátországban', + HU: 'Magyarországon', + IE: 'Írországban', + IS: 'Izlandon', + IT: 'Olaszországban', + LT: 'Litvániában', + LU: 'Luxemburgban', + LV: 'Lettországban', + MT: 'Máltán', + NL: 'Hollandiában', + NO: 'Norvégiában', + PL: 'Lengyelországban', + PT: 'Portugáliában', + RO: 'Romániában', + RS: 'Szerbiában', + RU: 'Oroszországban', + SE: 'Svédországban', + SI: 'Szlovéniában', + SK: 'Szlovákiában', + VE: 'Venezuelában', + ZA: 'Dél-Afrikában', + }, + country: 'Kérlek, hogy %s helyes adószámot adj meg', + default: 'Kérlek, hogy helyes adó számot adj meg', + }, + vin: { + default: 'Kérlek, hogy érvényes VIN számot adj meg', + }, + zipCode: { + countries: { + AT: 'Ausztriában', + BG: 'Bulgáriában', + BR: 'Brazíliában', + CA: 'Kanadában', + CH: 'Svájcban', + CZ: 'Csehországban', + DE: 'Németországban', + DK: 'Dániában', + ES: 'Spanyolországban', + FR: 'Franciaországban', + GB: 'az Egyesült Királyságban', + IE: 'Írországban', + IN: 'India', + IT: 'Olaszországban', + MA: 'Marokkóban', + NL: 'Hollandiában', + PL: 'Lengyelországban', + PT: 'Portugáliában', + RO: 'Romániában', + RU: 'Oroszországban', + SE: 'Svájcban', + SG: 'Szingapúrban', + SK: 'Szlovákiában', + US: 'Egyesült Államok beli', + }, + country: 'Kérlek, hogy %s érvényes irányítószámot adj meg', + default: 'Kérlek, hogy érvényes irányítószámot adj meg', + }, + }; + + return hu_HU; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hu_HU.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hu_HU.min.js new file mode 100755 index 00000000..f0eb5a29 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/hu_HU.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.hu_HU=factory())})(this,(function(){"use strict";var hu_HU={base64:{default:"Kérlek, hogy érvényes base 64 karakter láncot adj meg"},between:{default:"Kérlek, hogy %s és %s között adj meg értéket",notInclusive:"Kérlek, hogy %s és %s között adj meg értéket"},bic:{default:"Kérlek, hogy érvényes BIC számot adj meg"},callback:{default:"Kérlek, hogy érvényes értéket adj meg"},choice:{between:"Kérlek, hogy válassz %s - %s lehetőséget",default:"Kérlek, hogy érvényes értéket adj meg",less:"Kérlek, hogy legalább %s lehetőséget válassz ki",more:"Kérlek, hogy maximum %s lehetőséget válassz ki"},color:{default:"Kérlek, hogy érvényes színt adj meg"},creditCard:{default:"Kérlek, hogy érvényes bankkártya számot adj meg"},cusip:{default:"Kérlek, hogy érvényes CUSIP számot adj meg"},date:{default:"Kérlek, hogy érvényes dátumot adj meg",max:"Kérlek, hogy %s -nál korábbi dátumot adj meg",min:"Kérlek, hogy %s -nál későbbi dátumot adj meg",range:"Kérlek, hogy %s - %s között adj meg dátumot"},different:{default:"Kérlek, hogy egy másik értéket adj meg"},digits:{default:"Kérlek, hogy csak számot adj meg"},ean:{default:"Kérlek, hogy érvényes EAN számot adj meg"},ein:{default:"Kérlek, hogy érvényes EIN számot adj meg"},emailAddress:{default:"Kérlek, hogy érvényes email címet adj meg"},file:{default:"Kérlek, hogy érvényes fájlt válassz"},greaterThan:{default:"Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg",notInclusive:"Kérlek, hogy ennél (%s) nagyobb számot adj meg"},grid:{default:"Kérlek, hogy érvényes GRId számot adj meg"},hex:{default:"Kérlek, hogy érvényes hexadecimális számot adj meg"},iban:{countries:{AD:"az Andorrai Fejedelemségben",AE:"az Egyesült Arab Emírségekben",AL:"Albániában",AO:"Angolában",AT:"Ausztriában",AZ:"Azerbadjzsánban",BA:"Bosznia-Hercegovinában",BE:"Belgiumban",BF:"Burkina Fasoban",BG:"Bulgáriában",BH:"Bahreinben",BI:"Burundiban",BJ:"Beninben",BR:"Brazíliában",CH:"Svájcban",CI:"az Elefántcsontparton",CM:"Kamerunban",CR:"Costa Ricán",CV:"Zöld-foki Köztársaságban",CY:"Cypruson",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",DO:"Dominikán",DZ:"Algériában",EE:"Észtországban",ES:"Spanyolországban",FI:"Finnországban",FO:"a Feröer-szigeteken",FR:"Franciaországban",GB:"az Egyesült Királyságban",GE:"Grúziában",GI:"Gibraltáron",GL:"Grönlandon",GR:"Görögországban",GT:"Guatemalában",HR:"Horvátországban",HU:"Magyarországon",IE:"Írországban",IL:"Izraelben",IR:"Iránban",IS:"Izlandon",IT:"Olaszországban",JO:"Jordániában",KW:"Kuvaitban",KZ:"Kazahsztánban",LB:"Libanonban",LI:"Liechtensteinben",LT:"Litvániában",LU:"Luxemburgban",LV:"Lettországban",MC:"Monacóban",MD:"Moldovában",ME:"Montenegróban",MG:"Madagaszkáron",MK:"Macedóniában",ML:"Malin",MR:"Mauritániában",MT:"Máltán",MU:"Mauritiuson",MZ:"Mozambikban",NL:"Hollandiában",NO:"Norvégiában",PK:"Pakisztánban",PL:"Lengyelországban",PS:"Palesztinában",PT:"Portugáliában",QA:"Katarban",RO:"Romániában",RS:"Szerbiában",SA:"Szaúd-Arábiában",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",SM:"San Marinoban",SN:"Szenegálban",TL:"Kelet-Timor",TN:"Tunéziában",TR:"Törökországban",VG:"Britt Virgin szigeteken",XK:"Koszovói Köztársaság"},country:"Kérlek, hogy %s érvényes IBAN számot adj meg",default:"Kérlek, hogy érvényes IBAN számot adj meg"},id:{countries:{BA:"Bosznia-Hercegovinában",BG:"Bulgáriában",BR:"Brazíliában",CH:"Svájcban",CL:"Chilében",CN:"Kínában",CZ:"Csehországban",DK:"Dániában",EE:"Észtországban",ES:"Spanyolországban",FI:"Finnországban",HR:"Horvátországban",IE:"Írországban",IS:"Izlandon",LT:"Litvániában",LV:"Lettországban",ME:"Montenegróban",MK:"Macedóniában",NL:"Hollandiában",PL:"Lengyelországban",RO:"Romániában",RS:"Szerbiában",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",SM:"San Marinoban",TH:"Thaiföldön",TR:"Törökországban",ZA:"Dél-Afrikában"},country:"Kérlek, hogy %s érvényes személy azonosító számot adj meg",default:"Kérlek, hogy érvényes személy azonosító számot adj meg"},identical:{default:"Kérlek, hogy ugyan azt az értéket add meg"},imei:{default:"Kérlek, hogy érvényes IMEI számot adj meg"},imo:{default:"Kérlek, hogy érvényes IMO számot adj meg"},integer:{default:"Kérlek, hogy számot adj meg"},ip:{default:"Kérlek, hogy IP címet adj meg",ipv4:"Kérlek, hogy érvényes IPv4 címet adj meg",ipv6:"Kérlek, hogy érvényes IPv6 címet adj meg"},isbn:{default:"Kérlek, hogy érvényes ISBN számot adj meg"},isin:{default:"Kérlek, hogy érvényes ISIN számot adj meg"},ismn:{default:"Kérlek, hogy érvényes ISMN számot adj meg"},issn:{default:"Kérlek, hogy érvényes ISSN számot adj meg"},lessThan:{default:"Kérlek, hogy adj meg egy számot ami kisebb vagy egyenlő mint %s",notInclusive:"Kérlek, hogy adj meg egy számot ami kisebb mint %s"},mac:{default:"Kérlek, hogy érvényes MAC címet adj meg"},meid:{default:"Kérlek, hogy érvényes MEID számot adj meg"},notEmpty:{default:"Kérlek, hogy adj értéket a mezőnek"},numeric:{default:"Please enter a valid float number"},phone:{countries:{AE:"az Egyesült Arab Emírségekben",BG:"Bulgáriában",BR:"Brazíliában",CN:"Kínában",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",ES:"Spanyolországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",IN:"India",MA:"Marokkóban",NL:"Hollandiában",PK:"Pakisztánban",RO:"Romániában",RU:"Oroszországban",SK:"Szlovákiában",TH:"Thaiföldön",US:"az Egyesült Államokban",VE:"Venezuelában"},country:"Kérlek, hogy %s érvényes telefonszámot adj meg",default:"Kérlek, hogy érvényes telefonszámot adj meg"},promise:{default:"Kérlek, hogy érvényes értéket adj meg"},regexp:{default:"Kérlek, hogy a mintának megfelelő értéket adj meg"},remote:{default:"Kérlek, hogy érvényes értéket adj meg"},rtn:{default:"Kérlek, hogy érvényes RTN számot adj meg"},sedol:{default:"Kérlek, hogy érvényes SEDOL számot adj meg"},siren:{default:"Kérlek, hogy érvényes SIREN számot adj meg"},siret:{default:"Kérlek, hogy érvényes SIRET számot adj meg"},step:{default:"Kérlek, hogy érvényes lépteket adj meg (%s)"},stringCase:{default:"Kérlek, hogy csak kisbetüket adj meg",upper:"Kérlek, hogy csak nagy betüket adj meg"},stringLength:{between:"Kérlek, hogy legalább %s, de maximum %s karaktert adj meg",default:"Kérlek, hogy érvényes karakter hosszúsággal adj meg értéket",less:"Kérlek, hogy kevesebb mint %s karaktert adj meg",more:"Kérlek, hogy több mint %s karaktert adj meg"},uri:{default:"Kérlek, hogy helyes URI -t adj meg"},uuid:{default:"Kérlek, hogy érvényes UUID számot adj meg",version:"Kérlek, hogy érvényes UUID verzió %s számot adj meg"},vat:{countries:{AT:"Ausztriában",BE:"Belgiumban",BG:"Bulgáriában",BR:"Brazíliában",CH:"Svájcban",CY:"Cipruson",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",EE:"Észtországban",EL:"Görögországban",ES:"Spanyolországban",FI:"Finnországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",GR:"Görögországban",HR:"Horvátországban",HU:"Magyarországon",IE:"Írországban",IS:"Izlandon",IT:"Olaszországban",LT:"Litvániában",LU:"Luxemburgban",LV:"Lettországban",MT:"Máltán",NL:"Hollandiában",NO:"Norvégiában",PL:"Lengyelországban",PT:"Portugáliában",RO:"Romániában",RS:"Szerbiában",RU:"Oroszországban",SE:"Svédországban",SI:"Szlovéniában",SK:"Szlovákiában",VE:"Venezuelában",ZA:"Dél-Afrikában"},country:"Kérlek, hogy %s helyes adószámot adj meg",default:"Kérlek, hogy helyes adó számot adj meg"},vin:{default:"Kérlek, hogy érvényes VIN számot adj meg"},zipCode:{countries:{AT:"Ausztriában",BG:"Bulgáriában",BR:"Brazíliában",CA:"Kanadában",CH:"Svájcban",CZ:"Csehországban",DE:"Németországban",DK:"Dániában",ES:"Spanyolországban",FR:"Franciaországban",GB:"az Egyesült Királyságban",IE:"Írországban",IN:"India",IT:"Olaszországban",MA:"Marokkóban",NL:"Hollandiában",PL:"Lengyelországban",PT:"Portugáliában",RO:"Romániában",RU:"Oroszországban",SE:"Svájcban",SG:"Szingapúrban",SK:"Szlovákiában",US:"Egyesült Államok beli"},country:"Kérlek, hogy %s érvényes irányítószámot adj meg",default:"Kérlek, hogy érvényes irányítószámot adj meg"}};return hu_HU})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/id_ID.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/id_ID.js new file mode 100755 index 00000000..f905ef42 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/id_ID.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.id_ID = factory())); +})(this, (function () { 'use strict'; + + /** + * Indonesian language package + * Translated by @egig + */ + + var id_ID = { + base64: { + default: 'Silahkan isi karakter base 64 tersandi yang valid', + }, + between: { + default: 'Silahkan isi nilai antara %s dan %s', + notInclusive: 'Silahkan isi nilai antara %s dan %s, strictly', + }, + bic: { + default: 'Silahkan isi nomor BIC yang valid', + }, + callback: { + default: 'Silahkan isi nilai yang valid', + }, + choice: { + between: 'Silahkan pilih pilihan %s - %s', + default: 'Silahkan isi nilai yang valid', + less: 'Silahkan pilih pilihan %s pada minimum', + more: 'Silahkan pilih pilihan %s pada maksimum', + }, + color: { + default: 'Silahkan isi karakter warna yang valid', + }, + creditCard: { + default: 'Silahkan isi nomor kartu kredit yang valid', + }, + cusip: { + default: 'Silahkan isi nomor CUSIP yang valid', + }, + date: { + default: 'Silahkan isi tanggal yang benar', + max: 'Silahkan isi tanggal sebelum tanggal %s', + min: 'Silahkan isi tanggal setelah tanggal %s', + range: 'Silahkan isi tanggal antara %s - %s', + }, + different: { + default: 'Silahkan isi nilai yang berbeda', + }, + digits: { + default: 'Silahkan isi dengan hanya digit', + }, + ean: { + default: 'Silahkan isi nomor EAN yang valid', + }, + ein: { + default: 'Silahkan isi nomor EIN yang valid', + }, + emailAddress: { + default: 'Silahkan isi alamat email yang valid', + }, + file: { + default: 'Silahkan pilih file yang valid', + }, + greaterThan: { + default: 'Silahkan isi nilai yang lebih besar atau sama dengan %s', + notInclusive: 'Silahkan is nilai yang lebih besar dari %s', + }, + grid: { + default: 'Silahkan nomor GRId yang valid', + }, + hex: { + default: 'Silahkan isi karakter hexadecimal yang valid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Uni Emirat Arab', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia and Herzegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Switzerland', + CI: 'Pantai Gading', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + DO: 'Republik Dominika', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spanyol', + FI: 'Finlandia', + FO: 'Faroe Islands', + FR: 'Francis', + GB: 'Inggris', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Yunani', + GT: 'Guatemala', + HR: 'Kroasia', + HU: 'Hungary', + IE: 'Irlandia', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Netherlands', + NO: 'Norway', + PK: 'Pakistan', + PL: 'Polandia', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi Arabia', + SE: 'Swedia', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Leste', + TN: 'Tunisia', + TR: 'Turki', + VG: 'Virgin Islands, British', + XK: 'Kosovo', + }, + country: 'Silahkan isi nomor IBAN yang valid dalam %s', + default: 'silahkan isi nomor IBAN yang valid', + }, + id: { + countries: { + BA: 'Bosnia and Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CL: 'Chile', + CN: 'Cina', + CZ: 'Czech', + DK: 'Denmark', + EE: 'Estonia', + ES: 'Spanyol', + FI: 'Finlandia', + HR: 'Kroasia', + IE: 'Irlandia', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Netherlands', + PL: 'Polandia', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turki', + ZA: 'Africa Selatan', + }, + country: 'Silahkan isi nomor identitas yang valid dalam %s', + default: 'Silahkan isi nomor identitas yang valid', + }, + identical: { + default: 'Silahkan isi nilai yang sama', + }, + imei: { + default: 'Silahkan isi nomor IMEI yang valid', + }, + imo: { + default: 'Silahkan isi nomor IMO yang valid', + }, + integer: { + default: 'Silahkan isi angka yang valid', + }, + ip: { + default: 'Silahkan isi alamat IP yang valid', + ipv4: 'Silahkan isi alamat IPv4 yang valid', + ipv6: 'Silahkan isi alamat IPv6 yang valid', + }, + isbn: { + default: 'Slilahkan isi nomor ISBN yang valid', + }, + isin: { + default: 'Silahkan isi ISIN yang valid', + }, + ismn: { + default: 'Silahkan isi nomor ISMN yang valid', + }, + issn: { + default: 'Silahkan isi nomor ISSN yang valid', + }, + lessThan: { + default: 'Silahkan isi nilai kurang dari atau sama dengan %s', + notInclusive: 'Silahkan isi nilai kurang dari %s', + }, + mac: { + default: 'Silahkan isi MAC address yang valid', + }, + meid: { + default: 'Silahkan isi nomor MEID yang valid', + }, + notEmpty: { + default: 'Silahkan isi', + }, + numeric: { + default: 'Silahkan isi nomor yang valid', + }, + phone: { + countries: { + AE: 'Uni Emirat Arab', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'Cina', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + ES: 'Spanyol', + FR: 'Francis', + GB: 'Inggris', + IN: 'India', + MA: 'Maroko', + NL: 'Netherlands', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovakia', + TH: 'Thailand', + US: 'Amerika Serikat', + VE: 'Venezuela', + }, + country: 'Silahkan isi nomor telepon yang valid dalam %s', + default: 'Silahkan isi nomor telepon yang valid', + }, + promise: { + default: 'Silahkan isi nilai yang valid', + }, + regexp: { + default: 'Silahkan isi nilai yang cocok dengan pola', + }, + remote: { + default: 'Silahkan isi nilai yang valid', + }, + rtn: { + default: 'Silahkan isi nomor RTN yang valid', + }, + sedol: { + default: 'Silahkan isi nomor SEDOL yang valid', + }, + siren: { + default: 'Silahkan isi nomor SIREN yang valid', + }, + siret: { + default: 'Silahkan isi nomor SIRET yang valid', + }, + step: { + default: 'Silahkan isi langkah yang benar pada %s', + }, + stringCase: { + default: 'Silahkan isi hanya huruf kecil', + upper: 'Silahkan isi hanya huruf besar', + }, + stringLength: { + between: 'Silahkan isi antara %s dan %s panjang karakter', + default: 'Silahkan isi nilai dengan panjang karakter yang benar', + less: 'Silahkan isi kurang dari %s karakter', + more: 'Silahkan isi lebih dari %s karakter', + }, + uri: { + default: 'Silahkan isi URI yang valid', + }, + uuid: { + default: 'Silahkan isi nomor UUID yang valid', + version: 'Silahkan si nomor versi %s UUID yang valid', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgium', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Switzerland', + CY: 'Cyprus', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + EE: 'Estonia', + EL: 'Yunani', + ES: 'Spanyol', + FI: 'Finlandia', + FR: 'Francis', + GB: 'Inggris', + GR: 'Yunani', + HR: 'Kroasia', + HU: 'Hungaria', + IE: 'Irlandia', + IS: 'Iceland', + IT: 'Italy', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Belanda', + NO: 'Norway', + PL: 'Polandia', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Sweden', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Afrika Selatan', + }, + country: 'Silahkan nomor VAT yang valid dalam %s', + default: 'Silahkan isi nomor VAT yang valid', + }, + vin: { + default: 'Silahkan isi nomor VIN yang valid', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Kanada', + CH: 'Switzerland', + CZ: 'Czech', + DE: 'Jerman', + DK: 'Denmark', + ES: 'Spanyol', + FR: 'Francis', + GB: 'Inggris', + IE: 'Irlandia', + IN: 'India', + IT: 'Italia', + MA: 'Maroko', + NL: 'Belanda', + PL: 'Polandia', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russia', + SE: 'Sweden', + SG: 'Singapura', + SK: 'Slovakia', + US: 'Amerika Serikat', + }, + country: 'Silahkan isi kode pos yang valid di %s', + default: 'Silahkan isi kode pos yang valid', + }, + }; + + return id_ID; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/id_ID.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/id_ID.min.js new file mode 100755 index 00000000..4038380a --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/id_ID.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.id_ID=factory())})(this,(function(){"use strict";var id_ID={base64:{default:"Silahkan isi karakter base 64 tersandi yang valid"},between:{default:"Silahkan isi nilai antara %s dan %s",notInclusive:"Silahkan isi nilai antara %s dan %s, strictly"},bic:{default:"Silahkan isi nomor BIC yang valid"},callback:{default:"Silahkan isi nilai yang valid"},choice:{between:"Silahkan pilih pilihan %s - %s",default:"Silahkan isi nilai yang valid",less:"Silahkan pilih pilihan %s pada minimum",more:"Silahkan pilih pilihan %s pada maksimum"},color:{default:"Silahkan isi karakter warna yang valid"},creditCard:{default:"Silahkan isi nomor kartu kredit yang valid"},cusip:{default:"Silahkan isi nomor CUSIP yang valid"},date:{default:"Silahkan isi tanggal yang benar",max:"Silahkan isi tanggal sebelum tanggal %s",min:"Silahkan isi tanggal setelah tanggal %s",range:"Silahkan isi tanggal antara %s - %s"},different:{default:"Silahkan isi nilai yang berbeda"},digits:{default:"Silahkan isi dengan hanya digit"},ean:{default:"Silahkan isi nomor EAN yang valid"},ein:{default:"Silahkan isi nomor EIN yang valid"},emailAddress:{default:"Silahkan isi alamat email yang valid"},file:{default:"Silahkan pilih file yang valid"},greaterThan:{default:"Silahkan isi nilai yang lebih besar atau sama dengan %s",notInclusive:"Silahkan is nilai yang lebih besar dari %s"},grid:{default:"Silahkan nomor GRId yang valid"},hex:{default:"Silahkan isi karakter hexadecimal yang valid"},iban:{countries:{AD:"Andorra",AE:"Uni Emirat Arab",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Pantai Gading",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech",DE:"Jerman",DK:"Denmark",DO:"Republik Dominika",DZ:"Algeria",EE:"Estonia",ES:"Spanyol",FI:"Finlandia",FO:"Faroe Islands",FR:"Francis",GB:"Inggris",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Yunani",GT:"Guatemala",HR:"Kroasia",HU:"Hungary",IE:"Irlandia",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Polandia",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Swedia",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Timor Leste",TN:"Tunisia",TR:"Turki",VG:"Virgin Islands, British",XK:"Kosovo"},country:"Silahkan isi nomor IBAN yang valid dalam %s",default:"silahkan isi nomor IBAN yang valid"},id:{countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"Cina",CZ:"Czech",DK:"Denmark",EE:"Estonia",ES:"Spanyol",FI:"Finlandia",HR:"Kroasia",IE:"Irlandia",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",PL:"Polandia",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Turki",ZA:"Africa Selatan"},country:"Silahkan isi nomor identitas yang valid dalam %s",default:"Silahkan isi nomor identitas yang valid"},identical:{default:"Silahkan isi nilai yang sama"},imei:{default:"Silahkan isi nomor IMEI yang valid"},imo:{default:"Silahkan isi nomor IMO yang valid"},integer:{default:"Silahkan isi angka yang valid"},ip:{default:"Silahkan isi alamat IP yang valid",ipv4:"Silahkan isi alamat IPv4 yang valid",ipv6:"Silahkan isi alamat IPv6 yang valid"},isbn:{default:"Slilahkan isi nomor ISBN yang valid"},isin:{default:"Silahkan isi ISIN yang valid"},ismn:{default:"Silahkan isi nomor ISMN yang valid"},issn:{default:"Silahkan isi nomor ISSN yang valid"},lessThan:{default:"Silahkan isi nilai kurang dari atau sama dengan %s",notInclusive:"Silahkan isi nilai kurang dari %s"},mac:{default:"Silahkan isi MAC address yang valid"},meid:{default:"Silahkan isi nomor MEID yang valid"},notEmpty:{default:"Silahkan isi"},numeric:{default:"Silahkan isi nomor yang valid"},phone:{countries:{AE:"Uni Emirat Arab",BG:"Bulgaria",BR:"Brazil",CN:"Cina",CZ:"Czech",DE:"Jerman",DK:"Denmark",ES:"Spanyol",FR:"Francis",GB:"Inggris",IN:"India",MA:"Maroko",NL:"Netherlands",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"Amerika Serikat",VE:"Venezuela"},country:"Silahkan isi nomor telepon yang valid dalam %s",default:"Silahkan isi nomor telepon yang valid"},promise:{default:"Silahkan isi nilai yang valid"},regexp:{default:"Silahkan isi nilai yang cocok dengan pola"},remote:{default:"Silahkan isi nilai yang valid"},rtn:{default:"Silahkan isi nomor RTN yang valid"},sedol:{default:"Silahkan isi nomor SEDOL yang valid"},siren:{default:"Silahkan isi nomor SIREN yang valid"},siret:{default:"Silahkan isi nomor SIRET yang valid"},step:{default:"Silahkan isi langkah yang benar pada %s"},stringCase:{default:"Silahkan isi hanya huruf kecil",upper:"Silahkan isi hanya huruf besar"},stringLength:{between:"Silahkan isi antara %s dan %s panjang karakter",default:"Silahkan isi nilai dengan panjang karakter yang benar",less:"Silahkan isi kurang dari %s karakter",more:"Silahkan isi lebih dari %s karakter"},uri:{default:"Silahkan isi URI yang valid"},uuid:{default:"Silahkan isi nomor UUID yang valid",version:"Silahkan si nomor versi %s UUID yang valid"},vat:{countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech",DE:"Jerman",DK:"Denmark",EE:"Estonia",EL:"Yunani",ES:"Spanyol",FI:"Finlandia",FR:"Francis",GB:"Inggris",GR:"Yunani",HR:"Kroasia",HU:"Hungaria",IE:"Irlandia",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Belanda",NO:"Norway",PL:"Polandia",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Afrika Selatan"},country:"Silahkan nomor VAT yang valid dalam %s",default:"Silahkan isi nomor VAT yang valid"},vin:{default:"Silahkan isi nomor VIN yang valid"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazil",CA:"Kanada",CH:"Switzerland",CZ:"Czech",DE:"Jerman",DK:"Denmark",ES:"Spanyol",FR:"Francis",GB:"Inggris",IE:"Irlandia",IN:"India",IT:"Italia",MA:"Maroko",NL:"Belanda",PL:"Polandia",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapura",SK:"Slovakia",US:"Amerika Serikat"},country:"Silahkan isi kode pos yang valid di %s",default:"Silahkan isi kode pos yang valid"}};return id_ID})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/it_IT.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/it_IT.js new file mode 100755 index 00000000..14586b0c --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/it_IT.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.it_IT = factory())); +})(this, (function () { 'use strict'; + + /** + * Italian language package + * Translated by @maramazza + */ + + var it_IT = { + base64: { + default: 'Si prega di inserire un valore codificato in Base 64', + }, + between: { + default: 'Si prega di inserire un valore tra %s e %s', + notInclusive: 'Si prega di scegliere rigorosamente un valore tra %s e %s', + }, + bic: { + default: 'Si prega di inserire un numero BIC valido', + }, + callback: { + default: 'Si prega di inserire un valore valido', + }, + choice: { + between: "Si prega di scegliere l'opzione tra %s e %s", + default: 'Si prega di inserire un valore valido', + less: "Si prega di scegliere come minimo l'opzione %s", + more: "Si prega di scegliere al massimo l'opzione %s", + }, + color: { + default: 'Si prega di inserire un colore valido', + }, + creditCard: { + default: 'Si prega di inserire un numero di carta di credito valido', + }, + cusip: { + default: 'Si prega di inserire un numero CUSIP valido', + }, + date: { + default: 'Si prega di inserire una data valida', + max: 'Si prega di inserire una data antecedente il %s', + min: 'Si prega di inserire una data successiva al %s', + range: 'Si prega di inserire una data compresa tra %s - %s', + }, + different: { + default: 'Si prega di inserire un valore differente', + }, + digits: { + default: 'Si prega di inserire solo numeri', + }, + ean: { + default: 'Si prega di inserire un numero EAN valido', + }, + ein: { + default: 'Si prega di inserire un numero EIN valido', + }, + emailAddress: { + default: 'Si prega di inserire un indirizzo email valido', + }, + file: { + default: 'Si prega di scegliere un file valido', + }, + greaterThan: { + default: 'Si prega di inserire un numero maggiore o uguale a %s', + notInclusive: 'Si prega di inserire un numero maggiore di %s', + }, + grid: { + default: 'Si prega di inserire un numero GRId valido', + }, + hex: { + default: 'Si prega di inserire un numero esadecimale valido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirati Arabi Uniti', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia-Erzegovina', + BE: 'Belgio', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasile', + CH: 'Svizzera', + CI: "Costa d'Avorio", + CM: 'Cameron', + CR: 'Costa Rica', + CV: 'Capo Verde', + CY: 'Cipro', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + DO: 'Repubblica Domenicana', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spagna', + FI: 'Finlandia', + FO: 'Isole Faroe', + FR: 'Francia', + GB: 'Regno Unito', + GE: 'Georgia', + GI: 'Gibilterra', + GL: 'Groenlandia', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croazia', + HU: 'Ungheria', + IE: 'Irlanda', + IL: 'Israele', + IR: 'Iran', + IS: 'Islanda', + IT: 'Italia', + JO: 'Giordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Libano', + LI: 'Liechtenstein', + LT: 'Lituania', + LU: 'Lussemburgo', + LV: 'Lettonia', + MC: 'Monaco', + MD: 'Moldavia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambico', + NL: 'Olanda', + NO: 'Norvegia', + PK: 'Pachistan', + PL: 'Polonia', + PS: 'Palestina', + PT: 'Portogallo', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Est', + TN: 'Tunisia', + TR: 'Turchia', + VG: 'Isole Vergini, Inghilterra', + XK: 'Repubblica del Kosovo', + }, + country: 'Si prega di inserire un numero IBAN valido per %s', + default: 'Si prega di inserire un numero IBAN valido', + }, + id: { + countries: { + BA: 'Bosnia-Erzegovina', + BG: 'Bulgaria', + BR: 'Brasile', + CH: 'Svizzera', + CL: 'Chile', + CN: 'Cina', + CZ: 'Republica Ceca', + DK: 'Danimarca', + EE: 'Estonia', + ES: 'Spagna', + FI: 'Finlandia', + HR: 'Croazia', + IE: 'Irlanda', + IS: 'Islanda', + LT: 'Lituania', + LV: 'Lettonia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Paesi Bassi', + PL: 'Polonia', + RO: 'Romania', + RS: 'Serbia', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + SM: 'San Marino', + TH: 'Thailandia', + TR: 'Turchia', + ZA: 'Sudafrica', + }, + country: 'Si prega di inserire un numero di identificazione valido per %s', + default: 'Si prega di inserire un numero di identificazione valido', + }, + identical: { + default: 'Si prega di inserire un valore identico', + }, + imei: { + default: 'Si prega di inserire un numero IMEI valido', + }, + imo: { + default: 'Si prega di inserire un numero IMO valido', + }, + integer: { + default: 'Si prega di inserire un numero valido', + }, + ip: { + default: 'Please enter a valid IP address', + ipv4: 'Si prega di inserire un indirizzo IPv4 valido', + ipv6: 'Si prega di inserire un indirizzo IPv6 valido', + }, + isbn: { + default: 'Si prega di inserire un numero ISBN valido', + }, + isin: { + default: 'Si prega di inserire un numero ISIN valido', + }, + ismn: { + default: 'Si prega di inserire un numero ISMN valido', + }, + issn: { + default: 'Si prega di inserire un numero ISSN valido', + }, + lessThan: { + default: 'Si prega di inserire un valore minore o uguale a %s', + notInclusive: 'Si prega di inserire un valore minore di %s', + }, + mac: { + default: 'Si prega di inserire un valido MAC address', + }, + meid: { + default: 'Si prega di inserire un numero MEID valido', + }, + notEmpty: { + default: 'Si prega di non lasciare il campo vuoto', + }, + numeric: { + default: 'Si prega di inserire un numero con decimali valido', + }, + phone: { + countries: { + AE: 'Emirati Arabi Uniti', + BG: 'Bulgaria', + BR: 'Brasile', + CN: 'Cina', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + ES: 'Spagna', + FR: 'Francia', + GB: 'Regno Unito', + IN: 'India', + MA: 'Marocco', + NL: 'Olanda', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Russia', + SK: 'Slovacchia', + TH: 'Thailandia', + US: "Stati Uniti d'America", + VE: 'Venezuelano', + }, + country: 'Si prega di inserire un numero di telefono valido per %s', + default: 'Si prega di inserire un numero di telefono valido', + }, + promise: { + default: 'Si prega di inserire un valore valido', + }, + regexp: { + default: 'Inserisci un valore che corrisponde al modello', + }, + remote: { + default: 'Si prega di inserire un valore valido', + }, + rtn: { + default: 'Si prega di inserire un numero RTN valido', + }, + sedol: { + default: 'Si prega di inserire un numero SEDOL valido', + }, + siren: { + default: 'Si prega di inserire un numero SIREN valido', + }, + siret: { + default: 'Si prega di inserire un numero SIRET valido', + }, + step: { + default: 'Si prega di inserire uno step valido di %s', + }, + stringCase: { + default: 'Si prega di inserire solo caratteri minuscoli', + upper: 'Si prega di inserire solo caratteri maiuscoli', + }, + stringLength: { + between: 'Si prega di inserire un numero di caratteri compreso tra %s e %s', + default: 'Si prega di inserire un valore con lunghezza valida', + less: 'Si prega di inserire meno di %s caratteri', + more: 'Si prega di inserire piu di %s caratteri', + }, + uri: { + default: 'Si prega di inserire un URI valido', + }, + uuid: { + default: 'Si prega di inserire un numero UUID valido', + version: 'Si prega di inserire un numero di versione UUID %s valido', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgio', + BG: 'Bulgaria', + BR: 'Brasiliano', + CH: 'Svizzera', + CY: 'Cipro', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'Spagna', + FI: 'Finlandia', + FR: 'Francia', + GB: 'Regno Unito', + GR: 'Grecia', + HR: 'Croazia', + HU: 'Ungheria', + IE: 'Irlanda', + IS: 'Islanda', + IT: 'Italia', + LT: 'Lituania', + LU: 'Lussemburgo', + LV: 'Lettonia', + MT: 'Malta', + NL: 'Olanda', + NO: 'Norvegia', + PL: 'Polonia', + PT: 'Portogallo', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russia', + SE: 'Svezia', + SI: 'Slovenia', + SK: 'Slovacchia', + VE: 'Venezuelano', + ZA: 'Sud Africano', + }, + country: 'Si prega di inserire un valore di IVA valido per %s', + default: 'Si prega di inserire un valore di IVA valido', + }, + vin: { + default: 'Si prega di inserire un numero VIN valido', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brasile', + CA: 'Canada', + CH: 'Svizzera', + CZ: 'Republica Ceca', + DE: 'Germania', + DK: 'Danimarca', + ES: 'Spagna', + FR: 'Francia', + GB: 'Regno Unito', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Marocco', + NL: 'Paesi Bassi', + PL: 'Polonia', + PT: 'Portogallo', + RO: 'Romania', + RU: 'Russia', + SE: 'Svezia', + SG: 'Singapore', + SK: 'Slovacchia', + US: "Stati Uniti d'America", + }, + country: 'Si prega di inserire un codice postale valido per %s', + default: 'Si prega di inserire un codice postale valido', + }, + }; + + return it_IT; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/it_IT.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/it_IT.min.js new file mode 100755 index 00000000..8f0967a8 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/it_IT.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.it_IT=factory())})(this,(function(){"use strict";var it_IT={base64:{default:"Si prega di inserire un valore codificato in Base 64"},between:{default:"Si prega di inserire un valore tra %s e %s",notInclusive:"Si prega di scegliere rigorosamente un valore tra %s e %s"},bic:{default:"Si prega di inserire un numero BIC valido"},callback:{default:"Si prega di inserire un valore valido"},choice:{between:"Si prega di scegliere l'opzione tra %s e %s",default:"Si prega di inserire un valore valido",less:"Si prega di scegliere come minimo l'opzione %s",more:"Si prega di scegliere al massimo l'opzione %s"},color:{default:"Si prega di inserire un colore valido"},creditCard:{default:"Si prega di inserire un numero di carta di credito valido"},cusip:{default:"Si prega di inserire un numero CUSIP valido"},date:{default:"Si prega di inserire una data valida",max:"Si prega di inserire una data antecedente il %s",min:"Si prega di inserire una data successiva al %s",range:"Si prega di inserire una data compresa tra %s - %s"},different:{default:"Si prega di inserire un valore differente"},digits:{default:"Si prega di inserire solo numeri"},ean:{default:"Si prega di inserire un numero EAN valido"},ein:{default:"Si prega di inserire un numero EIN valido"},emailAddress:{default:"Si prega di inserire un indirizzo email valido"},file:{default:"Si prega di scegliere un file valido"},greaterThan:{default:"Si prega di inserire un numero maggiore o uguale a %s",notInclusive:"Si prega di inserire un numero maggiore di %s"},grid:{default:"Si prega di inserire un numero GRId valido"},hex:{default:"Si prega di inserire un numero esadecimale valido"},iban:{countries:{AD:"Andorra",AE:"Emirati Arabi Uniti",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia-Erzegovina",BE:"Belgio",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasile",CH:"Svizzera",CI:"Costa d'Avorio",CM:"Cameron",CR:"Costa Rica",CV:"Capo Verde",CY:"Cipro",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",DO:"Repubblica Domenicana",DZ:"Algeria",EE:"Estonia",ES:"Spagna",FI:"Finlandia",FO:"Isole Faroe",FR:"Francia",GB:"Regno Unito",GE:"Georgia",GI:"Gibilterra",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croazia",HU:"Ungheria",IE:"Irlanda",IL:"Israele",IR:"Iran",IS:"Islanda",IT:"Italia",JO:"Giordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libano",LI:"Liechtenstein",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambico",NL:"Olanda",NO:"Norvegia",PK:"Pachistan",PL:"Polonia",PS:"Palestina",PT:"Portogallo",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Arabia Saudita",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",SM:"San Marino",SN:"Senegal",TL:"Timor Est",TN:"Tunisia",TR:"Turchia",VG:"Isole Vergini, Inghilterra",XK:"Repubblica del Kosovo"},country:"Si prega di inserire un numero IBAN valido per %s",default:"Si prega di inserire un numero IBAN valido"},id:{countries:{BA:"Bosnia-Erzegovina",BG:"Bulgaria",BR:"Brasile",CH:"Svizzera",CL:"Chile",CN:"Cina",CZ:"Republica Ceca",DK:"Danimarca",EE:"Estonia",ES:"Spagna",FI:"Finlandia",HR:"Croazia",IE:"Irlanda",IS:"Islanda",LT:"Lituania",LV:"Lettonia",ME:"Montenegro",MK:"Macedonia",NL:"Paesi Bassi",PL:"Polonia",RO:"Romania",RS:"Serbia",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",SM:"San Marino",TH:"Thailandia",TR:"Turchia",ZA:"Sudafrica"},country:"Si prega di inserire un numero di identificazione valido per %s",default:"Si prega di inserire un numero di identificazione valido"},identical:{default:"Si prega di inserire un valore identico"},imei:{default:"Si prega di inserire un numero IMEI valido"},imo:{default:"Si prega di inserire un numero IMO valido"},integer:{default:"Si prega di inserire un numero valido"},ip:{default:"Please enter a valid IP address",ipv4:"Si prega di inserire un indirizzo IPv4 valido",ipv6:"Si prega di inserire un indirizzo IPv6 valido"},isbn:{default:"Si prega di inserire un numero ISBN valido"},isin:{default:"Si prega di inserire un numero ISIN valido"},ismn:{default:"Si prega di inserire un numero ISMN valido"},issn:{default:"Si prega di inserire un numero ISSN valido"},lessThan:{default:"Si prega di inserire un valore minore o uguale a %s",notInclusive:"Si prega di inserire un valore minore di %s"},mac:{default:"Si prega di inserire un valido MAC address"},meid:{default:"Si prega di inserire un numero MEID valido"},notEmpty:{default:"Si prega di non lasciare il campo vuoto"},numeric:{default:"Si prega di inserire un numero con decimali valido"},phone:{countries:{AE:"Emirati Arabi Uniti",BG:"Bulgaria",BR:"Brasile",CN:"Cina",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",ES:"Spagna",FR:"Francia",GB:"Regno Unito",IN:"India",MA:"Marocco",NL:"Olanda",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovacchia",TH:"Thailandia",US:"Stati Uniti d'America",VE:"Venezuelano"},country:"Si prega di inserire un numero di telefono valido per %s",default:"Si prega di inserire un numero di telefono valido"},promise:{default:"Si prega di inserire un valore valido"},regexp:{default:"Inserisci un valore che corrisponde al modello"},remote:{default:"Si prega di inserire un valore valido"},rtn:{default:"Si prega di inserire un numero RTN valido"},sedol:{default:"Si prega di inserire un numero SEDOL valido"},siren:{default:"Si prega di inserire un numero SIREN valido"},siret:{default:"Si prega di inserire un numero SIRET valido"},step:{default:"Si prega di inserire uno step valido di %s"},stringCase:{default:"Si prega di inserire solo caratteri minuscoli",upper:"Si prega di inserire solo caratteri maiuscoli"},stringLength:{between:"Si prega di inserire un numero di caratteri compreso tra %s e %s",default:"Si prega di inserire un valore con lunghezza valida",less:"Si prega di inserire meno di %s caratteri",more:"Si prega di inserire piu di %s caratteri"},uri:{default:"Si prega di inserire un URI valido"},uuid:{default:"Si prega di inserire un numero UUID valido",version:"Si prega di inserire un numero di versione UUID %s valido"},vat:{countries:{AT:"Austria",BE:"Belgio",BG:"Bulgaria",BR:"Brasiliano",CH:"Svizzera",CY:"Cipro",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",EE:"Estonia",EL:"Grecia",ES:"Spagna",FI:"Finlandia",FR:"Francia",GB:"Regno Unito",GR:"Grecia",HR:"Croazia",HU:"Ungheria",IE:"Irlanda",IS:"Islanda",IT:"Italia",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",MT:"Malta",NL:"Olanda",NO:"Norvegia",PL:"Polonia",PT:"Portogallo",RO:"Romania",RS:"Serbia",RU:"Russia",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",VE:"Venezuelano",ZA:"Sud Africano"},country:"Si prega di inserire un valore di IVA valido per %s",default:"Si prega di inserire un valore di IVA valido"},vin:{default:"Si prega di inserire un numero VIN valido"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brasile",CA:"Canada",CH:"Svizzera",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",ES:"Spagna",FR:"Francia",GB:"Regno Unito",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Marocco",NL:"Paesi Bassi",PL:"Polonia",PT:"Portogallo",RO:"Romania",RU:"Russia",SE:"Svezia",SG:"Singapore",SK:"Slovacchia",US:"Stati Uniti d'America"},country:"Si prega di inserire un codice postale valido per %s",default:"Si prega di inserire un codice postale valido"}};return it_IT})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ja_JP.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ja_JP.js new file mode 100755 index 00000000..a70b47fb --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ja_JP.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ja_JP = factory())); +})(this, (function () { 'use strict'; + + /** + * Japanese language package + * Translated by @tsuyoshifujii + */ + + var ja_JP = { + base64: { + default: '有効なBase64エンコードを入力してください', + }, + between: { + default: '%sから%sの間で入力してください', + notInclusive: '厳密に%sから%sの間で入力してください', + }, + bic: { + default: '有効なBICコードを入力してください', + }, + callback: { + default: '有効な値を入力してください', + }, + choice: { + between: '%s - %s で選択してください', + default: '有効な値を入力してください', + less: '最低でも%sを選択してください', + more: '最大でも%sを選択してください', + }, + color: { + default: '有効なカラーコードを入力してください', + }, + creditCard: { + default: '有効なクレジットカード番号を入力してください', + }, + cusip: { + default: '有効なCUSIP番号を入力してください', + }, + date: { + default: '有効な日付を入力してください', + max: '%s の前に有効な日付を入力してください', + min: '%s 後に有効な日付を入力してください', + range: '%s - %s の間に有効な日付を入力してください', + }, + different: { + default: '異なる値を入力してください', + }, + digits: { + default: '数字のみで入力してください', + }, + ean: { + default: '有効なEANコードを入力してください', + }, + ein: { + default: '有効なEINコードを入力してください', + }, + emailAddress: { + default: '有効なメールアドレスを入力してください', + }, + file: { + default: '有効なファイルを選択してください', + }, + greaterThan: { + default: '%sより大きい値を入力してください', + notInclusive: '%sより大きい値を入力してください', + }, + grid: { + default: '有効なGRIdコードを入力してください', + }, + hex: { + default: '有効な16進数を入力してください。', + }, + iban: { + countries: { + AD: 'アンドラ', + AE: 'アラブ首長国連邦', + AL: 'アルバニア', + AO: 'アンゴラ', + AT: 'オーストリア', + AZ: 'アゼルバイジャン', + BA: 'ボスニア·ヘルツェゴビナ', + BE: 'ベルギー', + BF: 'ブルキナファソ', + BG: 'ブルガリア', + BH: 'バーレーン', + BI: 'ブルンジ', + BJ: 'ベナン', + BR: 'ブラジル', + CH: 'スイス', + CI: '象牙海岸', + CM: 'カメルーン', + CR: 'コスタリカ', + CV: 'カーボベルデ', + CY: 'キプロス', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + DO: 'ドミニカ共和国', + DZ: 'アルジェリア', + EE: 'エストニア', + ES: 'スペイン', + FI: 'フィンランド', + FO: 'フェロー諸島', + FR: 'フランス', + GB: 'イギリス', + GE: 'グルジア', + GI: 'ジブラルタル', + GL: 'グリーンランド', + GR: 'ギリシャ', + GT: 'グアテマラ', + HR: 'クロアチア', + HU: 'ハンガリー', + IE: 'アイルランド', + IL: 'イスラエル', + IR: 'イラン', + IS: 'アイスランド', + IT: 'イタリア', + JO: 'ヨルダン', + KW: 'クウェート', + KZ: 'カザフスタン', + LB: 'レバノン', + LI: 'リヒテンシュタイン', + LT: 'リトアニア', + LU: 'ルクセンブルグ', + LV: 'ラトビア', + MC: 'モナコ', + MD: 'モルドバ', + ME: 'モンテネグロ', + MG: 'マダガスカル', + MK: 'マケドニア', + ML: 'マリ', + MR: 'モーリタニア', + MT: 'マルタ', + MU: 'モーリシャス', + MZ: 'モザンビーク', + NL: 'オランダ', + NO: 'ノルウェー', + PK: 'パキスタン', + PL: 'ポーランド', + PS: 'パレスチナ', + PT: 'ポルトガル', + QA: 'カタール', + RO: 'ルーマニア', + RS: 'セルビア', + SA: 'サウジアラビア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + SM: 'サン·マリノ', + SN: 'セネガル', + TL: '東チモール', + TN: 'チュニジア', + TR: 'トルコ', + VG: '英領バージン諸島', + XK: 'コソボ共和国', + }, + country: '有効な%sのIBANコードを入力してください', + default: '有効なIBANコードを入力してください', + }, + id: { + countries: { + BA: 'スニア·ヘルツェゴビナ', + BG: 'ブルガリア', + BR: 'ブラジル', + CH: 'スイス', + CL: 'チリ', + CN: 'チャイナ', + CZ: 'チェコ共和国', + DK: 'デンマーク', + EE: 'エストニア', + ES: 'スペイン', + FI: 'フィンランド', + HR: 'クロアチア', + IE: 'アイルランド', + IS: 'アイスランド', + LT: 'リトアニア', + LV: 'ラトビア', + ME: 'モンテネグロ', + MK: 'マケドニア', + NL: 'オランダ', + PL: 'ポーランド', + RO: 'ルーマニア', + RS: 'セルビア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + SM: 'サン·マリノ', + TH: 'タイ国', + TR: 'トルコ', + ZA: '南アフリカ', + }, + country: '有効な%sのIDを入力してください', + default: '有効なIDを入力してください', + }, + identical: { + default: '同じ値を入力してください', + }, + imei: { + default: '有効なIMEIを入力してください', + }, + imo: { + default: '有効なIMOを入力してください', + }, + integer: { + default: '有効な数値を入力してください', + }, + ip: { + default: '有効なIPアドレスを入力してください', + ipv4: '有効なIPv4アドレスを入力してください', + ipv6: '有効なIPv6アドレスを入力してください', + }, + isbn: { + default: '有効なISBN番号を入力してください', + }, + isin: { + default: '有効なISIN番号を入力してください', + }, + ismn: { + default: '有効なISMN番号を入力してください', + }, + issn: { + default: '有効なISSN番号を入力してください', + }, + lessThan: { + default: '%s未満の値を入力してください', + notInclusive: '%s未満の値を入力してください', + }, + mac: { + default: '有効なMACアドレスを入力してください', + }, + meid: { + default: '有効なMEID番号を入力してください', + }, + notEmpty: { + default: '値を入力してください', + }, + numeric: { + default: '有効な浮動小数点数値を入力してください。', + }, + phone: { + countries: { + AE: 'アラブ首長国連邦', + BG: 'ブルガリア', + BR: 'ブラジル', + CN: 'チャイナ', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + ES: 'スペイン', + FR: 'フランス', + GB: 'イギリス', + IN: 'インド', + MA: 'モロッコ', + NL: 'オランダ', + PK: 'パキスタン', + RO: 'ルーマニア', + RU: 'ロシア', + SK: 'スロバキア', + TH: 'タイ国', + US: 'アメリカ', + VE: 'ベネズエラ', + }, + country: '有効な%sの電話番号を入力してください', + default: '有効な電話番号を入力してください', + }, + promise: { + default: '有効な値を入力してください', + }, + regexp: { + default: '正規表現に一致する値を入力してください', + }, + remote: { + default: '有効な値を入力してください。', + }, + rtn: { + default: '有効なRTN番号を入力してください', + }, + sedol: { + default: '有効なSEDOL番号を入力してください', + }, + siren: { + default: '有効なSIREN番号を入力してください', + }, + siret: { + default: '有効なSIRET番号を入力してください', + }, + step: { + default: '%sの有効なステップを入力してください', + }, + stringCase: { + default: '小文字のみで入力してください', + upper: '大文字のみで入力してください', + }, + stringLength: { + between: '%s文字から%s文字の間で入力してください', + default: '有効な長さの値を入力してください', + less: '%s文字未満で入力してください', + more: '%s文字より大きく入力してください', + }, + uri: { + default: '有効なURIを入力してください。', + }, + uuid: { + default: '有効なUUIDを入力してください', + version: '有効なバージョン%s UUIDを入力してください', + }, + vat: { + countries: { + AT: 'オーストリア', + BE: 'ベルギー', + BG: 'ブルガリア', + BR: 'ブラジル', + CH: 'スイス', + CY: 'キプロス等', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + EE: 'エストニア', + EL: 'ギリシャ', + ES: 'スペイン', + FI: 'フィンランド', + FR: 'フランス', + GB: 'イギリス', + GR: 'ギリシャ', + HR: 'クロアチア', + HU: 'ハンガリー', + IE: 'アイルランド', + IS: 'アイスランド', + IT: 'イタリア', + LT: 'リトアニア', + LU: 'ルクセンブルグ', + LV: 'ラトビア', + MT: 'マルタ', + NL: 'オランダ', + NO: 'ノルウェー', + PL: 'ポーランド', + PT: 'ポルトガル', + RO: 'ルーマニア', + RS: 'セルビア', + RU: 'ロシア', + SE: 'スウェーデン', + SI: 'スロベニア', + SK: 'スロバキア', + VE: 'ベネズエラ', + ZA: '南アフリカ', + }, + country: '有効な%sのVAT番号を入力してください', + default: '有効なVAT番号を入力してください', + }, + vin: { + default: '有効なVIN番号を入力してください', + }, + zipCode: { + countries: { + AT: 'オーストリア', + BG: 'ブルガリア', + BR: 'ブラジル', + CA: 'カナダ', + CH: 'スイス', + CZ: 'チェコ共和国', + DE: 'ドイツ', + DK: 'デンマーク', + ES: 'スペイン', + FR: 'フランス', + GB: 'イギリス', + IE: 'アイルランド', + IN: 'インド', + IT: 'イタリア', + MA: 'モロッコ', + NL: 'オランダ', + PL: 'ポーランド', + PT: 'ポルトガル', + RO: 'ルーマニア', + RU: 'ロシア', + SE: 'スウェーデン', + SG: 'シンガポール', + SK: 'スロバキア', + US: 'アメリカ', + }, + country: '有効な%sの郵便番号を入力してください', + default: '有効な郵便番号を入力してください', + }, + }; + + return ja_JP; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ja_JP.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ja_JP.min.js new file mode 100755 index 00000000..36103934 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ja_JP.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ja_JP=factory())})(this,(function(){"use strict";var ja_JP={base64:{default:"有効なBase64エンコードを入力してください"},between:{default:"%sから%sの間で入力してください",notInclusive:"厳密に%sから%sの間で入力してください"},bic:{default:"有効なBICコードを入力してください"},callback:{default:"有効な値を入力してください"},choice:{between:"%s - %s で選択してください",default:"有効な値を入力してください",less:"最低でも%sを選択してください",more:"最大でも%sを選択してください"},color:{default:"有効なカラーコードを入力してください"},creditCard:{default:"有効なクレジットカード番号を入力してください"},cusip:{default:"有効なCUSIP番号を入力してください"},date:{default:"有効な日付を入力してください",max:"%s の前に有効な日付を入力してください",min:"%s 後に有効な日付を入力してください",range:"%s - %s の間に有効な日付を入力してください"},different:{default:"異なる値を入力してください"},digits:{default:"数字のみで入力してください"},ean:{default:"有効なEANコードを入力してください"},ein:{default:"有効なEINコードを入力してください"},emailAddress:{default:"有効なメールアドレスを入力してください"},file:{default:"有効なファイルを選択してください"},greaterThan:{default:"%sより大きい値を入力してください",notInclusive:"%sより大きい値を入力してください"},grid:{default:"有効なGRIdコードを入力してください"},hex:{default:"有効な16進数を入力してください。"},iban:{countries:{AD:"アンドラ",AE:"アラブ首長国連邦",AL:"アルバニア",AO:"アンゴラ",AT:"オーストリア",AZ:"アゼルバイジャン",BA:"ボスニア·ヘルツェゴビナ",BE:"ベルギー",BF:"ブルキナファソ",BG:"ブルガリア",BH:"バーレーン",BI:"ブルンジ",BJ:"ベナン",BR:"ブラジル",CH:"スイス",CI:"象牙海岸",CM:"カメルーン",CR:"コスタリカ",CV:"カーボベルデ",CY:"キプロス",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",DO:"ドミニカ共和国",DZ:"アルジェリア",EE:"エストニア",ES:"スペイン",FI:"フィンランド",FO:"フェロー諸島",FR:"フランス",GB:"イギリス",GE:"グルジア",GI:"ジブラルタル",GL:"グリーンランド",GR:"ギリシャ",GT:"グアテマラ",HR:"クロアチア",HU:"ハンガリー",IE:"アイルランド",IL:"イスラエル",IR:"イラン",IS:"アイスランド",IT:"イタリア",JO:"ヨルダン",KW:"クウェート",KZ:"カザフスタン",LB:"レバノン",LI:"リヒテンシュタイン",LT:"リトアニア",LU:"ルクセンブルグ",LV:"ラトビア",MC:"モナコ",MD:"モルドバ",ME:"モンテネグロ",MG:"マダガスカル",MK:"マケドニア",ML:"マリ",MR:"モーリタニア",MT:"マルタ",MU:"モーリシャス",MZ:"モザンビーク",NL:"オランダ",NO:"ノルウェー",PK:"パキスタン",PL:"ポーランド",PS:"パレスチナ",PT:"ポルトガル",QA:"カタール",RO:"ルーマニア",RS:"セルビア",SA:"サウジアラビア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",SM:"サン·マリノ",SN:"セネガル",TL:"東チモール",TN:"チュニジア",TR:"トルコ",VG:"英領バージン諸島",XK:"コソボ共和国"},country:"有効な%sのIBANコードを入力してください",default:"有効なIBANコードを入力してください"},id:{countries:{BA:"スニア·ヘルツェゴビナ",BG:"ブルガリア",BR:"ブラジル",CH:"スイス",CL:"チリ",CN:"チャイナ",CZ:"チェコ共和国",DK:"デンマーク",EE:"エストニア",ES:"スペイン",FI:"フィンランド",HR:"クロアチア",IE:"アイルランド",IS:"アイスランド",LT:"リトアニア",LV:"ラトビア",ME:"モンテネグロ",MK:"マケドニア",NL:"オランダ",PL:"ポーランド",RO:"ルーマニア",RS:"セルビア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",SM:"サン·マリノ",TH:"タイ国",TR:"トルコ",ZA:"南アフリカ"},country:"有効な%sのIDを入力してください",default:"有効なIDを入力してください"},identical:{default:"同じ値を入力してください"},imei:{default:"有効なIMEIを入力してください"},imo:{default:"有効なIMOを入力してください"},integer:{default:"有効な数値を入力してください"},ip:{default:"有効なIPアドレスを入力してください",ipv4:"有効なIPv4アドレスを入力してください",ipv6:"有効なIPv6アドレスを入力してください"},isbn:{default:"有効なISBN番号を入力してください"},isin:{default:"有効なISIN番号を入力してください"},ismn:{default:"有効なISMN番号を入力してください"},issn:{default:"有効なISSN番号を入力してください"},lessThan:{default:"%s未満の値を入力してください",notInclusive:"%s未満の値を入力してください"},mac:{default:"有効なMACアドレスを入力してください"},meid:{default:"有効なMEID番号を入力してください"},notEmpty:{default:"値を入力してください"},numeric:{default:"有効な浮動小数点数値を入力してください。"},phone:{countries:{AE:"アラブ首長国連邦",BG:"ブルガリア",BR:"ブラジル",CN:"チャイナ",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",ES:"スペイン",FR:"フランス",GB:"イギリス",IN:"インド",MA:"モロッコ",NL:"オランダ",PK:"パキスタン",RO:"ルーマニア",RU:"ロシア",SK:"スロバキア",TH:"タイ国",US:"アメリカ",VE:"ベネズエラ"},country:"有効な%sの電話番号を入力してください",default:"有効な電話番号を入力してください"},promise:{default:"有効な値を入力してください"},regexp:{default:"正規表現に一致する値を入力してください"},remote:{default:"有効な値を入力してください。"},rtn:{default:"有効なRTN番号を入力してください"},sedol:{default:"有効なSEDOL番号を入力してください"},siren:{default:"有効なSIREN番号を入力してください"},siret:{default:"有効なSIRET番号を入力してください"},step:{default:"%sの有効なステップを入力してください"},stringCase:{default:"小文字のみで入力してください",upper:"大文字のみで入力してください"},stringLength:{between:"%s文字から%s文字の間で入力してください",default:"有効な長さの値を入力してください",less:"%s文字未満で入力してください",more:"%s文字より大きく入力してください"},uri:{default:"有効なURIを入力してください。"},uuid:{default:"有効なUUIDを入力してください",version:"有効なバージョン%s UUIDを入力してください"},vat:{countries:{AT:"オーストリア",BE:"ベルギー",BG:"ブルガリア",BR:"ブラジル",CH:"スイス",CY:"キプロス等",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",EE:"エストニア",EL:"ギリシャ",ES:"スペイン",FI:"フィンランド",FR:"フランス",GB:"イギリス",GR:"ギリシャ",HR:"クロアチア",HU:"ハンガリー",IE:"アイルランド",IS:"アイスランド",IT:"イタリア",LT:"リトアニア",LU:"ルクセンブルグ",LV:"ラトビア",MT:"マルタ",NL:"オランダ",NO:"ノルウェー",PL:"ポーランド",PT:"ポルトガル",RO:"ルーマニア",RS:"セルビア",RU:"ロシア",SE:"スウェーデン",SI:"スロベニア",SK:"スロバキア",VE:"ベネズエラ",ZA:"南アフリカ"},country:"有効な%sのVAT番号を入力してください",default:"有効なVAT番号を入力してください"},vin:{default:"有効なVIN番号を入力してください"},zipCode:{countries:{AT:"オーストリア",BG:"ブルガリア",BR:"ブラジル",CA:"カナダ",CH:"スイス",CZ:"チェコ共和国",DE:"ドイツ",DK:"デンマーク",ES:"スペイン",FR:"フランス",GB:"イギリス",IE:"アイルランド",IN:"インド",IT:"イタリア",MA:"モロッコ",NL:"オランダ",PL:"ポーランド",PT:"ポルトガル",RO:"ルーマニア",RU:"ロシア",SE:"スウェーデン",SG:"シンガポール",SK:"スロバキア",US:"アメリカ"},country:"有効な%sの郵便番号を入力してください",default:"有効な郵便番号を入力してください"}};return ja_JP})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_BE.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_BE.js new file mode 100755 index 00000000..6005dec4 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_BE.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.nl_BE = factory())); +})(this, (function () { 'use strict'; + + /** + * Belgium (Dutch) language package + * Translated by @dokterpasta. Improved by @jdt + */ + + var nl_BE = { + base64: { + default: 'Geef een geldige base 64 geëncodeerde tekst in', + }, + between: { + default: 'Geef een waarde in van %s tot en met %s', + notInclusive: 'Geef een waarde in van %s tot %s', + }, + bic: { + default: 'Geef een geldig BIC-nummer in', + }, + callback: { + default: 'Geef een geldige waarde in', + }, + choice: { + between: 'Kies tussen de %s en %s opties', + default: 'Geef een geldige waarde in', + less: 'Kies minimaal %s opties', + more: 'Kies maximaal %s opties', + }, + color: { + default: 'Geef een geldige kleurcode in', + }, + creditCard: { + default: 'Geef een geldig kredietkaartnummer in', + }, + cusip: { + default: 'Geef een geldig CUSIP-nummer in', + }, + date: { + default: 'Geef een geldige datum in', + max: 'Geef een datum in die voor %s ligt', + min: 'Geef een datum in die na %s ligt', + range: 'Geef een datum in die tussen %s en %s ligt', + }, + different: { + default: 'Geef een andere waarde in', + }, + digits: { + default: 'Geef alleen cijfers in', + }, + ean: { + default: 'Geef een geldig EAN-nummer in', + }, + ein: { + default: 'Geef een geldig EIN-nummer in', + }, + emailAddress: { + default: 'Geef een geldig emailadres op', + }, + file: { + default: 'Kies een geldig bestand', + }, + greaterThan: { + default: 'Geef een waarde in die gelijk is aan of groter is dan %s', + notInclusive: 'Geef een waarde in die groter is dan %s', + }, + grid: { + default: 'Geef een geldig GRID-nummer in', + }, + hex: { + default: 'Geef een geldig hexadecimaal nummer in', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Verenigde Arabische Emiraten', + AL: 'Albania', + AO: 'Angola', + AT: 'Oostenrijk', + AZ: 'Azerbeidzjan', + BA: 'Bosnië en Herzegovina', + BE: 'België', + BF: 'Burkina Faso', + BG: 'Bulgarije"', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilië', + CH: 'Zwitserland', + CI: 'Ivoorkust', + CM: 'Kameroen', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + DO: 'Dominicaanse Republiek', + DZ: 'Algerije', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + FO: 'Faeröer', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenland', + GR: 'Griekenland', + GT: 'Guatemala', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IL: 'Israël', + IR: 'Iran', + IS: 'IJsland', + IT: 'Italië', + JO: 'Jordan', + KW: 'Koeweit', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldavië', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonië', + ML: 'Mali', + MR: 'Mauretanië', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Nederland', + NO: 'Noorwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestijnse', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roemenië', + RS: 'Servië', + SA: 'Saudi-Arabië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Oost-Timor', + TN: 'Tunesië', + TR: 'Turkije', + VG: 'Britse Maagdeneilanden', + XK: 'Republiek Kosovo', + }, + country: 'Geef een geldig IBAN-nummer in uit %s', + default: 'Geef een geldig IBAN-nummer in', + }, + id: { + countries: { + BA: 'Bosnië en Herzegovina', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CL: 'Chili', + CN: 'China', + CZ: 'Tsjechische', + DK: 'Denemarken', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + HR: 'Kroatië', + IE: 'Ierland', + IS: 'IJsland', + LT: 'Litouwen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Macedonië', + NL: 'Nederland', + PL: 'Polen', + RO: 'Roemenië', + RS: 'Servië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkije', + ZA: 'Zuid-Afrika', + }, + country: 'Geef een geldig identificatienummer in uit %s', + default: 'Geef een geldig identificatienummer in', + }, + identical: { + default: 'Geef dezelfde waarde in', + }, + imei: { + default: 'Geef een geldig IMEI-nummer in', + }, + imo: { + default: 'Geef een geldig IMO-nummer in', + }, + integer: { + default: 'Geef een geldig nummer in', + }, + ip: { + default: 'Geef een geldig IP-adres in', + ipv4: 'Geef een geldig IPv4-adres in', + ipv6: 'Geef een geldig IPv6-adres in', + }, + isbn: { + default: 'Geef een geldig ISBN-nummer in', + }, + isin: { + default: 'Geef een geldig ISIN-nummer in', + }, + ismn: { + default: 'Geef een geldig ISMN-nummer in', + }, + issn: { + default: 'Geef een geldig ISSN-nummer in', + }, + lessThan: { + default: 'Geef een waarde in die gelijk is aan of kleiner is dan %s', + notInclusive: 'Geef een waarde in die kleiner is dan %s', + }, + mac: { + default: 'Geef een geldig MAC-adres in', + }, + meid: { + default: 'Geef een geldig MEID-nummer in', + }, + notEmpty: { + default: 'Geef een waarde in', + }, + numeric: { + default: 'Geef een geldig kommagetal in', + }, + phone: { + countries: { + AE: 'Verenigde Arabische Emiraten', + BG: 'Bulgarije', + BR: 'Brazilië', + CN: 'China', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IN: 'Indië', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Roemenië', + RU: 'Rusland', + SK: 'Slowakije', + TH: 'Thailand', + US: 'VS', + VE: 'Venezuela', + }, + country: 'Geef een geldig telefoonnummer in uit %s', + default: 'Geef een geldig telefoonnummer in', + }, + promise: { + default: 'Geef een geldige waarde in', + }, + regexp: { + default: 'Geef een waarde in die overeenkomt met het patroon', + }, + remote: { + default: 'Geef een geldige waarde in', + }, + rtn: { + default: 'Geef een geldig RTN-nummer in', + }, + sedol: { + default: 'Geef een geldig SEDOL-nummer in', + }, + siren: { + default: 'Geef een geldig SIREN-nummer in', + }, + siret: { + default: 'Geef een geldig SIRET-nummer in', + }, + step: { + default: 'Geef een geldig meervoud in van %s', + }, + stringCase: { + default: 'Geef enkel kleine letters in', + upper: 'Geef enkel hoofdletters in', + }, + stringLength: { + between: 'Geef tussen %s en %s karakters in', + default: 'Geef een waarde in met de juiste lengte', + less: 'Geef minder dan %s karakters in', + more: 'Geef meer dan %s karakters in', + }, + uri: { + default: 'Geef een geldige URI in', + }, + uuid: { + default: 'Geef een geldig UUID-nummer in', + version: 'Geef een geldig UUID-nummer (versie %s) in', + }, + vat: { + countries: { + AT: 'Oostenrijk', + BE: 'België', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CY: 'Cyprus', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + EE: 'Estland', + EL: 'Griekenland', + ES: 'Spanje', + FI: 'Finland', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GR: 'Griekenland', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IS: 'IJsland', + IT: 'Italië', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MT: 'Malta', + NL: 'Nederland', + NO: 'Noorwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RS: 'Servië', + RU: 'Rusland', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + VE: 'Venezuela', + ZA: 'Zuid-Afrika', + }, + country: 'Geef een geldig BTW-nummer in uit %s', + default: 'Geef een geldig BTW-nummer in', + }, + vin: { + default: 'Geef een geldig VIN-nummer in', + }, + zipCode: { + countries: { + AT: 'Oostenrijk', + BG: 'Bulgarije', + BR: 'Brazilië', + CA: 'Canada', + CH: 'Zwitserland', + CZ: 'Tsjechische', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IE: 'Ierland', + IN: 'Indië', + IT: 'Italië', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RU: 'Rusland', + SE: 'Zweden', + SG: 'Singapore', + SK: 'Slowakije', + US: 'VS', + }, + country: 'Geef een geldige postcode in uit %s', + default: 'Geef een geldige postcode in', + }, + }; + + return nl_BE; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_BE.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_BE.min.js new file mode 100755 index 00000000..fa1f1184 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_BE.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.nl_BE=factory())})(this,(function(){"use strict";var nl_BE={base64:{default:"Geef een geldige base 64 geëncodeerde tekst in"},between:{default:"Geef een waarde in van %s tot en met %s",notInclusive:"Geef een waarde in van %s tot %s"},bic:{default:"Geef een geldig BIC-nummer in"},callback:{default:"Geef een geldige waarde in"},choice:{between:"Kies tussen de %s en %s opties",default:"Geef een geldige waarde in",less:"Kies minimaal %s opties",more:"Kies maximaal %s opties"},color:{default:"Geef een geldige kleurcode in"},creditCard:{default:"Geef een geldig kredietkaartnummer in"},cusip:{default:"Geef een geldig CUSIP-nummer in"},date:{default:"Geef een geldige datum in",max:"Geef een datum in die voor %s ligt",min:"Geef een datum in die na %s ligt",range:"Geef een datum in die tussen %s en %s ligt"},different:{default:"Geef een andere waarde in"},digits:{default:"Geef alleen cijfers in"},ean:{default:"Geef een geldig EAN-nummer in"},ein:{default:"Geef een geldig EIN-nummer in"},emailAddress:{default:"Geef een geldig emailadres op"},file:{default:"Kies een geldig bestand"},greaterThan:{default:"Geef een waarde in die gelijk is aan of groter is dan %s",notInclusive:"Geef een waarde in die groter is dan %s"},grid:{default:"Geef een geldig GRID-nummer in"},hex:{default:"Geef een geldig hexadecimaal nummer in"},iban:{countries:{AD:"Andorra",AE:"Verenigde Arabische Emiraten",AL:"Albania",AO:"Angola",AT:"Oostenrijk",AZ:"Azerbeidzjan",BA:"Bosnië en Herzegovina",BE:"België",BF:"Burkina Faso",BG:'Bulgarije"',BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazilië",CH:"Zwitserland",CI:"Ivoorkust",CM:"Kameroen",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",DO:"Dominicaanse Republiek",DZ:"Algerije",EE:"Estland",ES:"Spanje",FI:"Finland",FO:"Faeröer",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GE:"Georgia",GI:"Gibraltar",GL:"Groenland",GR:"Griekenland",GT:"Guatemala",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IL:"Israël",IR:"Iran",IS:"IJsland",IT:"Italië",JO:"Jordan",KW:"Koeweit",KZ:"Kazachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MC:"Monaco",MD:"Moldavië",ME:"Montenegro",MG:"Madagascar",MK:"Macedonië",ML:"Mali",MR:"Mauretanië",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Nederland",NO:"Noorwegen",PK:"Pakistan",PL:"Polen",PS:"Palestijnse",PT:"Portugal",QA:"Qatar",RO:"Roemenië",RS:"Servië",SA:"Saudi-Arabië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",SN:"Senegal",TL:"Oost-Timor",TN:"Tunesië",TR:"Turkije",VG:"Britse Maagdeneilanden",XK:"Republiek Kosovo"},country:"Geef een geldig IBAN-nummer in uit %s",default:"Geef een geldig IBAN-nummer in"},id:{countries:{BA:"Bosnië en Herzegovina",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CL:"Chili",CN:"China",CZ:"Tsjechische",DK:"Denemarken",EE:"Estland",ES:"Spanje",FI:"Finland",HR:"Kroatië",IE:"Ierland",IS:"IJsland",LT:"Litouwen",LV:"Letland",ME:"Montenegro",MK:"Macedonië",NL:"Nederland",PL:"Polen",RO:"Roemenië",RS:"Servië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",TH:"Thailand",TR:"Turkije",ZA:"Zuid-Afrika"},country:"Geef een geldig identificatienummer in uit %s",default:"Geef een geldig identificatienummer in"},identical:{default:"Geef dezelfde waarde in"},imei:{default:"Geef een geldig IMEI-nummer in"},imo:{default:"Geef een geldig IMO-nummer in"},integer:{default:"Geef een geldig nummer in"},ip:{default:"Geef een geldig IP-adres in",ipv4:"Geef een geldig IPv4-adres in",ipv6:"Geef een geldig IPv6-adres in"},isbn:{default:"Geef een geldig ISBN-nummer in"},isin:{default:"Geef een geldig ISIN-nummer in"},ismn:{default:"Geef een geldig ISMN-nummer in"},issn:{default:"Geef een geldig ISSN-nummer in"},lessThan:{default:"Geef een waarde in die gelijk is aan of kleiner is dan %s",notInclusive:"Geef een waarde in die kleiner is dan %s"},mac:{default:"Geef een geldig MAC-adres in"},meid:{default:"Geef een geldig MEID-nummer in"},notEmpty:{default:"Geef een waarde in"},numeric:{default:"Geef een geldig kommagetal in"},phone:{countries:{AE:"Verenigde Arabische Emiraten",BG:"Bulgarije",BR:"Brazilië",CN:"China",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IN:"Indië",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Roemenië",RU:"Rusland",SK:"Slowakije",TH:"Thailand",US:"VS",VE:"Venezuela"},country:"Geef een geldig telefoonnummer in uit %s",default:"Geef een geldig telefoonnummer in"},promise:{default:"Geef een geldige waarde in"},regexp:{default:"Geef een waarde in die overeenkomt met het patroon"},remote:{default:"Geef een geldige waarde in"},rtn:{default:"Geef een geldig RTN-nummer in"},sedol:{default:"Geef een geldig SEDOL-nummer in"},siren:{default:"Geef een geldig SIREN-nummer in"},siret:{default:"Geef een geldig SIRET-nummer in"},step:{default:"Geef een geldig meervoud in van %s"},stringCase:{default:"Geef enkel kleine letters in",upper:"Geef enkel hoofdletters in"},stringLength:{between:"Geef tussen %s en %s karakters in",default:"Geef een waarde in met de juiste lengte",less:"Geef minder dan %s karakters in",more:"Geef meer dan %s karakters in"},uri:{default:"Geef een geldige URI in"},uuid:{default:"Geef een geldig UUID-nummer in",version:"Geef een geldig UUID-nummer (versie %s) in"},vat:{countries:{AT:"Oostenrijk",BE:"België",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CY:"Cyprus",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",EE:"Estland",EL:"Griekenland",ES:"Spanje",FI:"Finland",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GR:"Griekenland",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IS:"IJsland",IT:"Italië",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MT:"Malta",NL:"Nederland",NO:"Noorwegen",PL:"Polen",PT:"Portugal",RO:"Roemenië",RS:"Servië",RU:"Rusland",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",VE:"Venezuela",ZA:"Zuid-Afrika"},country:"Geef een geldig BTW-nummer in uit %s",default:"Geef een geldig BTW-nummer in"},vin:{default:"Geef een geldig VIN-nummer in"},zipCode:{countries:{AT:"Oostenrijk",BG:"Bulgarije",BR:"Brazilië",CA:"Canada",CH:"Zwitserland",CZ:"Tsjechische",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IE:"Ierland",IN:"Indië",IT:"Italië",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Roemenië",RU:"Rusland",SE:"Zweden",SG:"Singapore",SK:"Slowakije",US:"VS"},country:"Geef een geldige postcode in uit %s",default:"Geef een geldige postcode in"}};return nl_BE})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_NL.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_NL.js new file mode 100755 index 00000000..43c9fcfe --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_NL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.nl_NL = factory())); +})(this, (function () { 'use strict'; + + /** + * The Dutch language package + * Translated by @jvanderheide + */ + + var nl_NL = { + base64: { + default: 'Voer een geldige Base64 geëncodeerde tekst in', + }, + between: { + default: 'Voer een waarde in van %s tot en met %s', + notInclusive: 'Voer een waarde die tussen %s en %s ligt', + }, + bic: { + default: 'Voer een geldige BIC-code in', + }, + callback: { + default: 'Voer een geldige waarde in', + }, + choice: { + between: 'Kies tussen de %s - %s opties', + default: 'Voer een geldige waarde in', + less: 'Kies minimaal %s optie(s)', + more: 'Kies maximaal %s opties', + }, + color: { + default: 'Voer een geldige kleurcode in', + }, + creditCard: { + default: 'Voer een geldig creditcardnummer in', + }, + cusip: { + default: 'Voer een geldig CUSIP-nummer in', + }, + date: { + default: 'Voer een geldige datum in', + max: 'Voer een datum in die vóór %s ligt', + min: 'Voer een datum in die na %s ligt', + range: 'Voer een datum in die tussen %s en %s ligt', + }, + different: { + default: 'Voer een andere waarde in', + }, + digits: { + default: 'Voer enkel cijfers in', + }, + ean: { + default: 'Voer een geldige EAN-code in', + }, + ein: { + default: 'Voer een geldige EIN-code in', + }, + emailAddress: { + default: 'Voer een geldig e-mailadres in', + }, + file: { + default: 'Kies een geldig bestand', + }, + greaterThan: { + default: 'Voer een waarde in die gelijk is aan of groter is dan %s', + notInclusive: 'Voer een waarde in die is groter dan %s', + }, + grid: { + default: 'Voer een geldig GRId-nummer in', + }, + hex: { + default: 'Voer een geldig hexadecimaal nummer in', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Verenigde Arabische Emiraten', + AL: 'Albania', + AO: 'Angola', + AT: 'Oostenrijk', + AZ: 'Azerbeidzjan', + BA: 'Bosnië en Herzegovina', + BE: 'België', + BF: 'Burkina Faso', + BG: 'Bulgarije"', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilië', + CH: 'Zwitserland', + CI: 'Ivoorkust', + CM: 'Kameroen', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + DO: 'Dominicaanse Republiek', + DZ: 'Algerije', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + FO: 'Faeröer', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenland', + GR: 'Griekenland', + GT: 'Guatemala', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IL: 'Israël', + IR: 'Iran', + IS: 'IJsland', + IT: 'Italië', + JO: 'Jordan', + KW: 'Koeweit', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MC: 'Monaco', + MD: 'Moldavië', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonië', + ML: 'Mali', + MR: 'Mauretanië', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Nederland', + NO: 'Noorwegen', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestijnse', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roemenië', + RS: 'Servië', + SA: 'Saudi-Arabië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Oost-Timor', + TN: 'Tunesië', + TR: 'Turkije', + VG: 'Britse Maagdeneilanden', + XK: 'Republiek Kosovo', + }, + country: 'Voer een geldig IBAN nummer in uit %s', + default: 'Voer een geldig IBAN nummer in', + }, + id: { + countries: { + BA: 'Bosnië en Herzegovina', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CL: 'Chili', + CN: 'China', + CZ: 'Tsjechische Republiek', + DK: 'Denemarken', + EE: 'Estland', + ES: 'Spanje', + FI: 'Finland', + HR: 'Kroatië', + IE: 'Ierland', + IS: 'IJsland', + LT: 'Litouwen', + LV: 'Letland', + ME: 'Montenegro', + MK: 'Macedonië', + NL: 'Nederland', + PL: 'Polen', + RO: 'Roemenië', + RS: 'Servië', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkije', + ZA: 'Zuid-Afrika', + }, + country: 'Voer een geldig identificatie nummer in uit %s', + default: 'Voer een geldig identificatie nummer in', + }, + identical: { + default: 'Voer dezelfde waarde in', + }, + imei: { + default: 'Voer een geldig IMEI-nummer in', + }, + imo: { + default: 'Voer een geldig IMO-nummer in', + }, + integer: { + default: 'Voer een geldig getal in', + }, + ip: { + default: 'Voer een geldig IP adres in', + ipv4: 'Voer een geldig IPv4 adres in', + ipv6: 'Voer een geldig IPv6 adres in', + }, + isbn: { + default: 'Voer een geldig ISBN-nummer in', + }, + isin: { + default: 'Voer een geldig ISIN-nummer in', + }, + ismn: { + default: 'Voer een geldig ISMN-nummer in', + }, + issn: { + default: 'Voer een geldig ISSN-nummer in', + }, + lessThan: { + default: 'Voer een waarde in gelijk aan of kleiner dan %s', + notInclusive: 'Voer een waarde in kleiner dan %s', + }, + mac: { + default: 'Voer een geldig MAC adres in', + }, + meid: { + default: 'Voer een geldig MEID-nummer in', + }, + notEmpty: { + default: 'Voer een waarde in', + }, + numeric: { + default: 'Voer een geldig kommagetal in', + }, + phone: { + countries: { + AE: 'Verenigde Arabische Emiraten', + BG: 'Bulgarije', + BR: 'Brazilië', + CN: 'China', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IN: 'Indië', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Roemenië', + RU: 'Rusland', + SK: 'Slowakije', + TH: 'Thailand', + US: 'VS', + VE: 'Venezuela', + }, + country: 'Voer een geldig telefoonnummer in uit %s', + default: 'Voer een geldig telefoonnummer in', + }, + promise: { + default: 'Voer een geldige waarde in', + }, + regexp: { + default: 'Voer een waarde in die overeenkomt met het patroon', + }, + remote: { + default: 'Voer een geldige waarde in', + }, + rtn: { + default: 'Voer een geldig RTN-nummer in', + }, + sedol: { + default: 'Voer een geldig SEDOL-nummer in', + }, + siren: { + default: 'Voer een geldig SIREN-nummer in', + }, + siret: { + default: 'Voer een geldig SIRET-nummer in', + }, + step: { + default: 'Voer een meervoud van %s in', + }, + stringCase: { + default: 'Voer enkel kleine letters in', + upper: 'Voer enkel hoofdletters in', + }, + stringLength: { + between: 'Voer tussen tussen %s en %s karakters in', + default: 'Voer een waarde met de juiste lengte in', + less: 'Voer minder dan %s karakters in', + more: 'Voer meer dan %s karakters in', + }, + uri: { + default: 'Voer een geldige link in', + }, + uuid: { + default: 'Voer een geldige UUID in', + version: 'Voer een geldige UUID (versie %s) in', + }, + vat: { + countries: { + AT: 'Oostenrijk', + BE: 'België', + BG: 'Bulgarije', + BR: 'Brazilië', + CH: 'Zwitserland', + CY: 'Cyprus', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + EE: 'Estland', + EL: 'Griekenland', + ES: 'Spanje', + FI: 'Finland', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + GR: 'Griekenland', + HR: 'Kroatië', + HU: 'Hongarije', + IE: 'Ierland', + IS: 'IJsland', + IT: 'Italië', + LT: 'Litouwen', + LU: 'Luxemburg', + LV: 'Letland', + MT: 'Malta', + NL: 'Nederland', + NO: 'Noorwegen', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RS: 'Servië', + RU: 'Rusland', + SE: 'Zweden', + SI: 'Slovenië', + SK: 'Slowakije', + VE: 'Venezuela', + ZA: 'Zuid-Afrika', + }, + country: 'Voer een geldig BTW-nummer in uit %s', + default: 'Voer een geldig BTW-nummer in', + }, + vin: { + default: 'Voer een geldig VIN-nummer in', + }, + zipCode: { + countries: { + AT: 'Oostenrijk', + BG: 'Bulgarije', + BR: 'Brazilië', + CA: 'Canada', + CH: 'Zwitserland', + CZ: 'Tsjechische Republiek', + DE: 'Duitsland', + DK: 'Denemarken', + ES: 'Spanje', + FR: 'Frankrijk', + GB: 'Verenigd Koninkrijk', + IE: 'Ierland', + IN: 'Indië', + IT: 'Italië', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Roemenië', + RU: 'Rusland', + SE: 'Zweden', + SG: 'Singapore', + SK: 'Slowakije', + US: 'VS', + }, + country: 'Voer een geldige postcode in uit %s', + default: 'Voer een geldige postcode in', + }, + }; + + return nl_NL; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_NL.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_NL.min.js new file mode 100755 index 00000000..f04c4722 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/nl_NL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.nl_NL=factory())})(this,(function(){"use strict";var nl_NL={base64:{default:"Voer een geldige Base64 geëncodeerde tekst in"},between:{default:"Voer een waarde in van %s tot en met %s",notInclusive:"Voer een waarde die tussen %s en %s ligt"},bic:{default:"Voer een geldige BIC-code in"},callback:{default:"Voer een geldige waarde in"},choice:{between:"Kies tussen de %s - %s opties",default:"Voer een geldige waarde in",less:"Kies minimaal %s optie(s)",more:"Kies maximaal %s opties"},color:{default:"Voer een geldige kleurcode in"},creditCard:{default:"Voer een geldig creditcardnummer in"},cusip:{default:"Voer een geldig CUSIP-nummer in"},date:{default:"Voer een geldige datum in",max:"Voer een datum in die vóór %s ligt",min:"Voer een datum in die na %s ligt",range:"Voer een datum in die tussen %s en %s ligt"},different:{default:"Voer een andere waarde in"},digits:{default:"Voer enkel cijfers in"},ean:{default:"Voer een geldige EAN-code in"},ein:{default:"Voer een geldige EIN-code in"},emailAddress:{default:"Voer een geldig e-mailadres in"},file:{default:"Kies een geldig bestand"},greaterThan:{default:"Voer een waarde in die gelijk is aan of groter is dan %s",notInclusive:"Voer een waarde in die is groter dan %s"},grid:{default:"Voer een geldig GRId-nummer in"},hex:{default:"Voer een geldig hexadecimaal nummer in"},iban:{countries:{AD:"Andorra",AE:"Verenigde Arabische Emiraten",AL:"Albania",AO:"Angola",AT:"Oostenrijk",AZ:"Azerbeidzjan",BA:"Bosnië en Herzegovina",BE:"België",BF:"Burkina Faso",BG:'Bulgarije"',BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazilië",CH:"Zwitserland",CI:"Ivoorkust",CM:"Kameroen",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",DO:"Dominicaanse Republiek",DZ:"Algerije",EE:"Estland",ES:"Spanje",FI:"Finland",FO:"Faeröer",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GE:"Georgia",GI:"Gibraltar",GL:"Groenland",GR:"Griekenland",GT:"Guatemala",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IL:"Israël",IR:"Iran",IS:"IJsland",IT:"Italië",JO:"Jordan",KW:"Koeweit",KZ:"Kazachstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MC:"Monaco",MD:"Moldavië",ME:"Montenegro",MG:"Madagascar",MK:"Macedonië",ML:"Mali",MR:"Mauretanië",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Nederland",NO:"Noorwegen",PK:"Pakistan",PL:"Polen",PS:"Palestijnse",PT:"Portugal",QA:"Qatar",RO:"Roemenië",RS:"Servië",SA:"Saudi-Arabië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",SN:"Senegal",TL:"Oost-Timor",TN:"Tunesië",TR:"Turkije",VG:"Britse Maagdeneilanden",XK:"Republiek Kosovo"},country:"Voer een geldig IBAN nummer in uit %s",default:"Voer een geldig IBAN nummer in"},id:{countries:{BA:"Bosnië en Herzegovina",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CL:"Chili",CN:"China",CZ:"Tsjechische Republiek",DK:"Denemarken",EE:"Estland",ES:"Spanje",FI:"Finland",HR:"Kroatië",IE:"Ierland",IS:"IJsland",LT:"Litouwen",LV:"Letland",ME:"Montenegro",MK:"Macedonië",NL:"Nederland",PL:"Polen",RO:"Roemenië",RS:"Servië",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",SM:"San Marino",TH:"Thailand",TR:"Turkije",ZA:"Zuid-Afrika"},country:"Voer een geldig identificatie nummer in uit %s",default:"Voer een geldig identificatie nummer in"},identical:{default:"Voer dezelfde waarde in"},imei:{default:"Voer een geldig IMEI-nummer in"},imo:{default:"Voer een geldig IMO-nummer in"},integer:{default:"Voer een geldig getal in"},ip:{default:"Voer een geldig IP adres in",ipv4:"Voer een geldig IPv4 adres in",ipv6:"Voer een geldig IPv6 adres in"},isbn:{default:"Voer een geldig ISBN-nummer in"},isin:{default:"Voer een geldig ISIN-nummer in"},ismn:{default:"Voer een geldig ISMN-nummer in"},issn:{default:"Voer een geldig ISSN-nummer in"},lessThan:{default:"Voer een waarde in gelijk aan of kleiner dan %s",notInclusive:"Voer een waarde in kleiner dan %s"},mac:{default:"Voer een geldig MAC adres in"},meid:{default:"Voer een geldig MEID-nummer in"},notEmpty:{default:"Voer een waarde in"},numeric:{default:"Voer een geldig kommagetal in"},phone:{countries:{AE:"Verenigde Arabische Emiraten",BG:"Bulgarije",BR:"Brazilië",CN:"China",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IN:"Indië",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Roemenië",RU:"Rusland",SK:"Slowakije",TH:"Thailand",US:"VS",VE:"Venezuela"},country:"Voer een geldig telefoonnummer in uit %s",default:"Voer een geldig telefoonnummer in"},promise:{default:"Voer een geldige waarde in"},regexp:{default:"Voer een waarde in die overeenkomt met het patroon"},remote:{default:"Voer een geldige waarde in"},rtn:{default:"Voer een geldig RTN-nummer in"},sedol:{default:"Voer een geldig SEDOL-nummer in"},siren:{default:"Voer een geldig SIREN-nummer in"},siret:{default:"Voer een geldig SIRET-nummer in"},step:{default:"Voer een meervoud van %s in"},stringCase:{default:"Voer enkel kleine letters in",upper:"Voer enkel hoofdletters in"},stringLength:{between:"Voer tussen tussen %s en %s karakters in",default:"Voer een waarde met de juiste lengte in",less:"Voer minder dan %s karakters in",more:"Voer meer dan %s karakters in"},uri:{default:"Voer een geldige link in"},uuid:{default:"Voer een geldige UUID in",version:"Voer een geldige UUID (versie %s) in"},vat:{countries:{AT:"Oostenrijk",BE:"België",BG:"Bulgarije",BR:"Brazilië",CH:"Zwitserland",CY:"Cyprus",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",EE:"Estland",EL:"Griekenland",ES:"Spanje",FI:"Finland",FR:"Frankrijk",GB:"Verenigd Koninkrijk",GR:"Griekenland",HR:"Kroatië",HU:"Hongarije",IE:"Ierland",IS:"IJsland",IT:"Italië",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",MT:"Malta",NL:"Nederland",NO:"Noorwegen",PL:"Polen",PT:"Portugal",RO:"Roemenië",RS:"Servië",RU:"Rusland",SE:"Zweden",SI:"Slovenië",SK:"Slowakije",VE:"Venezuela",ZA:"Zuid-Afrika"},country:"Voer een geldig BTW-nummer in uit %s",default:"Voer een geldig BTW-nummer in"},vin:{default:"Voer een geldig VIN-nummer in"},zipCode:{countries:{AT:"Oostenrijk",BG:"Bulgarije",BR:"Brazilië",CA:"Canada",CH:"Zwitserland",CZ:"Tsjechische Republiek",DE:"Duitsland",DK:"Denemarken",ES:"Spanje",FR:"Frankrijk",GB:"Verenigd Koninkrijk",IE:"Ierland",IN:"Indië",IT:"Italië",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Roemenië",RU:"Rusland",SE:"Zweden",SG:"Singapore",SK:"Slowakije",US:"VS"},country:"Voer een geldige postcode in uit %s",default:"Voer een geldige postcode in"}};return nl_NL})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/no_NO.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/no_NO.js new file mode 100755 index 00000000..e4c2c9e6 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/no_NO.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.no_NO = factory())); +})(this, (function () { 'use strict'; + + /** + * Norwegian language package + * Translated by @trondulseth + */ + + var no_NO = { + base64: { + default: 'Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi', + }, + between: { + default: 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s', + notInclusive: 'Vennligst tast inn kun en verdi mellom %s og %s', + }, + bic: { + default: 'Vennligst fyll ut dette feltet med et gyldig BIC-nummer', + }, + callback: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + choice: { + between: 'Vennligst velg %s - %s valgmuligheter', + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + less: 'Vennligst velg minst %s valgmuligheter', + more: 'Vennligst velg maks %s valgmuligheter', + }, + color: { + default: 'Vennligst fyll ut dette feltet med en gyldig', + }, + creditCard: { + default: 'Vennligst fyll ut dette feltet med et gyldig kreditkortnummer', + }, + cusip: { + default: 'Vennligst fyll ut dette feltet med et gyldig CUSIP-nummer', + }, + date: { + default: 'Vennligst fyll ut dette feltet med en gyldig dato', + max: 'Vennligst fyll ut dette feltet med en gyldig dato før %s', + min: 'Vennligst fyll ut dette feltet med en gyldig dato etter %s', + range: 'Vennligst fyll ut dette feltet med en gyldig dato mellom %s - %s', + }, + different: { + default: 'Vennligst fyll ut dette feltet med en annen verdi', + }, + digits: { + default: 'Vennligst tast inn kun sifre', + }, + ean: { + default: 'Vennligst fyll ut dette feltet med et gyldig EAN-nummer', + }, + ein: { + default: 'Vennligst fyll ut dette feltet med et gyldig EIN-nummer', + }, + emailAddress: { + default: 'Vennligst fyll ut dette feltet med en gyldig epostadresse', + }, + file: { + default: 'Velg vennligst en gyldig fil', + }, + greaterThan: { + default: 'Vennligst fyll ut dette feltet med en verdi større eller lik %s', + notInclusive: 'Vennligst fyll ut dette feltet med en verdi større enn %s', + }, + grid: { + default: 'Vennligst fyll ut dette feltet med et gyldig GRIDnummer', + }, + hex: { + default: 'Vennligst fyll ut dette feltet med et gyldig hexadecimalt nummer', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'De Forente Arabiske Emirater', + AL: 'Albania', + AO: 'Angola', + AT: 'Østerrike', + AZ: 'Aserbajdsjan', + BA: 'Bosnia-Hercegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Sveits', + CI: 'Elfenbenskysten', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Kapp Verde', + CY: 'Kypros', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Den dominikanske republikk', + DZ: 'Algerie', + EE: 'Estland', + ES: 'Spania', + FI: 'Finland', + FO: 'Færøyene', + FR: 'Frankrike', + GB: 'Storbritannia', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Grønland', + GR: 'Hellas', + GT: 'Guatemala', + HR: 'Kroatia', + HU: 'Ungarn', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kasakhstan', + LB: 'Libanon', + LI: 'Liechtenstein', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Nederland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Saudi-Arabia', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'øst-Timor', + TN: 'Tunisia', + TR: 'Tyrkia', + VG: 'De Britiske Jomfruøyene', + XK: 'Republikken Kosovo', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig IBAN-nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien-Hercegovina', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Sveits', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tsjekkia', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spania', + FI: 'Finland', + HR: 'Kroatia', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Makedonia', + NL: 'Nederland', + PL: 'Polen', + RO: 'Romania', + RS: 'Serbia', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Tyrkia', + ZA: 'Sør-Afrika', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer', + }, + identical: { + default: 'Vennligst fyll ut dette feltet med den samme verdi', + }, + imei: { + default: 'Vennligst fyll ut dette feltet med et gyldig IMEI-nummer', + }, + imo: { + default: 'Vennligst fyll ut dette feltet med et gyldig IMO-nummer', + }, + integer: { + default: 'Vennligst fyll ut dette feltet med et gyldig tall', + }, + ip: { + default: 'Vennligst fyll ut dette feltet med en gyldig IP adresse', + ipv4: 'Vennligst fyll ut dette feltet med en gyldig IPv4 adresse', + ipv6: 'Vennligst fyll ut dette feltet med en gyldig IPv6 adresse', + }, + isbn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISBN-nummer', + }, + isin: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISIN-nummer', + }, + ismn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISMN-nummer', + }, + issn: { + default: 'Vennligst fyll ut dette feltet med ett gyldig ISSN-nummer', + }, + lessThan: { + default: 'Vennligst fyll ut dette feltet med en verdi mindre eller lik %s', + notInclusive: 'Vennligst fyll ut dette feltet med en verdi mindre enn %s', + }, + mac: { + default: 'Vennligst fyll ut dette feltet med en gyldig MAC adresse', + }, + meid: { + default: 'Vennligst fyll ut dette feltet med et gyldig MEID-nummer', + }, + notEmpty: { + default: 'Vennligst fyll ut dette feltet', + }, + numeric: { + default: 'Vennligst fyll ut dette feltet med et gyldig flytende desimaltall', + }, + phone: { + countries: { + AE: 'De Forente Arabiske Emirater', + BG: 'Bulgaria', + BR: 'Brasil', + CN: 'Kina', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spania', + FR: 'Frankrike', + GB: 'Storbritannia', + IN: 'India', + MA: 'Marokko', + NL: 'Nederland', + PK: 'Pakistan', + RO: 'Rumenia', + RU: 'Russland', + SK: 'Slovakia', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig telefonnummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig telefonnummer', + }, + promise: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + regexp: { + default: 'Vennligst fyll ut dette feltet med en verdi som matcher mønsteret', + }, + remote: { + default: 'Vennligst fyll ut dette feltet med en gyldig verdi', + }, + rtn: { + default: 'Vennligst fyll ut dette feltet med et gyldig RTN-nummer', + }, + sedol: { + default: 'Vennligst fyll ut dette feltet med et gyldig SEDOL-nummer', + }, + siren: { + default: 'Vennligst fyll ut dette feltet med et gyldig SIREN-nummer', + }, + siret: { + default: 'Vennligst fyll ut dette feltet med et gyldig SIRET-nummer', + }, + step: { + default: 'Vennligst fyll ut dette feltet med et gyldig trinn av %s', + }, + stringCase: { + default: 'Venligst fyll inn dette feltet kun med små bokstaver', + upper: 'Venligst fyll inn dette feltet kun med store bokstaver', + }, + stringLength: { + between: 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s tegn', + default: 'Vennligst fyll ut dette feltet med en verdi av gyldig lengde', + less: 'Vennligst fyll ut dette feltet med mindre enn %s tegn', + more: 'Vennligst fyll ut dette feltet med mer enn %s tegn', + }, + uri: { + default: 'Vennligst fyll ut dette feltet med en gyldig URI', + }, + uuid: { + default: 'Vennligst fyll ut dette feltet med et gyldig UUID-nummer', + version: 'Vennligst fyll ut dette feltet med en gyldig UUID version %s-nummer', + }, + vat: { + countries: { + AT: 'Østerrike', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brasil', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Hellas', + ES: 'Spania', + FI: 'Finland', + FR: 'Frankrike', + GB: 'Storbritania', + GR: 'Hellas', + HR: 'Kroatia', + HU: 'Ungarn', + IE: 'Irland', + IS: 'Island', + IT: 'Italia', + LT: 'Litauen', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Nederland', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Romania', + RS: 'Serbia', + RU: 'Russland', + SE: 'Sverige', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Sør-Afrika', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig MVA nummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig MVA nummer', + }, + vin: { + default: 'Vennligst fyll ut dette feltet med et gyldig VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Østerrike', + BG: 'Bulgaria', + BR: 'Brasil', + CA: 'Canada', + CH: 'Schweiz', + CZ: 'Tsjekkia', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spania', + FR: 'Frankrike', + GB: 'Storbritannia', + IE: 'Irland', + IN: 'India', + IT: 'Italia', + MA: 'Marokko', + NL: 'Nederland', + PL: 'Polen', + PT: 'Portugal', + RO: 'Romania', + RU: 'Russland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakia', + US: 'USA', + }, + country: 'Vennligst fyll ut dette feltet med et gyldig postnummer i %s', + default: 'Vennligst fyll ut dette feltet med et gyldig postnummer', + }, + }; + + return no_NO; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/no_NO.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/no_NO.min.js new file mode 100755 index 00000000..82987ae2 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/no_NO.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.no_NO=factory())})(this,(function(){"use strict";var no_NO={base64:{default:"Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi"},between:{default:"Vennligst fyll ut dette feltet med en verdi mellom %s og %s",notInclusive:"Vennligst tast inn kun en verdi mellom %s og %s"},bic:{default:"Vennligst fyll ut dette feltet med et gyldig BIC-nummer"},callback:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},choice:{between:"Vennligst velg %s - %s valgmuligheter",default:"Vennligst fyll ut dette feltet med en gyldig verdi",less:"Vennligst velg minst %s valgmuligheter",more:"Vennligst velg maks %s valgmuligheter"},color:{default:"Vennligst fyll ut dette feltet med en gyldig"},creditCard:{default:"Vennligst fyll ut dette feltet med et gyldig kreditkortnummer"},cusip:{default:"Vennligst fyll ut dette feltet med et gyldig CUSIP-nummer"},date:{default:"Vennligst fyll ut dette feltet med en gyldig dato",max:"Vennligst fyll ut dette feltet med en gyldig dato før %s",min:"Vennligst fyll ut dette feltet med en gyldig dato etter %s",range:"Vennligst fyll ut dette feltet med en gyldig dato mellom %s - %s"},different:{default:"Vennligst fyll ut dette feltet med en annen verdi"},digits:{default:"Vennligst tast inn kun sifre"},ean:{default:"Vennligst fyll ut dette feltet med et gyldig EAN-nummer"},ein:{default:"Vennligst fyll ut dette feltet med et gyldig EIN-nummer"},emailAddress:{default:"Vennligst fyll ut dette feltet med en gyldig epostadresse"},file:{default:"Velg vennligst en gyldig fil"},greaterThan:{default:"Vennligst fyll ut dette feltet med en verdi større eller lik %s",notInclusive:"Vennligst fyll ut dette feltet med en verdi større enn %s"},grid:{default:"Vennligst fyll ut dette feltet med et gyldig GRIDnummer"},hex:{default:"Vennligst fyll ut dette feltet med et gyldig hexadecimalt nummer"},iban:{countries:{AD:"Andorra",AE:"De Forente Arabiske Emirater",AL:"Albania",AO:"Angola",AT:"Østerrike",AZ:"Aserbajdsjan",BA:"Bosnia-Hercegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Sveits",CI:"Elfenbenskysten",CM:"Kamerun",CR:"Costa Rica",CV:"Kapp Verde",CY:"Kypros",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",DO:"Den dominikanske republikk",DZ:"Algerie",EE:"Estland",ES:"Spania",FI:"Finland",FO:"Færøyene",FR:"Frankrike",GB:"Storbritannia",GE:"Georgia",GI:"Gibraltar",GL:"Grønland",GR:"Hellas",GT:"Guatemala",HR:"Kroatia",HU:"Ungarn",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italia",JO:"Jordan",KW:"Kuwait",KZ:"Kasakhstan",LB:"Libanon",LI:"Liechtenstein",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mosambik",NL:"Nederland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi-Arabia",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"øst-Timor",TN:"Tunisia",TR:"Tyrkia",VG:"De Britiske Jomfruøyene",XK:"Republikken Kosovo"},country:"Vennligst fyll ut dette feltet med et gyldig IBAN-nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig IBAN-nummer"},id:{countries:{BA:"Bosnien-Hercegovina",BG:"Bulgaria",BR:"Brasil",CH:"Sveits",CL:"Chile",CN:"Kina",CZ:"Tsjekkia",DK:"Danmark",EE:"Estland",ES:"Spania",FI:"Finland",HR:"Kroatia",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Latvia",ME:"Montenegro",MK:"Makedonia",NL:"Nederland",PL:"Polen",RO:"Romania",RS:"Serbia",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",TR:"Tyrkia",ZA:"Sør-Afrika"},country:"Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig identifikasjons-nummer"},identical:{default:"Vennligst fyll ut dette feltet med den samme verdi"},imei:{default:"Vennligst fyll ut dette feltet med et gyldig IMEI-nummer"},imo:{default:"Vennligst fyll ut dette feltet med et gyldig IMO-nummer"},integer:{default:"Vennligst fyll ut dette feltet med et gyldig tall"},ip:{default:"Vennligst fyll ut dette feltet med en gyldig IP adresse",ipv4:"Vennligst fyll ut dette feltet med en gyldig IPv4 adresse",ipv6:"Vennligst fyll ut dette feltet med en gyldig IPv6 adresse"},isbn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISBN-nummer"},isin:{default:"Vennligst fyll ut dette feltet med ett gyldig ISIN-nummer"},ismn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISMN-nummer"},issn:{default:"Vennligst fyll ut dette feltet med ett gyldig ISSN-nummer"},lessThan:{default:"Vennligst fyll ut dette feltet med en verdi mindre eller lik %s",notInclusive:"Vennligst fyll ut dette feltet med en verdi mindre enn %s"},mac:{default:"Vennligst fyll ut dette feltet med en gyldig MAC adresse"},meid:{default:"Vennligst fyll ut dette feltet med et gyldig MEID-nummer"},notEmpty:{default:"Vennligst fyll ut dette feltet"},numeric:{default:"Vennligst fyll ut dette feltet med et gyldig flytende desimaltall"},phone:{countries:{AE:"De Forente Arabiske Emirater",BG:"Bulgaria",BR:"Brasil",CN:"Kina",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",ES:"Spania",FR:"Frankrike",GB:"Storbritannia",IN:"India",MA:"Marokko",NL:"Nederland",PK:"Pakistan",RO:"Rumenia",RU:"Russland",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Vennligst fyll ut dette feltet med et gyldig telefonnummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig telefonnummer"},promise:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},regexp:{default:"Vennligst fyll ut dette feltet med en verdi som matcher mønsteret"},remote:{default:"Vennligst fyll ut dette feltet med en gyldig verdi"},rtn:{default:"Vennligst fyll ut dette feltet med et gyldig RTN-nummer"},sedol:{default:"Vennligst fyll ut dette feltet med et gyldig SEDOL-nummer"},siren:{default:"Vennligst fyll ut dette feltet med et gyldig SIREN-nummer"},siret:{default:"Vennligst fyll ut dette feltet med et gyldig SIRET-nummer"},step:{default:"Vennligst fyll ut dette feltet med et gyldig trinn av %s"},stringCase:{default:"Venligst fyll inn dette feltet kun med små bokstaver",upper:"Venligst fyll inn dette feltet kun med store bokstaver"},stringLength:{between:"Vennligst fyll ut dette feltet med en verdi mellom %s og %s tegn",default:"Vennligst fyll ut dette feltet med en verdi av gyldig lengde",less:"Vennligst fyll ut dette feltet med mindre enn %s tegn",more:"Vennligst fyll ut dette feltet med mer enn %s tegn"},uri:{default:"Vennligst fyll ut dette feltet med en gyldig URI"},uuid:{default:"Vennligst fyll ut dette feltet med et gyldig UUID-nummer",version:"Vennligst fyll ut dette feltet med en gyldig UUID version %s-nummer"},vat:{countries:{AT:"Østerrike",BE:"Belgia",BG:"Bulgaria",BR:"Brasil",CH:"Schweiz",CY:"Cypern",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Hellas",ES:"Spania",FI:"Finland",FR:"Frankrike",GB:"Storbritania",GR:"Hellas",HR:"Kroatia",HU:"Ungarn",IE:"Irland",IS:"Island",IT:"Italia",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Nederland",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Romania",RS:"Serbia",RU:"Russland",SE:"Sverige",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Sør-Afrika"},country:"Vennligst fyll ut dette feltet med et gyldig MVA nummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig MVA nummer"},vin:{default:"Vennligst fyll ut dette feltet med et gyldig VIN-nummer"},zipCode:{countries:{AT:"Østerrike",BG:"Bulgaria",BR:"Brasil",CA:"Canada",CH:"Schweiz",CZ:"Tsjekkia",DE:"Tyskland",DK:"Danmark",ES:"Spania",FR:"Frankrike",GB:"Storbritannia",IE:"Irland",IN:"India",IT:"Italia",MA:"Marokko",NL:"Nederland",PL:"Polen",PT:"Portugal",RO:"Romania",RU:"Russland",SE:"Sverige",SG:"Singapore",SK:"Slovakia",US:"USA"},country:"Vennligst fyll ut dette feltet med et gyldig postnummer i %s",default:"Vennligst fyll ut dette feltet med et gyldig postnummer"}};return no_NO})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pl_PL.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pl_PL.js new file mode 100755 index 00000000..8e32415e --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pl_PL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.pl_PL = factory())); +})(this, (function () { 'use strict'; + + /** + * Polish language package + * Translated by @grzesiek + */ + + var pl_PL = { + base64: { + default: 'Wpisz poprawny ciąg znaków zakodowany w base 64', + }, + between: { + default: 'Wprowadź wartość pomiędzy %s i %s', + notInclusive: 'Wprowadź wartość pomiędzy %s i %s (zbiór otwarty)', + }, + bic: { + default: 'Wprowadź poprawny numer BIC', + }, + callback: { + default: 'Wprowadź poprawną wartość', + }, + choice: { + between: 'Wybierz przynajmniej %s i maksymalnie %s opcji', + default: 'Wprowadź poprawną wartość', + less: 'Wybierz przynajmniej %s opcji', + more: 'Wybierz maksymalnie %s opcji', + }, + color: { + default: 'Wprowadź poprawny kolor w formacie', + }, + creditCard: { + default: 'Wprowadź poprawny numer karty kredytowej', + }, + cusip: { + default: 'Wprowadź poprawny numer CUSIP', + }, + date: { + default: 'Wprowadź poprawną datę', + max: 'Wprowadź datę przed %s', + min: 'Wprowadź datę po %s', + range: 'Wprowadź datę pomiędzy %s i %s', + }, + different: { + default: 'Wprowadź inną wartość', + }, + digits: { + default: 'Wprowadź tylko cyfry', + }, + ean: { + default: 'Wprowadź poprawny numer EAN', + }, + ein: { + default: 'Wprowadź poprawny numer EIN', + }, + emailAddress: { + default: 'Wprowadź poprawny adres e-mail', + }, + file: { + default: 'Wybierz prawidłowy plik', + }, + greaterThan: { + default: 'Wprowadź wartość większą bądź równą %s', + notInclusive: 'Wprowadź wartość większą niż %s', + }, + grid: { + default: 'Wprowadź poprawny numer GRId', + }, + hex: { + default: 'Wprowadź poprawną liczbę w formacie heksadecymalnym', + }, + iban: { + countries: { + AD: 'Andora', + AE: 'Zjednoczone Emiraty Arabskie', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbejdżan', + BA: 'Bośnia i Hercegowina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bułgaria', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazylia', + CH: 'Szwajcaria', + CI: 'Wybrzeże Kości Słoniowej', + CM: 'Kamerun', + CR: 'Kostaryka', + CV: 'Republika Zielonego Przylądka', + CY: 'Cypr', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + DO: 'Dominikana', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Hiszpania', + FI: 'Finlandia', + FO: 'Wyspy Owcze', + FR: 'Francja', + GB: 'Wielka Brytania', + GE: 'Gruzja', + GI: 'Gibraltar', + GL: 'Grenlandia', + GR: 'Grecja', + GT: 'Gwatemala', + HR: 'Chorwacja', + HU: 'Węgry', + IE: 'Irlandia', + IL: 'Izrael', + IR: 'Iran', + IS: 'Islandia', + IT: 'Włochy', + JO: 'Jordania', + KW: 'Kuwejt', + KZ: 'Kazahstan', + LB: 'Liban', + LI: 'Liechtenstein', + LT: 'Litwa', + LU: 'Luksemburg', + LV: 'Łotwa', + MC: 'Monako', + MD: 'Mołdawia', + ME: 'Czarnogóra', + MG: 'Madagaskar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauretania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Holandia', + NO: 'Norwegia', + PK: 'Pakistan', + PL: 'Polska', + PS: 'Palestyna', + PT: 'Portugalia', + QA: 'Katar', + RO: 'Rumunia', + RS: 'Serbia', + SA: 'Arabia Saudyjska', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timor Wschodni', + TN: 'Tunezja', + TR: 'Turcja', + VG: 'Brytyjskie Wyspy Dziewicze', + XK: 'Republika Kosowa', + }, + country: 'Wprowadź poprawny numer IBAN w kraju %s', + default: 'Wprowadź poprawny numer IBAN', + }, + id: { + countries: { + BA: 'Bośnia i Hercegowina', + BG: 'Bułgaria', + BR: 'Brazylia', + CH: 'Szwajcaria', + CL: 'Chile', + CN: 'Chiny', + CZ: 'Czechy', + DK: 'Dania', + EE: 'Estonia', + ES: 'Hiszpania', + FI: 'Finlandia', + HR: 'Chorwacja', + IE: 'Irlandia', + IS: 'Islandia', + LT: 'Litwa', + LV: 'Łotwa', + ME: 'Czarnogóra', + MK: 'Macedonia', + NL: 'Holandia', + PL: 'Polska', + RO: 'Rumunia', + RS: 'Serbia', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + SM: 'San Marino', + TH: 'Tajlandia', + TR: 'Turcja', + ZA: 'Republika Południowej Afryki', + }, + country: 'Wprowadź poprawny numer identyfikacyjny w kraju %s', + default: 'Wprowadź poprawny numer identyfikacyjny', + }, + identical: { + default: 'Wprowadź taką samą wartość', + }, + imei: { + default: 'Wprowadź poprawny numer IMEI', + }, + imo: { + default: 'Wprowadź poprawny numer IMO', + }, + integer: { + default: 'Wprowadź poprawną liczbę całkowitą', + }, + ip: { + default: 'Wprowadź poprawny adres IP', + ipv4: 'Wprowadź poprawny adres IPv4', + ipv6: 'Wprowadź poprawny adres IPv6', + }, + isbn: { + default: 'Wprowadź poprawny numer ISBN', + }, + isin: { + default: 'Wprowadź poprawny numer ISIN', + }, + ismn: { + default: 'Wprowadź poprawny numer ISMN', + }, + issn: { + default: 'Wprowadź poprawny numer ISSN', + }, + lessThan: { + default: 'Wprowadź wartość mniejszą bądź równą %s', + notInclusive: 'Wprowadź wartość mniejszą niż %s', + }, + mac: { + default: 'Wprowadź poprawny adres MAC', + }, + meid: { + default: 'Wprowadź poprawny numer MEID', + }, + notEmpty: { + default: 'Wprowadź wartość, pole nie może być puste', + }, + numeric: { + default: 'Wprowadź poprawną liczbę zmiennoprzecinkową', + }, + phone: { + countries: { + AE: 'Zjednoczone Emiraty Arabskie', + BG: 'Bułgaria', + BR: 'Brazylia', + CN: 'Chiny', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + ES: 'Hiszpania', + FR: 'Francja', + GB: 'Wielka Brytania', + IN: 'Indie', + MA: 'Maroko', + NL: 'Holandia', + PK: 'Pakistan', + RO: 'Rumunia', + RU: 'Rosja', + SK: 'Słowacja', + TH: 'Tajlandia', + US: 'USA', + VE: 'Wenezuela', + }, + country: 'Wprowadź poprawny numer telefonu w kraju %s', + default: 'Wprowadź poprawny numer telefonu', + }, + promise: { + default: 'Wprowadź poprawną wartość', + }, + regexp: { + default: 'Wprowadź wartość pasującą do wzoru', + }, + remote: { + default: 'Wprowadź poprawną wartość', + }, + rtn: { + default: 'Wprowadź poprawny numer RTN', + }, + sedol: { + default: 'Wprowadź poprawny numer SEDOL', + }, + siren: { + default: 'Wprowadź poprawny numer SIREN', + }, + siret: { + default: 'Wprowadź poprawny numer SIRET', + }, + step: { + default: 'Wprowadź wielokrotność %s', + }, + stringCase: { + default: 'Wprowadź tekst składającą się tylko z małych liter', + upper: 'Wprowadź tekst składający się tylko z dużych liter', + }, + stringLength: { + between: 'Wprowadź wartość składająca się z min %s i max %s znaków', + default: 'Wprowadź wartość o poprawnej długości', + less: 'Wprowadź mniej niż %s znaków', + more: 'Wprowadź więcej niż %s znaków', + }, + uri: { + default: 'Wprowadź poprawny URI', + }, + uuid: { + default: 'Wprowadź poprawny numer UUID', + version: 'Wprowadź poprawny numer UUID w wersji %s', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgia', + BG: 'Bułgaria', + BR: 'Brazylia', + CH: 'Szwajcaria', + CY: 'Cypr', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + EE: 'Estonia', + EL: 'Grecja', + ES: 'Hiszpania', + FI: 'Finlandia', + FR: 'Francja', + GB: 'Wielka Brytania', + GR: 'Grecja', + HR: 'Chorwacja', + HU: 'Węgry', + IE: 'Irlandia', + IS: 'Islandia', + IT: 'Włochy', + LT: 'Litwa', + LU: 'Luksemburg', + LV: 'Łotwa', + MT: 'Malta', + NL: 'Holandia', + NO: 'Norwegia', + PL: 'Polska', + PT: 'Portugalia', + RO: 'Rumunia', + RS: 'Serbia', + RU: 'Rosja', + SE: 'Szwecja', + SI: 'Słowenia', + SK: 'Słowacja', + VE: 'Wenezuela', + ZA: 'Republika Południowej Afryki', + }, + country: 'Wprowadź poprawny numer VAT w kraju %s', + default: 'Wprowadź poprawny numer VAT', + }, + vin: { + default: 'Wprowadź poprawny numer VIN', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bułgaria', + BR: 'Brazylia', + CA: 'Kanada', + CH: 'Szwajcaria', + CZ: 'Czechy', + DE: 'Niemcy', + DK: 'Dania', + ES: 'Hiszpania', + FR: 'Francja', + GB: 'Wielka Brytania', + IE: 'Irlandia', + IN: 'Indie', + IT: 'Włochy', + MA: 'Maroko', + NL: 'Holandia', + PL: 'Polska', + PT: 'Portugalia', + RO: 'Rumunia', + RU: 'Rosja', + SE: 'Szwecja', + SG: 'Singapur', + SK: 'Słowacja', + US: 'USA', + }, + country: 'Wprowadź poprawny kod pocztowy w kraju %s', + default: 'Wprowadź poprawny kod pocztowy', + }, + }; + + return pl_PL; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pl_PL.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pl_PL.min.js new file mode 100755 index 00000000..8ac13c20 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pl_PL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.pl_PL=factory())})(this,(function(){"use strict";var pl_PL={base64:{default:"Wpisz poprawny ciąg znaków zakodowany w base 64"},between:{default:"Wprowadź wartość pomiędzy %s i %s",notInclusive:"Wprowadź wartość pomiędzy %s i %s (zbiór otwarty)"},bic:{default:"Wprowadź poprawny numer BIC"},callback:{default:"Wprowadź poprawną wartość"},choice:{between:"Wybierz przynajmniej %s i maksymalnie %s opcji",default:"Wprowadź poprawną wartość",less:"Wybierz przynajmniej %s opcji",more:"Wybierz maksymalnie %s opcji"},color:{default:"Wprowadź poprawny kolor w formacie"},creditCard:{default:"Wprowadź poprawny numer karty kredytowej"},cusip:{default:"Wprowadź poprawny numer CUSIP"},date:{default:"Wprowadź poprawną datę",max:"Wprowadź datę przed %s",min:"Wprowadź datę po %s",range:"Wprowadź datę pomiędzy %s i %s"},different:{default:"Wprowadź inną wartość"},digits:{default:"Wprowadź tylko cyfry"},ean:{default:"Wprowadź poprawny numer EAN"},ein:{default:"Wprowadź poprawny numer EIN"},emailAddress:{default:"Wprowadź poprawny adres e-mail"},file:{default:"Wybierz prawidłowy plik"},greaterThan:{default:"Wprowadź wartość większą bądź równą %s",notInclusive:"Wprowadź wartość większą niż %s"},grid:{default:"Wprowadź poprawny numer GRId"},hex:{default:"Wprowadź poprawną liczbę w formacie heksadecymalnym"},iban:{countries:{AD:"Andora",AE:"Zjednoczone Emiraty Arabskie",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbejdżan",BA:"Bośnia i Hercegowina",BE:"Belgia",BF:"Burkina Faso",BG:"Bułgaria",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazylia",CH:"Szwajcaria",CI:"Wybrzeże Kości Słoniowej",CM:"Kamerun",CR:"Kostaryka",CV:"Republika Zielonego Przylądka",CY:"Cypr",CZ:"Czechy",DE:"Niemcy",DK:"Dania",DO:"Dominikana",DZ:"Algeria",EE:"Estonia",ES:"Hiszpania",FI:"Finlandia",FO:"Wyspy Owcze",FR:"Francja",GB:"Wielka Brytania",GE:"Gruzja",GI:"Gibraltar",GL:"Grenlandia",GR:"Grecja",GT:"Gwatemala",HR:"Chorwacja",HU:"Węgry",IE:"Irlandia",IL:"Izrael",IR:"Iran",IS:"Islandia",IT:"Włochy",JO:"Jordania",KW:"Kuwejt",KZ:"Kazahstan",LB:"Liban",LI:"Liechtenstein",LT:"Litwa",LU:"Luksemburg",LV:"Łotwa",MC:"Monako",MD:"Mołdawia",ME:"Czarnogóra",MG:"Madagaskar",MK:"Macedonia",ML:"Mali",MR:"Mauretania",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Holandia",NO:"Norwegia",PK:"Pakistan",PL:"Polska",PS:"Palestyna",PT:"Portugalia",QA:"Katar",RO:"Rumunia",RS:"Serbia",SA:"Arabia Saudyjska",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",SM:"San Marino",SN:"Senegal",TL:"Timor Wschodni",TN:"Tunezja",TR:"Turcja",VG:"Brytyjskie Wyspy Dziewicze",XK:"Republika Kosowa"},country:"Wprowadź poprawny numer IBAN w kraju %s",default:"Wprowadź poprawny numer IBAN"},id:{countries:{BA:"Bośnia i Hercegowina",BG:"Bułgaria",BR:"Brazylia",CH:"Szwajcaria",CL:"Chile",CN:"Chiny",CZ:"Czechy",DK:"Dania",EE:"Estonia",ES:"Hiszpania",FI:"Finlandia",HR:"Chorwacja",IE:"Irlandia",IS:"Islandia",LT:"Litwa",LV:"Łotwa",ME:"Czarnogóra",MK:"Macedonia",NL:"Holandia",PL:"Polska",RO:"Rumunia",RS:"Serbia",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",SM:"San Marino",TH:"Tajlandia",TR:"Turcja",ZA:"Republika Południowej Afryki"},country:"Wprowadź poprawny numer identyfikacyjny w kraju %s",default:"Wprowadź poprawny numer identyfikacyjny"},identical:{default:"Wprowadź taką samą wartość"},imei:{default:"Wprowadź poprawny numer IMEI"},imo:{default:"Wprowadź poprawny numer IMO"},integer:{default:"Wprowadź poprawną liczbę całkowitą"},ip:{default:"Wprowadź poprawny adres IP",ipv4:"Wprowadź poprawny adres IPv4",ipv6:"Wprowadź poprawny adres IPv6"},isbn:{default:"Wprowadź poprawny numer ISBN"},isin:{default:"Wprowadź poprawny numer ISIN"},ismn:{default:"Wprowadź poprawny numer ISMN"},issn:{default:"Wprowadź poprawny numer ISSN"},lessThan:{default:"Wprowadź wartość mniejszą bądź równą %s",notInclusive:"Wprowadź wartość mniejszą niż %s"},mac:{default:"Wprowadź poprawny adres MAC"},meid:{default:"Wprowadź poprawny numer MEID"},notEmpty:{default:"Wprowadź wartość, pole nie może być puste"},numeric:{default:"Wprowadź poprawną liczbę zmiennoprzecinkową"},phone:{countries:{AE:"Zjednoczone Emiraty Arabskie",BG:"Bułgaria",BR:"Brazylia",CN:"Chiny",CZ:"Czechy",DE:"Niemcy",DK:"Dania",ES:"Hiszpania",FR:"Francja",GB:"Wielka Brytania",IN:"Indie",MA:"Maroko",NL:"Holandia",PK:"Pakistan",RO:"Rumunia",RU:"Rosja",SK:"Słowacja",TH:"Tajlandia",US:"USA",VE:"Wenezuela"},country:"Wprowadź poprawny numer telefonu w kraju %s",default:"Wprowadź poprawny numer telefonu"},promise:{default:"Wprowadź poprawną wartość"},regexp:{default:"Wprowadź wartość pasującą do wzoru"},remote:{default:"Wprowadź poprawną wartość"},rtn:{default:"Wprowadź poprawny numer RTN"},sedol:{default:"Wprowadź poprawny numer SEDOL"},siren:{default:"Wprowadź poprawny numer SIREN"},siret:{default:"Wprowadź poprawny numer SIRET"},step:{default:"Wprowadź wielokrotność %s"},stringCase:{default:"Wprowadź tekst składającą się tylko z małych liter",upper:"Wprowadź tekst składający się tylko z dużych liter"},stringLength:{between:"Wprowadź wartość składająca się z min %s i max %s znaków",default:"Wprowadź wartość o poprawnej długości",less:"Wprowadź mniej niż %s znaków",more:"Wprowadź więcej niż %s znaków"},uri:{default:"Wprowadź poprawny URI"},uuid:{default:"Wprowadź poprawny numer UUID",version:"Wprowadź poprawny numer UUID w wersji %s"},vat:{countries:{AT:"Austria",BE:"Belgia",BG:"Bułgaria",BR:"Brazylia",CH:"Szwajcaria",CY:"Cypr",CZ:"Czechy",DE:"Niemcy",DK:"Dania",EE:"Estonia",EL:"Grecja",ES:"Hiszpania",FI:"Finlandia",FR:"Francja",GB:"Wielka Brytania",GR:"Grecja",HR:"Chorwacja",HU:"Węgry",IE:"Irlandia",IS:"Islandia",IT:"Włochy",LT:"Litwa",LU:"Luksemburg",LV:"Łotwa",MT:"Malta",NL:"Holandia",NO:"Norwegia",PL:"Polska",PT:"Portugalia",RO:"Rumunia",RS:"Serbia",RU:"Rosja",SE:"Szwecja",SI:"Słowenia",SK:"Słowacja",VE:"Wenezuela",ZA:"Republika Południowej Afryki"},country:"Wprowadź poprawny numer VAT w kraju %s",default:"Wprowadź poprawny numer VAT"},vin:{default:"Wprowadź poprawny numer VIN"},zipCode:{countries:{AT:"Austria",BG:"Bułgaria",BR:"Brazylia",CA:"Kanada",CH:"Szwajcaria",CZ:"Czechy",DE:"Niemcy",DK:"Dania",ES:"Hiszpania",FR:"Francja",GB:"Wielka Brytania",IE:"Irlandia",IN:"Indie",IT:"Włochy",MA:"Maroko",NL:"Holandia",PL:"Polska",PT:"Portugalia",RO:"Rumunia",RU:"Rosja",SE:"Szwecja",SG:"Singapur",SK:"Słowacja",US:"USA"},country:"Wprowadź poprawny kod pocztowy w kraju %s",default:"Wprowadź poprawny kod pocztowy"}};return pl_PL})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_BR.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_BR.js new file mode 100755 index 00000000..ed9786aa --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_BR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.pt_BR = factory())); +})(this, (function () { 'use strict'; + + /** + * Portuguese (Brazil) language package + * Translated by @marcuscarvalho6. Improved by @dgmike + */ + + var pt_BR = { + base64: { + default: 'Por favor insira um código base 64 válido', + }, + between: { + default: 'Por favor insira um valor entre %s e %s', + notInclusive: 'Por favor insira um valor estritamente entre %s e %s', + }, + bic: { + default: 'Por favor insira um número BIC válido', + }, + callback: { + default: 'Por favor insira um valor válido', + }, + choice: { + between: 'Por favor escolha de %s a %s opções', + default: 'Por favor insira um valor válido', + less: 'Por favor escolha %s opções no mínimo', + more: 'Por favor escolha %s opções no máximo', + }, + color: { + default: 'Por favor insira uma cor válida', + }, + creditCard: { + default: 'Por favor insira um número de cartão de crédito válido', + }, + cusip: { + default: 'Por favor insira um número CUSIP válido', + }, + date: { + default: 'Por favor insira uma data válida', + max: 'Por favor insira uma data anterior a %s', + min: 'Por favor insira uma data posterior a %s', + range: 'Por favor insira uma data entre %s e %s', + }, + different: { + default: 'Por favor insira valores diferentes', + }, + digits: { + default: 'Por favor insira somente dígitos', + }, + ean: { + default: 'Por favor insira um número EAN válido', + }, + ein: { + default: 'Por favor insira um número EIN válido', + }, + emailAddress: { + default: 'Por favor insira um email válido', + }, + file: { + default: 'Por favor escolha um arquivo válido', + }, + greaterThan: { + default: 'Por favor insira um valor maior ou igual a %s', + notInclusive: 'Por favor insira um valor maior do que %s', + }, + grid: { + default: 'Por favor insira uma GRID válida', + }, + hex: { + default: 'Por favor insira um hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirados Árabes', + AL: 'Albânia', + AO: 'Angola', + AT: 'Áustria', + AZ: 'Azerbaijão', + BA: 'Bósnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgária', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suíça', + CM: 'Camarões', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argélia', + EE: 'Estónia', + ES: 'Espanha', + FI: 'Finlândia', + FO: 'Ilhas Faroé', + FR: 'França', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlândia', + GR: 'Grécia', + GT: 'Guatemala', + HR: 'Croácia', + HU: 'Hungria', + IC: 'Costa do Marfim', + IE: 'Ireland', + IL: 'Israel', + IR: 'Irão', + IS: 'Islândia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Cazaquistão', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MC: 'Mônaco', + MD: 'Moldávia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedónia', + ML: 'Mali', + MR: 'Mauritânia', + MT: 'Malta', + MU: 'Maurício', + MZ: 'Moçambique', + NL: 'Países Baixos', + NO: 'Noruega', + PK: 'Paquistão', + PL: 'Polônia', + PS: 'Palestino', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roménia', + RS: 'Sérvia', + SA: 'Arábia Saudita', + SE: 'Suécia', + SI: 'Eslovénia', + SK: 'Eslováquia', + SM: 'San Marino', + SN: 'Senegal', + TI: 'Itália', + TL: 'Timor Leste', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Ilhas Virgens Britânicas', + XK: 'República do Kosovo', + }, + country: 'Por favor insira um número IBAN válido em %s', + default: 'Por favor insira um número IBAN válido', + }, + id: { + countries: { + BA: 'Bósnia e Herzegovina', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estônia', + ES: 'Espanha', + FI: 'Finlândia', + HR: 'Croácia', + IE: 'Irlanda', + IS: 'Islândia', + LT: 'Lituânia', + LV: 'Letónia', + ME: 'Montenegro', + MK: 'Macedónia', + NL: 'Holanda', + PL: 'Polônia', + RO: 'Roménia', + RS: 'Sérvia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + SM: 'San Marino', + TH: 'Tailândia', + TR: 'Turquia', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número de indentificação válido em %s', + default: 'Por favor insira um código de identificação válido', + }, + identical: { + default: 'Por favor, insira o mesmo valor', + }, + imei: { + default: 'Por favor insira um IMEI válido', + }, + imo: { + default: 'Por favor insira um IMO válido', + }, + integer: { + default: 'Por favor insira um número inteiro válido', + }, + ip: { + default: 'Por favor insira um IP válido', + ipv4: 'Por favor insira um endereço de IPv4 válido', + ipv6: 'Por favor insira um endereço de IPv6 válido', + }, + isbn: { + default: 'Por favor insira um ISBN válido', + }, + isin: { + default: 'Por favor insira um ISIN válido', + }, + ismn: { + default: 'Por favor insira um ISMN válido', + }, + issn: { + default: 'Por favor insira um ISSN válido', + }, + lessThan: { + default: 'Por favor insira um valor menor ou igual a %s', + notInclusive: 'Por favor insira um valor menor do que %s', + }, + mac: { + default: 'Por favor insira um endereço MAC válido', + }, + meid: { + default: 'Por favor insira um MEID válido', + }, + notEmpty: { + default: 'Por favor insira um valor', + }, + numeric: { + default: 'Por favor insira um número real válido', + }, + phone: { + countries: { + AE: 'Emirados Árabes', + BG: 'Bulgária', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IN: 'Índia', + MA: 'Marrocos', + NL: 'Países Baixos', + PK: 'Paquistão', + RO: 'Roménia', + RU: 'Rússia', + SK: 'Eslováquia', + TH: 'Tailândia', + US: 'EUA', + VE: 'Venezuela', + }, + country: 'Por favor insira um número de telefone válido em %s', + default: 'Por favor insira um número de telefone válido', + }, + promise: { + default: 'Por favor insira um valor válido', + }, + regexp: { + default: 'Por favor insira um valor correspondente ao padrão', + }, + remote: { + default: 'Por favor insira um valor válido', + }, + rtn: { + default: 'Por favor insira um número válido RTN', + }, + sedol: { + default: 'Por favor insira um número válido SEDOL', + }, + siren: { + default: 'Por favor insira um número válido SIREN', + }, + siret: { + default: 'Por favor insira um número válido SIRET', + }, + step: { + default: 'Por favor insira um passo válido %s', + }, + stringCase: { + default: 'Por favor, digite apenas caracteres minúsculos', + upper: 'Por favor, digite apenas caracteres maiúsculos', + }, + stringLength: { + between: 'Por favor insira um valor entre %s e %s caracteres', + default: 'Por favor insira um valor com comprimento válido', + less: 'Por favor insira menos de %s caracteres', + more: 'Por favor insira mais de %s caracteres', + }, + uri: { + default: 'Por favor insira um URI válido', + }, + uuid: { + default: 'Por favor insira um número válido UUID', + version: 'Por favor insira uma versão %s UUID válida', + }, + vat: { + countries: { + AT: 'Áustria', + BE: 'Bélgica', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + EE: 'Estônia', + EL: 'Grécia', + ES: 'Espanha', + FI: 'Finlândia', + FR: 'França', + GB: 'Reino Unido', + GR: 'Grécia', + HR: 'Croácia', + HU: 'Hungria', + IE: 'Irlanda', + IS: 'Islândia', + IT: 'Itália', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MT: 'Malta', + NL: 'Holanda', + NO: 'Norway', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RS: 'Sérvia', + RU: 'Rússia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + VE: 'Venezuela', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número VAT válido em %s', + default: 'Por favor insira um VAT válido', + }, + vin: { + default: 'Por favor insira um VIN válido', + }, + zipCode: { + countries: { + AT: 'Áustria', + BG: 'Bulgária', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suíça', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itália', + MA: 'Marrocos', + NL: 'Holanda', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RU: 'Rússia', + SE: 'Suécia', + SG: 'Cingapura', + SK: 'Eslováquia', + US: 'EUA', + }, + country: 'Por favor insira um código postal válido em %s', + default: 'Por favor insira um código postal válido', + }, + }; + + return pt_BR; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_BR.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_BR.min.js new file mode 100755 index 00000000..bec22589 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_BR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.pt_BR=factory())})(this,(function(){"use strict";var pt_BR={base64:{default:"Por favor insira um código base 64 válido"},between:{default:"Por favor insira um valor entre %s e %s",notInclusive:"Por favor insira um valor estritamente entre %s e %s"},bic:{default:"Por favor insira um número BIC válido"},callback:{default:"Por favor insira um valor válido"},choice:{between:"Por favor escolha de %s a %s opções",default:"Por favor insira um valor válido",less:"Por favor escolha %s opções no mínimo",more:"Por favor escolha %s opções no máximo"},color:{default:"Por favor insira uma cor válida"},creditCard:{default:"Por favor insira um número de cartão de crédito válido"},cusip:{default:"Por favor insira um número CUSIP válido"},date:{default:"Por favor insira uma data válida",max:"Por favor insira uma data anterior a %s",min:"Por favor insira uma data posterior a %s",range:"Por favor insira uma data entre %s e %s"},different:{default:"Por favor insira valores diferentes"},digits:{default:"Por favor insira somente dígitos"},ean:{default:"Por favor insira um número EAN válido"},ein:{default:"Por favor insira um número EIN válido"},emailAddress:{default:"Por favor insira um email válido"},file:{default:"Por favor escolha um arquivo válido"},greaterThan:{default:"Por favor insira um valor maior ou igual a %s",notInclusive:"Por favor insira um valor maior do que %s"},grid:{default:"Por favor insira uma GRID válida"},hex:{default:"Por favor insira um hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emirados Árabes",AL:"Albânia",AO:"Angola",AT:"Áustria",AZ:"Azerbaijão",BA:"Bósnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgária",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suíça",CM:"Camarões",CR:"Costa Rica",CV:"Cabo Verde",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argélia",EE:"Estónia",ES:"Espanha",FI:"Finlândia",FO:"Ilhas Faroé",FR:"França",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlândia",GR:"Grécia",GT:"Guatemala",HR:"Croácia",HU:"Hungria",IC:"Costa do Marfim",IE:"Ireland",IL:"Israel",IR:"Irão",IS:"Islândia",JO:"Jordan",KW:"Kuwait",KZ:"Cazaquistão",LB:"Líbano",LI:"Liechtenstein",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MC:"Mônaco",MD:"Moldávia",ME:"Montenegro",MG:"Madagascar",MK:"Macedónia",ML:"Mali",MR:"Mauritânia",MT:"Malta",MU:"Maurício",MZ:"Moçambique",NL:"Países Baixos",NO:"Noruega",PK:"Paquistão",PL:"Polônia",PS:"Palestino",PT:"Portugal",QA:"Qatar",RO:"Roménia",RS:"Sérvia",SA:"Arábia Saudita",SE:"Suécia",SI:"Eslovénia",SK:"Eslováquia",SM:"San Marino",SN:"Senegal",TI:"Itália",TL:"Timor Leste",TN:"Tunísia",TR:"Turquia",VG:"Ilhas Virgens Britânicas",XK:"República do Kosovo"},country:"Por favor insira um número IBAN válido em %s",default:"Por favor insira um número IBAN válido"},id:{countries:{BA:"Bósnia e Herzegovina",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estônia",ES:"Espanha",FI:"Finlândia",HR:"Croácia",IE:"Irlanda",IS:"Islândia",LT:"Lituânia",LV:"Letónia",ME:"Montenegro",MK:"Macedónia",NL:"Holanda",PL:"Polônia",RO:"Roménia",RS:"Sérvia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",SM:"San Marino",TH:"Tailândia",TR:"Turquia",ZA:"África do Sul"},country:"Por favor insira um número de indentificação válido em %s",default:"Por favor insira um código de identificação válido"},identical:{default:"Por favor, insira o mesmo valor"},imei:{default:"Por favor insira um IMEI válido"},imo:{default:"Por favor insira um IMO válido"},integer:{default:"Por favor insira um número inteiro válido"},ip:{default:"Por favor insira um IP válido",ipv4:"Por favor insira um endereço de IPv4 válido",ipv6:"Por favor insira um endereço de IPv6 válido"},isbn:{default:"Por favor insira um ISBN válido"},isin:{default:"Por favor insira um ISIN válido"},ismn:{default:"Por favor insira um ISMN válido"},issn:{default:"Por favor insira um ISSN válido"},lessThan:{default:"Por favor insira um valor menor ou igual a %s",notInclusive:"Por favor insira um valor menor do que %s"},mac:{default:"Por favor insira um endereço MAC válido"},meid:{default:"Por favor insira um MEID válido"},notEmpty:{default:"Por favor insira um valor"},numeric:{default:"Por favor insira um número real válido"},phone:{countries:{AE:"Emirados Árabes",BG:"Bulgária",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IN:"Índia",MA:"Marrocos",NL:"Países Baixos",PK:"Paquistão",RO:"Roménia",RU:"Rússia",SK:"Eslováquia",TH:"Tailândia",US:"EUA",VE:"Venezuela"},country:"Por favor insira um número de telefone válido em %s",default:"Por favor insira um número de telefone válido"},promise:{default:"Por favor insira um valor válido"},regexp:{default:"Por favor insira um valor correspondente ao padrão"},remote:{default:"Por favor insira um valor válido"},rtn:{default:"Por favor insira um número válido RTN"},sedol:{default:"Por favor insira um número válido SEDOL"},siren:{default:"Por favor insira um número válido SIREN"},siret:{default:"Por favor insira um número válido SIRET"},step:{default:"Por favor insira um passo válido %s"},stringCase:{default:"Por favor, digite apenas caracteres minúsculos",upper:"Por favor, digite apenas caracteres maiúsculos"},stringLength:{between:"Por favor insira um valor entre %s e %s caracteres",default:"Por favor insira um valor com comprimento válido",less:"Por favor insira menos de %s caracteres",more:"Por favor insira mais de %s caracteres"},uri:{default:"Por favor insira um URI válido"},uuid:{default:"Por favor insira um número válido UUID",version:"Por favor insira uma versão %s UUID válida"},vat:{countries:{AT:"Áustria",BE:"Bélgica",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",EE:"Estônia",EL:"Grécia",ES:"Espanha",FI:"Finlândia",FR:"França",GB:"Reino Unido",GR:"Grécia",HR:"Croácia",HU:"Hungria",IE:"Irlanda",IS:"Islândia",IT:"Itália",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MT:"Malta",NL:"Holanda",NO:"Norway",PL:"Polônia",PT:"Portugal",RO:"Roménia",RS:"Sérvia",RU:"Rússia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",VE:"Venezuela",ZA:"África do Sul"},country:"Por favor insira um número VAT válido em %s",default:"Por favor insira um VAT válido"},vin:{default:"Por favor insira um VIN válido"},zipCode:{countries:{AT:"Áustria",BG:"Bulgária",BR:"Brasil",CA:"Canadá",CH:"Suíça",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IE:"Irlanda",IN:"Índia",IT:"Itália",MA:"Marrocos",NL:"Holanda",PL:"Polônia",PT:"Portugal",RO:"Roménia",RU:"Rússia",SE:"Suécia",SG:"Cingapura",SK:"Eslováquia",US:"EUA"},country:"Por favor insira um código postal válido em %s",default:"Por favor insira um código postal válido"}};return pt_BR})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_PT.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_PT.js new file mode 100755 index 00000000..99b3d3fd --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_PT.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.pt_PT = factory())); +})(this, (function () { 'use strict'; + + /** + * Portuguese (Portugal) language package + * Translated by @rtbfreitas + */ + + var pt_PT = { + base64: { + default: 'Por favor insira um código base 64 válido', + }, + between: { + default: 'Por favor insira um valor entre %s e %s', + notInclusive: 'Por favor insira um valor estritamente entre %s e %s', + }, + bic: { + default: 'Por favor insira um número BIC válido', + }, + callback: { + default: 'Por favor insira um valor válido', + }, + choice: { + between: 'Por favor escolha de %s a %s opções', + default: 'Por favor insira um valor válido', + less: 'Por favor escolha %s opções no mínimo', + more: 'Por favor escolha %s opções no máximo', + }, + color: { + default: 'Por favor insira uma cor válida', + }, + creditCard: { + default: 'Por favor insira um número de cartão de crédito válido', + }, + cusip: { + default: 'Por favor insira um número CUSIP válido', + }, + date: { + default: 'Por favor insira uma data válida', + max: 'Por favor insira uma data anterior a %s', + min: 'Por favor insira uma data posterior a %s', + range: 'Por favor insira uma data entre %s e %s', + }, + different: { + default: 'Por favor insira valores diferentes', + }, + digits: { + default: 'Por favor insira somente dígitos', + }, + ean: { + default: 'Por favor insira um número EAN válido', + }, + ein: { + default: 'Por favor insira um número EIN válido', + }, + emailAddress: { + default: 'Por favor insira um email válido', + }, + file: { + default: 'Por favor escolha um arquivo válido', + }, + greaterThan: { + default: 'Por favor insira um valor maior ou igual a %s', + notInclusive: 'Por favor insira um valor maior do que %s', + }, + grid: { + default: 'Por favor insira uma GRID válida', + }, + hex: { + default: 'Por favor insira um hexadecimal válido', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emirados Árabes', + AL: 'Albânia', + AO: 'Angola', + AT: 'Áustria', + AZ: 'Azerbaijão', + BA: 'Bósnia-Herzegovina', + BE: 'Bélgica', + BF: 'Burkina Faso', + BG: 'Bulgária', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasil', + CH: 'Suíça', + CM: 'Camarões', + CR: 'Costa Rica', + CV: 'Cabo Verde', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + DO: 'República Dominicana', + DZ: 'Argélia', + EE: 'Estónia', + ES: 'Espanha', + FI: 'Finlândia', + FO: 'Ilhas Faroé', + FR: 'França', + GB: 'Reino Unido', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlândia', + GR: 'Grécia', + GT: 'Guatemala', + HR: 'Croácia', + HU: 'Hungria', + IC: 'Costa do Marfim', + IE: 'Ireland', + IL: 'Israel', + IR: 'Irão', + IS: 'Islândia', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Cazaquistão', + LB: 'Líbano', + LI: 'Liechtenstein', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MC: 'Mônaco', + MD: 'Moldávia', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedónia', + ML: 'Mali', + MR: 'Mauritânia', + MT: 'Malta', + MU: 'Maurício', + MZ: 'Moçambique', + NL: 'Países Baixos', + NO: 'Noruega', + PK: 'Paquistão', + PL: 'Polônia', + PS: 'Palestino', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Roménia', + RS: 'Sérvia', + SA: 'Arábia Saudita', + SE: 'Suécia', + SI: 'Eslovénia', + SK: 'Eslováquia', + SM: 'San Marino', + SN: 'Senegal', + TI: 'Itália', + TL: 'Timor Leste', + TN: 'Tunísia', + TR: 'Turquia', + VG: 'Ilhas Virgens Britânicas', + XK: 'República do Kosovo', + }, + country: 'Por favor insira um número IBAN válido em %s', + default: 'Por favor insira um número IBAN válido', + }, + id: { + countries: { + BA: 'Bósnia e Herzegovina', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CL: 'Chile', + CN: 'China', + CZ: 'República Checa', + DK: 'Dinamarca', + EE: 'Estônia', + ES: 'Espanha', + FI: 'Finlândia', + HR: 'Croácia', + IE: 'Irlanda', + IS: 'Islândia', + LT: 'Lituânia', + LV: 'Letónia', + ME: 'Montenegro', + MK: 'Macedónia', + NL: 'Holanda', + PL: 'Polônia', + RO: 'Roménia', + RS: 'Sérvia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + SM: 'San Marino', + TH: 'Tailândia', + TR: 'Turquia', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número de indentificação válido em %s', + default: 'Por favor insira um código de identificação válido', + }, + identical: { + default: 'Por favor, insira o mesmo valor', + }, + imei: { + default: 'Por favor insira um IMEI válido', + }, + imo: { + default: 'Por favor insira um IMO válido', + }, + integer: { + default: 'Por favor insira um número inteiro válido', + }, + ip: { + default: 'Por favor insira um IP válido', + ipv4: 'Por favor insira um endereço de IPv4 válido', + ipv6: 'Por favor insira um endereço de IPv6 válido', + }, + isbn: { + default: 'Por favor insira um ISBN válido', + }, + isin: { + default: 'Por favor insira um ISIN válido', + }, + ismn: { + default: 'Por favor insira um ISMN válido', + }, + issn: { + default: 'Por favor insira um ISSN válido', + }, + lessThan: { + default: 'Por favor insira um valor menor ou igual a %s', + notInclusive: 'Por favor insira um valor menor do que %s', + }, + mac: { + default: 'Por favor insira um endereço MAC válido', + }, + meid: { + default: 'Por favor insira um MEID válido', + }, + notEmpty: { + default: 'Por favor insira um valor', + }, + numeric: { + default: 'Por favor insira um número real válido', + }, + phone: { + countries: { + AE: 'Emirados Árabes', + BG: 'Bulgária', + BR: 'Brasil', + CN: 'China', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IN: 'Índia', + MA: 'Marrocos', + NL: 'Países Baixos', + PK: 'Paquistão', + RO: 'Roménia', + RU: 'Rússia', + SK: 'Eslováquia', + TH: 'Tailândia', + US: 'EUA', + VE: 'Venezuela', + }, + country: 'Por favor insira um número de telefone válido em %s', + default: 'Por favor insira um número de telefone válido', + }, + promise: { + default: 'Por favor insira um valor válido', + }, + regexp: { + default: 'Por favor insira um valor correspondente ao padrão', + }, + remote: { + default: 'Por favor insira um valor válido', + }, + rtn: { + default: 'Por favor insira um número válido RTN', + }, + sedol: { + default: 'Por favor insira um número válido SEDOL', + }, + siren: { + default: 'Por favor insira um número válido SIREN', + }, + siret: { + default: 'Por favor insira um número válido SIRET', + }, + step: { + default: 'Por favor insira um passo válido %s', + }, + stringCase: { + default: 'Por favor, digite apenas caracteres minúsculos', + upper: 'Por favor, digite apenas caracteres maiúsculos', + }, + stringLength: { + between: 'Por favor insira um valor entre %s e %s caracteres', + default: 'Por favor insira um valor com comprimento válido', + less: 'Por favor insira menos de %s caracteres', + more: 'Por favor insira mais de %s caracteres', + }, + uri: { + default: 'Por favor insira um URI válido', + }, + uuid: { + default: 'Por favor insira um número válido UUID', + version: 'Por favor insira uma versão %s UUID válida', + }, + vat: { + countries: { + AT: 'Áustria', + BE: 'Bélgica', + BG: 'Bulgária', + BR: 'Brasil', + CH: 'Suíça', + CY: 'Chipre', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + EE: 'Estônia', + EL: 'Grécia', + ES: 'Espanha', + FI: 'Finlândia', + FR: 'França', + GB: 'Reino Unido', + GR: 'Grécia', + HR: 'Croácia', + HU: 'Hungria', + IE: 'Irlanda', + IS: 'Islândia', + IT: 'Itália', + LT: 'Lituânia', + LU: 'Luxemburgo', + LV: 'Letónia', + MT: 'Malta', + NL: 'Holanda', + NO: 'Norway', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RS: 'Sérvia', + RU: 'Rússia', + SE: 'Suécia', + SI: 'Eslovênia', + SK: 'Eslováquia', + VE: 'Venezuela', + ZA: 'África do Sul', + }, + country: 'Por favor insira um número VAT válido em %s', + default: 'Por favor insira um VAT válido', + }, + vin: { + default: 'Por favor insira um VIN válido', + }, + zipCode: { + countries: { + AT: 'Áustria', + BG: 'Bulgária', + BR: 'Brasil', + CA: 'Canadá', + CH: 'Suíça', + CZ: 'República Checa', + DE: 'Alemanha', + DK: 'Dinamarca', + ES: 'Espanha', + FR: 'França', + GB: 'Reino Unido', + IE: 'Irlanda', + IN: 'Índia', + IT: 'Itália', + MA: 'Marrocos', + NL: 'Holanda', + PL: 'Polônia', + PT: 'Portugal', + RO: 'Roménia', + RU: 'Rússia', + SE: 'Suécia', + SG: 'Cingapura', + SK: 'Eslováquia', + US: 'EUA', + }, + country: 'Por favor insira um código postal válido em %s', + default: 'Por favor insira um código postal válido', + }, + }; + + return pt_PT; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_PT.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_PT.min.js new file mode 100755 index 00000000..3dd2d4a5 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/pt_PT.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.pt_PT=factory())})(this,(function(){"use strict";var pt_PT={base64:{default:"Por favor insira um código base 64 válido"},between:{default:"Por favor insira um valor entre %s e %s",notInclusive:"Por favor insira um valor estritamente entre %s e %s"},bic:{default:"Por favor insira um número BIC válido"},callback:{default:"Por favor insira um valor válido"},choice:{between:"Por favor escolha de %s a %s opções",default:"Por favor insira um valor válido",less:"Por favor escolha %s opções no mínimo",more:"Por favor escolha %s opções no máximo"},color:{default:"Por favor insira uma cor válida"},creditCard:{default:"Por favor insira um número de cartão de crédito válido"},cusip:{default:"Por favor insira um número CUSIP válido"},date:{default:"Por favor insira uma data válida",max:"Por favor insira uma data anterior a %s",min:"Por favor insira uma data posterior a %s",range:"Por favor insira uma data entre %s e %s"},different:{default:"Por favor insira valores diferentes"},digits:{default:"Por favor insira somente dígitos"},ean:{default:"Por favor insira um número EAN válido"},ein:{default:"Por favor insira um número EIN válido"},emailAddress:{default:"Por favor insira um email válido"},file:{default:"Por favor escolha um arquivo válido"},greaterThan:{default:"Por favor insira um valor maior ou igual a %s",notInclusive:"Por favor insira um valor maior do que %s"},grid:{default:"Por favor insira uma GRID válida"},hex:{default:"Por favor insira um hexadecimal válido"},iban:{countries:{AD:"Andorra",AE:"Emirados Árabes",AL:"Albânia",AO:"Angola",AT:"Áustria",AZ:"Azerbaijão",BA:"Bósnia-Herzegovina",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgária",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasil",CH:"Suíça",CM:"Camarões",CR:"Costa Rica",CV:"Cabo Verde",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",DO:"República Dominicana",DZ:"Argélia",EE:"Estónia",ES:"Espanha",FI:"Finlândia",FO:"Ilhas Faroé",FR:"França",GB:"Reino Unido",GE:"Georgia",GI:"Gibraltar",GL:"Groenlândia",GR:"Grécia",GT:"Guatemala",HR:"Croácia",HU:"Hungria",IC:"Costa do Marfim",IE:"Ireland",IL:"Israel",IR:"Irão",IS:"Islândia",JO:"Jordan",KW:"Kuwait",KZ:"Cazaquistão",LB:"Líbano",LI:"Liechtenstein",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MC:"Mônaco",MD:"Moldávia",ME:"Montenegro",MG:"Madagascar",MK:"Macedónia",ML:"Mali",MR:"Mauritânia",MT:"Malta",MU:"Maurício",MZ:"Moçambique",NL:"Países Baixos",NO:"Noruega",PK:"Paquistão",PL:"Polônia",PS:"Palestino",PT:"Portugal",QA:"Qatar",RO:"Roménia",RS:"Sérvia",SA:"Arábia Saudita",SE:"Suécia",SI:"Eslovénia",SK:"Eslováquia",SM:"San Marino",SN:"Senegal",TI:"Itália",TL:"Timor Leste",TN:"Tunísia",TR:"Turquia",VG:"Ilhas Virgens Britânicas",XK:"República do Kosovo"},country:"Por favor insira um número IBAN válido em %s",default:"Por favor insira um número IBAN válido"},id:{countries:{BA:"Bósnia e Herzegovina",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CL:"Chile",CN:"China",CZ:"República Checa",DK:"Dinamarca",EE:"Estônia",ES:"Espanha",FI:"Finlândia",HR:"Croácia",IE:"Irlanda",IS:"Islândia",LT:"Lituânia",LV:"Letónia",ME:"Montenegro",MK:"Macedónia",NL:"Holanda",PL:"Polônia",RO:"Roménia",RS:"Sérvia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",SM:"San Marino",TH:"Tailândia",TR:"Turquia",ZA:"África do Sul"},country:"Por favor insira um número de indentificação válido em %s",default:"Por favor insira um código de identificação válido"},identical:{default:"Por favor, insira o mesmo valor"},imei:{default:"Por favor insira um IMEI válido"},imo:{default:"Por favor insira um IMO válido"},integer:{default:"Por favor insira um número inteiro válido"},ip:{default:"Por favor insira um IP válido",ipv4:"Por favor insira um endereço de IPv4 válido",ipv6:"Por favor insira um endereço de IPv6 válido"},isbn:{default:"Por favor insira um ISBN válido"},isin:{default:"Por favor insira um ISIN válido"},ismn:{default:"Por favor insira um ISMN válido"},issn:{default:"Por favor insira um ISSN válido"},lessThan:{default:"Por favor insira um valor menor ou igual a %s",notInclusive:"Por favor insira um valor menor do que %s"},mac:{default:"Por favor insira um endereço MAC válido"},meid:{default:"Por favor insira um MEID válido"},notEmpty:{default:"Por favor insira um valor"},numeric:{default:"Por favor insira um número real válido"},phone:{countries:{AE:"Emirados Árabes",BG:"Bulgária",BR:"Brasil",CN:"China",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IN:"Índia",MA:"Marrocos",NL:"Países Baixos",PK:"Paquistão",RO:"Roménia",RU:"Rússia",SK:"Eslováquia",TH:"Tailândia",US:"EUA",VE:"Venezuela"},country:"Por favor insira um número de telefone válido em %s",default:"Por favor insira um número de telefone válido"},promise:{default:"Por favor insira um valor válido"},regexp:{default:"Por favor insira um valor correspondente ao padrão"},remote:{default:"Por favor insira um valor válido"},rtn:{default:"Por favor insira um número válido RTN"},sedol:{default:"Por favor insira um número válido SEDOL"},siren:{default:"Por favor insira um número válido SIREN"},siret:{default:"Por favor insira um número válido SIRET"},step:{default:"Por favor insira um passo válido %s"},stringCase:{default:"Por favor, digite apenas caracteres minúsculos",upper:"Por favor, digite apenas caracteres maiúsculos"},stringLength:{between:"Por favor insira um valor entre %s e %s caracteres",default:"Por favor insira um valor com comprimento válido",less:"Por favor insira menos de %s caracteres",more:"Por favor insira mais de %s caracteres"},uri:{default:"Por favor insira um URI válido"},uuid:{default:"Por favor insira um número válido UUID",version:"Por favor insira uma versão %s UUID válida"},vat:{countries:{AT:"Áustria",BE:"Bélgica",BG:"Bulgária",BR:"Brasil",CH:"Suíça",CY:"Chipre",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",EE:"Estônia",EL:"Grécia",ES:"Espanha",FI:"Finlândia",FR:"França",GB:"Reino Unido",GR:"Grécia",HR:"Croácia",HU:"Hungria",IE:"Irlanda",IS:"Islândia",IT:"Itália",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",MT:"Malta",NL:"Holanda",NO:"Norway",PL:"Polônia",PT:"Portugal",RO:"Roménia",RS:"Sérvia",RU:"Rússia",SE:"Suécia",SI:"Eslovênia",SK:"Eslováquia",VE:"Venezuela",ZA:"África do Sul"},country:"Por favor insira um número VAT válido em %s",default:"Por favor insira um VAT válido"},vin:{default:"Por favor insira um VIN válido"},zipCode:{countries:{AT:"Áustria",BG:"Bulgária",BR:"Brasil",CA:"Canadá",CH:"Suíça",CZ:"República Checa",DE:"Alemanha",DK:"Dinamarca",ES:"Espanha",FR:"França",GB:"Reino Unido",IE:"Irlanda",IN:"Índia",IT:"Itália",MA:"Marrocos",NL:"Holanda",PL:"Polônia",PT:"Portugal",RO:"Roménia",RU:"Rússia",SE:"Suécia",SG:"Cingapura",SK:"Eslováquia",US:"EUA"},country:"Por favor insira um código postal válido em %s",default:"Por favor insira um código postal válido"}};return pt_PT})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ro_RO.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ro_RO.js new file mode 100755 index 00000000..484e3277 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ro_RO.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ro_RO = factory())); +})(this, (function () { 'use strict'; + + /** + * Romanian language package + * Translated by @filipac + */ + + var ro_RO = { + base64: { + default: 'Te rog introdu un base64 valid', + }, + between: { + default: 'Te rog introdu o valoare intre %s si %s', + notInclusive: 'Te rog introdu o valoare doar intre %s si %s', + }, + bic: { + default: 'Te rog sa introduci un numar BIC valid', + }, + callback: { + default: 'Te rog introdu o valoare valida', + }, + choice: { + between: 'Te rog alege %s - %s optiuni', + default: 'Te rog introdu o valoare valida', + less: 'Te rog alege minim %s optiuni', + more: 'Te rog alege maxim %s optiuni', + }, + color: { + default: 'Te rog sa introduci o culoare valida', + }, + creditCard: { + default: 'Te rog introdu un numar de card valid', + }, + cusip: { + default: 'Te rog introdu un numar CUSIP valid', + }, + date: { + default: 'Te rog introdu o data valida', + max: 'Te rog sa introduci o data inainte de %s', + min: 'Te rog sa introduci o data dupa %s', + range: 'Te rog sa introduci o data in intervalul %s - %s', + }, + different: { + default: 'Te rog sa introduci o valoare diferita', + }, + digits: { + default: 'Te rog sa introduci doar cifre', + }, + ean: { + default: 'Te rog sa introduci un numar EAN valid', + }, + ein: { + default: 'Te rog sa introduci un numar EIN valid', + }, + emailAddress: { + default: 'Te rog sa introduci o adresa de email valide', + }, + file: { + default: 'Te rog sa introduci un fisier valid', + }, + greaterThan: { + default: 'Te rog sa introduci o valoare mai mare sau egala cu %s', + notInclusive: 'Te rog sa introduci o valoare mai mare ca %s', + }, + grid: { + default: 'Te rog sa introduci un numar GRId valid', + }, + hex: { + default: 'Te rog sa introduci un numar hexadecimal valid', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Emiratele Arabe unite', + AL: 'Albania', + AO: 'Angola', + AT: 'Austria', + AZ: 'Azerbaijan', + BA: 'Bosnia si Herzegovina', + BE: 'Belgia', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazilia', + CH: 'Elvetia', + CI: 'Coasta de Fildes', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cipru', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + DO: 'Republica Dominicană', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Spania', + FI: 'Finlanda', + FO: 'Insulele Faroe', + FR: 'Franta', + GB: 'Regatul Unit', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Groenlanda', + GR: 'Grecia', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Ungaria', + IE: 'Irlanda', + IL: 'Israel', + IR: 'Iran', + IS: 'Islanda', + IT: 'Italia', + JO: 'Iordania', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Muntenegru', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Olanda', + NO: 'Norvegia', + PK: 'Pakistan', + PL: 'Polanda', + PS: 'Palestina', + PT: 'Portugalia', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Arabia Saudita', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timorul de Est', + TN: 'Tunisia', + TR: 'Turkey', + VG: 'Insulele Virgin', + XK: 'Republica Kosovo', + }, + country: 'Te rog sa introduci un IBAN valid din %s', + default: 'Te rog sa introduci un IBAN valid', + }, + id: { + countries: { + BA: 'Bosnia si Herzegovina', + BG: 'Bulgaria', + BR: 'Brazilia', + CH: 'Elvetia', + CL: 'Chile', + CN: 'China', + CZ: 'Republica Cehia', + DK: 'Danemarca', + EE: 'Estonia', + ES: 'Spania', + FI: 'Finlanda', + HR: 'Croatia', + IE: 'Irlanda', + IS: 'Islanda', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Muntenegru', + MK: 'Macedonia', + NL: 'Olanda', + PL: 'Polanda', + RO: 'Romania', + RS: 'Serbia', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + SM: 'San Marino', + TH: 'Thailanda', + TR: 'Turkey', + ZA: 'Africa de Sud', + }, + country: 'Te rog sa introduci un numar de identificare valid din %s', + default: 'Te rog sa introduci un numar de identificare valid', + }, + identical: { + default: 'Te rog sa introduci aceeasi valoare', + }, + imei: { + default: 'Te rog sa introduci un numar IMEI valid', + }, + imo: { + default: 'Te rog sa introduci un numar IMO valid', + }, + integer: { + default: 'Te rog sa introduci un numar valid', + }, + ip: { + default: 'Te rog sa introduci o adresa IP valida', + ipv4: 'Te rog sa introduci o adresa IPv4 valida', + ipv6: 'Te rog sa introduci o adresa IPv6 valida', + }, + isbn: { + default: 'Te rog sa introduci un numar ISBN valid', + }, + isin: { + default: 'Te rog sa introduci un numar ISIN valid', + }, + ismn: { + default: 'Te rog sa introduci un numar ISMN valid', + }, + issn: { + default: 'Te rog sa introduci un numar ISSN valid', + }, + lessThan: { + default: 'Te rog sa introduci o valoare mai mica sau egala cu %s', + notInclusive: 'Te rog sa introduci o valoare mai mica decat %s', + }, + mac: { + default: 'Te rog sa introduci o adresa MAC valida', + }, + meid: { + default: 'Te rog sa introduci un numar MEID valid', + }, + notEmpty: { + default: 'Te rog sa introduci o valoare', + }, + numeric: { + default: 'Te rog sa introduci un numar', + }, + phone: { + countries: { + AE: 'Emiratele Arabe unite', + BG: 'Bulgaria', + BR: 'Brazilia', + CN: 'China', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + ES: 'Spania', + FR: 'Franta', + GB: 'Regatul Unit', + IN: 'India', + MA: 'Maroc', + NL: 'Olanda', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Rusia', + SK: 'Slovacia', + TH: 'Thailanda', + US: 'SUA', + VE: 'Venezuela', + }, + country: 'Te rog sa introduci un numar de telefon valid din %s', + default: 'Te rog sa introduci un numar de telefon valid', + }, + promise: { + default: 'Te rog introdu o valoare valida', + }, + regexp: { + default: 'Te rog sa introduci o valoare in formatul', + }, + remote: { + default: 'Te rog sa introduci o valoare valida', + }, + rtn: { + default: 'Te rog sa introduci un numar RTN valid', + }, + sedol: { + default: 'Te rog sa introduci un numar SEDOL valid', + }, + siren: { + default: 'Te rog sa introduci un numar SIREN valid', + }, + siret: { + default: 'Te rog sa introduci un numar SIRET valid', + }, + step: { + default: 'Te rog introdu un pas de %s', + }, + stringCase: { + default: 'Te rog sa introduci doar litere mici', + upper: 'Te rog sa introduci doar litere mari', + }, + stringLength: { + between: 'Te rog sa introduci o valoare cu lungimea intre %s si %s caractere', + default: 'Te rog sa introduci o valoare cu lungimea valida', + less: 'Te rog sa introduci mai putin de %s caractere', + more: 'Te rog sa introduci mai mult de %s caractere', + }, + uri: { + default: 'Te rog sa introduci un URI valid', + }, + uuid: { + default: 'Te rog sa introduci un numar UUID valid', + version: 'Te rog sa introduci un numar UUID versiunea %s valid', + }, + vat: { + countries: { + AT: 'Austria', + BE: 'Belgia', + BG: 'Bulgaria', + BR: 'Brazilia', + CH: 'Elvetia', + CY: 'Cipru', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + EE: 'Estonia', + EL: 'Grecia', + ES: 'Spania', + FI: 'Finlanda', + FR: 'Franta', + GB: 'Regatul Unit', + GR: 'Grecia', + HR: 'Croatia', + HU: 'Ungaria', + IE: 'Irlanda', + IS: 'Islanda', + IT: 'Italia', + LT: 'Lituania', + LU: 'Luxemburg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Olanda', + NO: 'Norvegia', + PL: 'Polanda', + PT: 'Portugalia', + RO: 'Romania', + RS: 'Serbia', + RU: 'Rusia', + SE: 'Suedia', + SI: 'Slovenia', + SK: 'Slovacia', + VE: 'Venezuela', + ZA: 'Africa de Sud', + }, + country: 'Te rog sa introduci un numar TVA valid din %s', + default: 'Te rog sa introduci un numar TVA valid', + }, + vin: { + default: 'Te rog sa introduci un numar VIN valid', + }, + zipCode: { + countries: { + AT: 'Austria', + BG: 'Bulgaria', + BR: 'Brazilia', + CA: 'Canada', + CH: 'Elvetia', + CZ: 'Republica Cehia', + DE: 'Germania', + DK: 'Danemarca', + ES: 'Spania', + FR: 'Franta', + GB: 'Regatul Unit', + IE: 'Irlanda', + IN: 'India', + IT: 'Italia', + MA: 'Maroc', + NL: 'Olanda', + PL: 'Polanda', + PT: 'Portugalia', + RO: 'Romania', + RU: 'Rusia', + SE: 'Suedia', + SG: 'Singapore', + SK: 'Slovacia', + US: 'SUA', + }, + country: 'Te rog sa introduci un cod postal valid din %s', + default: 'Te rog sa introduci un cod postal valid', + }, + }; + + return ro_RO; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ro_RO.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ro_RO.min.js new file mode 100755 index 00000000..8dc2c0fc --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ro_RO.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ro_RO=factory())})(this,(function(){"use strict";var ro_RO={base64:{default:"Te rog introdu un base64 valid"},between:{default:"Te rog introdu o valoare intre %s si %s",notInclusive:"Te rog introdu o valoare doar intre %s si %s"},bic:{default:"Te rog sa introduci un numar BIC valid"},callback:{default:"Te rog introdu o valoare valida"},choice:{between:"Te rog alege %s - %s optiuni",default:"Te rog introdu o valoare valida",less:"Te rog alege minim %s optiuni",more:"Te rog alege maxim %s optiuni"},color:{default:"Te rog sa introduci o culoare valida"},creditCard:{default:"Te rog introdu un numar de card valid"},cusip:{default:"Te rog introdu un numar CUSIP valid"},date:{default:"Te rog introdu o data valida",max:"Te rog sa introduci o data inainte de %s",min:"Te rog sa introduci o data dupa %s",range:"Te rog sa introduci o data in intervalul %s - %s"},different:{default:"Te rog sa introduci o valoare diferita"},digits:{default:"Te rog sa introduci doar cifre"},ean:{default:"Te rog sa introduci un numar EAN valid"},ein:{default:"Te rog sa introduci un numar EIN valid"},emailAddress:{default:"Te rog sa introduci o adresa de email valide"},file:{default:"Te rog sa introduci un fisier valid"},greaterThan:{default:"Te rog sa introduci o valoare mai mare sau egala cu %s",notInclusive:"Te rog sa introduci o valoare mai mare ca %s"},grid:{default:"Te rog sa introduci un numar GRId valid"},hex:{default:"Te rog sa introduci un numar hexadecimal valid"},iban:{countries:{AD:"Andorra",AE:"Emiratele Arabe unite",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia si Herzegovina",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazilia",CH:"Elvetia",CI:"Coasta de Fildes",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cipru",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",DO:"Republica Dominicană",DZ:"Algeria",EE:"Estonia",ES:"Spania",FI:"Finlanda",FO:"Insulele Faroe",FR:"Franta",GB:"Regatul Unit",GE:"Georgia",GI:"Gibraltar",GL:"Groenlanda",GR:"Grecia",GT:"Guatemala",HR:"Croatia",HU:"Ungaria",IE:"Irlanda",IL:"Israel",IR:"Iran",IS:"Islanda",IT:"Italia",JO:"Iordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Muntenegru",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Olanda",NO:"Norvegia",PK:"Pakistan",PL:"Polanda",PS:"Palestina",PT:"Portugalia",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Arabia Saudita",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",SM:"San Marino",SN:"Senegal",TL:"Timorul de Est",TN:"Tunisia",TR:"Turkey",VG:"Insulele Virgin",XK:"Republica Kosovo"},country:"Te rog sa introduci un IBAN valid din %s",default:"Te rog sa introduci un IBAN valid"},id:{countries:{BA:"Bosnia si Herzegovina",BG:"Bulgaria",BR:"Brazilia",CH:"Elvetia",CL:"Chile",CN:"China",CZ:"Republica Cehia",DK:"Danemarca",EE:"Estonia",ES:"Spania",FI:"Finlanda",HR:"Croatia",IE:"Irlanda",IS:"Islanda",LT:"Lithuania",LV:"Latvia",ME:"Muntenegru",MK:"Macedonia",NL:"Olanda",PL:"Polanda",RO:"Romania",RS:"Serbia",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",SM:"San Marino",TH:"Thailanda",TR:"Turkey",ZA:"Africa de Sud"},country:"Te rog sa introduci un numar de identificare valid din %s",default:"Te rog sa introduci un numar de identificare valid"},identical:{default:"Te rog sa introduci aceeasi valoare"},imei:{default:"Te rog sa introduci un numar IMEI valid"},imo:{default:"Te rog sa introduci un numar IMO valid"},integer:{default:"Te rog sa introduci un numar valid"},ip:{default:"Te rog sa introduci o adresa IP valida",ipv4:"Te rog sa introduci o adresa IPv4 valida",ipv6:"Te rog sa introduci o adresa IPv6 valida"},isbn:{default:"Te rog sa introduci un numar ISBN valid"},isin:{default:"Te rog sa introduci un numar ISIN valid"},ismn:{default:"Te rog sa introduci un numar ISMN valid"},issn:{default:"Te rog sa introduci un numar ISSN valid"},lessThan:{default:"Te rog sa introduci o valoare mai mica sau egala cu %s",notInclusive:"Te rog sa introduci o valoare mai mica decat %s"},mac:{default:"Te rog sa introduci o adresa MAC valida"},meid:{default:"Te rog sa introduci un numar MEID valid"},notEmpty:{default:"Te rog sa introduci o valoare"},numeric:{default:"Te rog sa introduci un numar"},phone:{countries:{AE:"Emiratele Arabe unite",BG:"Bulgaria",BR:"Brazilia",CN:"China",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",ES:"Spania",FR:"Franta",GB:"Regatul Unit",IN:"India",MA:"Maroc",NL:"Olanda",PK:"Pakistan",RO:"Romania",RU:"Rusia",SK:"Slovacia",TH:"Thailanda",US:"SUA",VE:"Venezuela"},country:"Te rog sa introduci un numar de telefon valid din %s",default:"Te rog sa introduci un numar de telefon valid"},promise:{default:"Te rog introdu o valoare valida"},regexp:{default:"Te rog sa introduci o valoare in formatul"},remote:{default:"Te rog sa introduci o valoare valida"},rtn:{default:"Te rog sa introduci un numar RTN valid"},sedol:{default:"Te rog sa introduci un numar SEDOL valid"},siren:{default:"Te rog sa introduci un numar SIREN valid"},siret:{default:"Te rog sa introduci un numar SIRET valid"},step:{default:"Te rog introdu un pas de %s"},stringCase:{default:"Te rog sa introduci doar litere mici",upper:"Te rog sa introduci doar litere mari"},stringLength:{between:"Te rog sa introduci o valoare cu lungimea intre %s si %s caractere",default:"Te rog sa introduci o valoare cu lungimea valida",less:"Te rog sa introduci mai putin de %s caractere",more:"Te rog sa introduci mai mult de %s caractere"},uri:{default:"Te rog sa introduci un URI valid"},uuid:{default:"Te rog sa introduci un numar UUID valid",version:"Te rog sa introduci un numar UUID versiunea %s valid"},vat:{countries:{AT:"Austria",BE:"Belgia",BG:"Bulgaria",BR:"Brazilia",CH:"Elvetia",CY:"Cipru",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",EE:"Estonia",EL:"Grecia",ES:"Spania",FI:"Finlanda",FR:"Franta",GB:"Regatul Unit",GR:"Grecia",HR:"Croatia",HU:"Ungaria",IE:"Irlanda",IS:"Islanda",IT:"Italia",LT:"Lituania",LU:"Luxemburg",LV:"Latvia",MT:"Malta",NL:"Olanda",NO:"Norvegia",PL:"Polanda",PT:"Portugalia",RO:"Romania",RS:"Serbia",RU:"Rusia",SE:"Suedia",SI:"Slovenia",SK:"Slovacia",VE:"Venezuela",ZA:"Africa de Sud"},country:"Te rog sa introduci un numar TVA valid din %s",default:"Te rog sa introduci un numar TVA valid"},vin:{default:"Te rog sa introduci un numar VIN valid"},zipCode:{countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazilia",CA:"Canada",CH:"Elvetia",CZ:"Republica Cehia",DE:"Germania",DK:"Danemarca",ES:"Spania",FR:"Franta",GB:"Regatul Unit",IE:"Irlanda",IN:"India",IT:"Italia",MA:"Maroc",NL:"Olanda",PL:"Polanda",PT:"Portugalia",RO:"Romania",RU:"Rusia",SE:"Suedia",SG:"Singapore",SK:"Slovacia",US:"SUA"},country:"Te rog sa introduci un cod postal valid din %s",default:"Te rog sa introduci un cod postal valid"}};return ro_RO})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ru_RU.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ru_RU.js new file mode 100755 index 00000000..54b6cec8 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ru_RU.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ru_RU = factory())); +})(this, (function () { 'use strict'; + + /** + * Russian language package + * Translated by @cylon-v. Improved by @stepin, @oleg-voloshyn + */ + + var ru_RU = { + base64: { + default: 'Пожалуйста, введите корректную строку base64', + }, + between: { + default: 'Пожалуйста, введите значение от %s до %s', + notInclusive: 'Пожалуйста, введите значение между %s и %s', + }, + bic: { + default: 'Пожалуйста, введите правильный номер BIC', + }, + callback: { + default: 'Пожалуйста, введите корректное значение', + }, + choice: { + between: 'Пожалуйста, выберите %s-%s опций', + default: 'Пожалуйста, введите корректное значение', + less: 'Пожалуйста, выберите хотя бы %s опций', + more: 'Пожалуйста, выберите не больше %s опций', + }, + color: { + default: 'Пожалуйста, введите правильный номер цвета', + }, + creditCard: { + default: 'Пожалуйста, введите правильный номер кредитной карты', + }, + cusip: { + default: 'Пожалуйста, введите правильный номер CUSIP', + }, + date: { + default: 'Пожалуйста, введите правильную дату', + max: 'Пожалуйста, введите дату перед %s', + min: 'Пожалуйста, введите дату после %s', + range: 'Пожалуйста, введите дату в диапазоне %s - %s', + }, + different: { + default: 'Пожалуйста, введите другое значение', + }, + digits: { + default: 'Пожалуйста, введите только цифры', + }, + ean: { + default: 'Пожалуйста, введите правильный номер EAN', + }, + ein: { + default: 'Пожалуйста, введите правильный номер EIN', + }, + emailAddress: { + default: 'Пожалуйста, введите правильный адрес эл. почты', + }, + file: { + default: 'Пожалуйста, выберите файл', + }, + greaterThan: { + default: 'Пожалуйста, введите значение большее или равное %s', + notInclusive: 'Пожалуйста, введите значение больше %s', + }, + grid: { + default: 'Пожалуйста, введите правильный номер GRId', + }, + hex: { + default: 'Пожалуйста, введите правильное шестнадцатиричное число', + }, + iban: { + countries: { + AD: 'Андорре', + AE: 'Объединённых Арабских Эмиратах', + AL: 'Албании', + AO: 'Анголе', + AT: 'Австрии', + AZ: 'Азербайджане', + BA: 'Боснии и Герцеговине', + BE: 'Бельгии', + BF: 'Буркина-Фасо', + BG: 'Болгарии', + BH: 'Бахрейне', + BI: 'Бурунди', + BJ: 'Бенине', + BR: 'Бразилии', + CH: 'Швейцарии', + CI: "Кот-д'Ивуаре", + CM: 'Камеруне', + CR: 'Коста-Рике', + CV: 'Кабо-Верде', + CY: 'Кипре', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + DO: 'Доминикане Республика', + DZ: 'Алжире', + EE: 'Эстонии', + ES: 'Испании', + FI: 'Финляндии', + FO: 'Фарерских островах', + FR: 'Франции', + GB: 'Великобритании', + GE: 'Грузии', + GI: 'Гибралтаре', + GL: 'Гренландии', + GR: 'Греции', + GT: 'Гватемале', + HR: 'Хорватии', + HU: 'Венгрии', + IE: 'Ирландии', + IL: 'Израиле', + IR: 'Иране', + IS: 'Исландии', + IT: 'Италии', + JO: 'Иордании', + KW: 'Кувейте', + KZ: 'Казахстане', + LB: 'Ливане', + LI: 'Лихтенштейне', + LT: 'Литве', + LU: 'Люксембурге', + LV: 'Латвии', + MC: 'Монако', + MD: 'Молдове', + ME: 'Черногории', + MG: 'Мадагаскаре', + MK: 'Македонии', + ML: 'Мали', + MR: 'Мавритании', + MT: 'Мальте', + MU: 'Маврикии', + MZ: 'Мозамбике', + NL: 'Нидерландах', + NO: 'Норвегии', + PK: 'Пакистане', + PL: 'Польше', + PS: 'Палестине', + PT: 'Португалии', + QA: 'Катаре', + RO: 'Румынии', + RS: 'Сербии', + SA: 'Саудовской Аравии', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + SM: 'Сан-Марино', + SN: 'Сенегале', + TL: 'Восточный Тимор', + TN: 'Тунисе', + TR: 'Турции', + VG: 'Британских Виргинских островах', + XK: 'Республика Косово', + }, + country: 'Пожалуйста, введите правильный номер IBAN в %s', + default: 'Пожалуйста, введите правильный номер IBAN', + }, + id: { + countries: { + BA: 'Боснии и Герцеговине', + BG: 'Болгарии', + BR: 'Бразилии', + CH: 'Швейцарии', + CL: 'Чили', + CN: 'Китае', + CZ: 'Чешская республика', + DK: 'Дании', + EE: 'Эстонии', + ES: 'Испании', + FI: 'Финляндии', + HR: 'Хорватии', + IE: 'Ирландии', + IS: 'Исландии', + LT: 'Литве', + LV: 'Латвии', + ME: 'Черногории', + MK: 'Македонии', + NL: 'Нидерландах', + PL: 'Польше', + RO: 'Румынии', + RS: 'Сербии', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + SM: 'Сан-Марино', + TH: 'Тайланде', + TR: 'Турции', + ZA: 'ЮАР', + }, + country: 'Пожалуйста, введите правильный идентификационный номер в %s', + default: 'Пожалуйста, введите правильный идентификационный номер', + }, + identical: { + default: 'Пожалуйста, введите такое же значение', + }, + imei: { + default: 'Пожалуйста, введите правильный номер IMEI', + }, + imo: { + default: 'Пожалуйста, введите правильный номер IMO', + }, + integer: { + default: 'Пожалуйста, введите правильное целое число', + }, + ip: { + default: 'Пожалуйста, введите правильный IP-адрес', + ipv4: 'Пожалуйста, введите правильный IPv4-адрес', + ipv6: 'Пожалуйста, введите правильный IPv6-адрес', + }, + isbn: { + default: 'Пожалуйста, введите правильный номер ISBN', + }, + isin: { + default: 'Пожалуйста, введите правильный номер ISIN', + }, + ismn: { + default: 'Пожалуйста, введите правильный номер ISMN', + }, + issn: { + default: 'Пожалуйста, введите правильный номер ISSN', + }, + lessThan: { + default: 'Пожалуйста, введите значение меньшее или равное %s', + notInclusive: 'Пожалуйста, введите значение меньше %s', + }, + mac: { + default: 'Пожалуйста, введите правильный MAC-адрес', + }, + meid: { + default: 'Пожалуйста, введите правильный номер MEID', + }, + notEmpty: { + default: 'Пожалуйста, введите значение', + }, + numeric: { + default: 'Пожалуйста, введите корректное действительное число', + }, + phone: { + countries: { + AE: 'Объединённых Арабских Эмиратах', + BG: 'Болгарии', + BR: 'Бразилии', + CN: 'Китае', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + ES: 'Испании', + FR: 'Франции', + GB: 'Великобритании', + IN: 'Индия', + MA: 'Марокко', + NL: 'Нидерландах', + PK: 'Пакистане', + RO: 'Румынии', + RU: 'России', + SK: 'Словакии', + TH: 'Тайланде', + US: 'США', + VE: 'Венесуэле', + }, + country: 'Пожалуйста, введите правильный номер телефона в %s', + default: 'Пожалуйста, введите правильный номер телефона', + }, + promise: { + default: 'Пожалуйста, введите корректное значение', + }, + regexp: { + default: 'Пожалуйста, введите значение соответствующее шаблону', + }, + remote: { + default: 'Пожалуйста, введите правильное значение', + }, + rtn: { + default: 'Пожалуйста, введите правильный номер RTN', + }, + sedol: { + default: 'Пожалуйста, введите правильный номер SEDOL', + }, + siren: { + default: 'Пожалуйста, введите правильный номер SIREN', + }, + siret: { + default: 'Пожалуйста, введите правильный номер SIRET', + }, + step: { + default: 'Пожалуйста, введите правильный шаг %s', + }, + stringCase: { + default: 'Пожалуйста, вводите только строчные буквы', + upper: 'Пожалуйста, вводите только заглавные буквы', + }, + stringLength: { + between: 'Пожалуйста, введите строку длиной от %s до %s символов', + default: 'Пожалуйста, введите значение корректной длины', + less: 'Пожалуйста, введите не больше %s символов', + more: 'Пожалуйста, введите не меньше %s символов', + }, + uri: { + default: 'Пожалуйста, введите правильный URI', + }, + uuid: { + default: 'Пожалуйста, введите правильный номер UUID', + version: 'Пожалуйста, введите правильный номер UUID версии %s', + }, + vat: { + countries: { + AT: 'Австрии', + BE: 'Бельгии', + BG: 'Болгарии', + BR: 'Бразилии', + CH: 'Швейцарии', + CY: 'Кипре', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + EE: 'Эстонии', + EL: 'Греции', + ES: 'Испании', + FI: 'Финляндии', + FR: 'Франции', + GB: 'Великобритании', + GR: 'Греции', + HR: 'Хорватии', + HU: 'Венгрии', + IE: 'Ирландии', + IS: 'Исландии', + IT: 'Италии', + LT: 'Литве', + LU: 'Люксембурге', + LV: 'Латвии', + MT: 'Мальте', + NL: 'Нидерландах', + NO: 'Норвегии', + PL: 'Польше', + PT: 'Португалии', + RO: 'Румынии', + RS: 'Сербии', + RU: 'России', + SE: 'Швеции', + SI: 'Словении', + SK: 'Словакии', + VE: 'Венесуэле', + ZA: 'ЮАР', + }, + country: 'Пожалуйста, введите правильный номер ИНН (VAT) в %s', + default: 'Пожалуйста, введите правильный номер ИНН', + }, + vin: { + default: 'Пожалуйста, введите правильный номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрии', + BG: 'Болгарии', + BR: 'Бразилии', + CA: 'Канаде', + CH: 'Швейцарии', + CZ: 'Чешская республика', + DE: 'Германии', + DK: 'Дании', + ES: 'Испании', + FR: 'Франции', + GB: 'Великобритании', + IE: 'Ирландии', + IN: 'Индия', + IT: 'Италии', + MA: 'Марокко', + NL: 'Нидерландах', + PL: 'Польше', + PT: 'Португалии', + RO: 'Румынии', + RU: 'России', + SE: 'Швеции', + SG: 'Сингапуре', + SK: 'Словакии', + US: 'США', + }, + country: 'Пожалуйста, введите правильный почтовый индекс в %s', + default: 'Пожалуйста, введите правильный почтовый индекс', + }, + }; + + return ru_RU; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ru_RU.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ru_RU.min.js new file mode 100755 index 00000000..b68330fc --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ru_RU.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ru_RU=factory())})(this,(function(){"use strict";var ru_RU={base64:{default:"Пожалуйста, введите корректную строку base64"},between:{default:"Пожалуйста, введите значение от %s до %s",notInclusive:"Пожалуйста, введите значение между %s и %s"},bic:{default:"Пожалуйста, введите правильный номер BIC"},callback:{default:"Пожалуйста, введите корректное значение"},choice:{between:"Пожалуйста, выберите %s-%s опций",default:"Пожалуйста, введите корректное значение",less:"Пожалуйста, выберите хотя бы %s опций",more:"Пожалуйста, выберите не больше %s опций"},color:{default:"Пожалуйста, введите правильный номер цвета"},creditCard:{default:"Пожалуйста, введите правильный номер кредитной карты"},cusip:{default:"Пожалуйста, введите правильный номер CUSIP"},date:{default:"Пожалуйста, введите правильную дату",max:"Пожалуйста, введите дату перед %s",min:"Пожалуйста, введите дату после %s",range:"Пожалуйста, введите дату в диапазоне %s - %s"},different:{default:"Пожалуйста, введите другое значение"},digits:{default:"Пожалуйста, введите только цифры"},ean:{default:"Пожалуйста, введите правильный номер EAN"},ein:{default:"Пожалуйста, введите правильный номер EIN"},emailAddress:{default:"Пожалуйста, введите правильный адрес эл. почты"},file:{default:"Пожалуйста, выберите файл"},greaterThan:{default:"Пожалуйста, введите значение большее или равное %s",notInclusive:"Пожалуйста, введите значение больше %s"},grid:{default:"Пожалуйста, введите правильный номер GRId"},hex:{default:"Пожалуйста, введите правильное шестнадцатиричное число"},iban:{countries:{AD:"Андорре",AE:"Объединённых Арабских Эмиратах",AL:"Албании",AO:"Анголе",AT:"Австрии",AZ:"Азербайджане",BA:"Боснии и Герцеговине",BE:"Бельгии",BF:"Буркина-Фасо",BG:"Болгарии",BH:"Бахрейне",BI:"Бурунди",BJ:"Бенине",BR:"Бразилии",CH:"Швейцарии",CI:"Кот-д'Ивуаре",CM:"Камеруне",CR:"Коста-Рике",CV:"Кабо-Верде",CY:"Кипре",CZ:"Чешская республика",DE:"Германии",DK:"Дании",DO:"Доминикане Республика",DZ:"Алжире",EE:"Эстонии",ES:"Испании",FI:"Финляндии",FO:"Фарерских островах",FR:"Франции",GB:"Великобритании",GE:"Грузии",GI:"Гибралтаре",GL:"Гренландии",GR:"Греции",GT:"Гватемале",HR:"Хорватии",HU:"Венгрии",IE:"Ирландии",IL:"Израиле",IR:"Иране",IS:"Исландии",IT:"Италии",JO:"Иордании",KW:"Кувейте",KZ:"Казахстане",LB:"Ливане",LI:"Лихтенштейне",LT:"Литве",LU:"Люксембурге",LV:"Латвии",MC:"Монако",MD:"Молдове",ME:"Черногории",MG:"Мадагаскаре",MK:"Македонии",ML:"Мали",MR:"Мавритании",MT:"Мальте",MU:"Маврикии",MZ:"Мозамбике",NL:"Нидерландах",NO:"Норвегии",PK:"Пакистане",PL:"Польше",PS:"Палестине",PT:"Португалии",QA:"Катаре",RO:"Румынии",RS:"Сербии",SA:"Саудовской Аравии",SE:"Швеции",SI:"Словении",SK:"Словакии",SM:"Сан-Марино",SN:"Сенегале",TL:"Восточный Тимор",TN:"Тунисе",TR:"Турции",VG:"Британских Виргинских островах",XK:"Республика Косово"},country:"Пожалуйста, введите правильный номер IBAN в %s",default:"Пожалуйста, введите правильный номер IBAN"},id:{countries:{BA:"Боснии и Герцеговине",BG:"Болгарии",BR:"Бразилии",CH:"Швейцарии",CL:"Чили",CN:"Китае",CZ:"Чешская республика",DK:"Дании",EE:"Эстонии",ES:"Испании",FI:"Финляндии",HR:"Хорватии",IE:"Ирландии",IS:"Исландии",LT:"Литве",LV:"Латвии",ME:"Черногории",MK:"Македонии",NL:"Нидерландах",PL:"Польше",RO:"Румынии",RS:"Сербии",SE:"Швеции",SI:"Словении",SK:"Словакии",SM:"Сан-Марино",TH:"Тайланде",TR:"Турции",ZA:"ЮАР"},country:"Пожалуйста, введите правильный идентификационный номер в %s",default:"Пожалуйста, введите правильный идентификационный номер"},identical:{default:"Пожалуйста, введите такое же значение"},imei:{default:"Пожалуйста, введите правильный номер IMEI"},imo:{default:"Пожалуйста, введите правильный номер IMO"},integer:{default:"Пожалуйста, введите правильное целое число"},ip:{default:"Пожалуйста, введите правильный IP-адрес",ipv4:"Пожалуйста, введите правильный IPv4-адрес",ipv6:"Пожалуйста, введите правильный IPv6-адрес"},isbn:{default:"Пожалуйста, введите правильный номер ISBN"},isin:{default:"Пожалуйста, введите правильный номер ISIN"},ismn:{default:"Пожалуйста, введите правильный номер ISMN"},issn:{default:"Пожалуйста, введите правильный номер ISSN"},lessThan:{default:"Пожалуйста, введите значение меньшее или равное %s",notInclusive:"Пожалуйста, введите значение меньше %s"},mac:{default:"Пожалуйста, введите правильный MAC-адрес"},meid:{default:"Пожалуйста, введите правильный номер MEID"},notEmpty:{default:"Пожалуйста, введите значение"},numeric:{default:"Пожалуйста, введите корректное действительное число"},phone:{countries:{AE:"Объединённых Арабских Эмиратах",BG:"Болгарии",BR:"Бразилии",CN:"Китае",CZ:"Чешская республика",DE:"Германии",DK:"Дании",ES:"Испании",FR:"Франции",GB:"Великобритании",IN:"Индия",MA:"Марокко",NL:"Нидерландах",PK:"Пакистане",RO:"Румынии",RU:"России",SK:"Словакии",TH:"Тайланде",US:"США",VE:"Венесуэле"},country:"Пожалуйста, введите правильный номер телефона в %s",default:"Пожалуйста, введите правильный номер телефона"},promise:{default:"Пожалуйста, введите корректное значение"},regexp:{default:"Пожалуйста, введите значение соответствующее шаблону"},remote:{default:"Пожалуйста, введите правильное значение"},rtn:{default:"Пожалуйста, введите правильный номер RTN"},sedol:{default:"Пожалуйста, введите правильный номер SEDOL"},siren:{default:"Пожалуйста, введите правильный номер SIREN"},siret:{default:"Пожалуйста, введите правильный номер SIRET"},step:{default:"Пожалуйста, введите правильный шаг %s"},stringCase:{default:"Пожалуйста, вводите только строчные буквы",upper:"Пожалуйста, вводите только заглавные буквы"},stringLength:{between:"Пожалуйста, введите строку длиной от %s до %s символов",default:"Пожалуйста, введите значение корректной длины",less:"Пожалуйста, введите не больше %s символов",more:"Пожалуйста, введите не меньше %s символов"},uri:{default:"Пожалуйста, введите правильный URI"},uuid:{default:"Пожалуйста, введите правильный номер UUID",version:"Пожалуйста, введите правильный номер UUID версии %s"},vat:{countries:{AT:"Австрии",BE:"Бельгии",BG:"Болгарии",BR:"Бразилии",CH:"Швейцарии",CY:"Кипре",CZ:"Чешская республика",DE:"Германии",DK:"Дании",EE:"Эстонии",EL:"Греции",ES:"Испании",FI:"Финляндии",FR:"Франции",GB:"Великобритании",GR:"Греции",HR:"Хорватии",HU:"Венгрии",IE:"Ирландии",IS:"Исландии",IT:"Италии",LT:"Литве",LU:"Люксембурге",LV:"Латвии",MT:"Мальте",NL:"Нидерландах",NO:"Норвегии",PL:"Польше",PT:"Португалии",RO:"Румынии",RS:"Сербии",RU:"России",SE:"Швеции",SI:"Словении",SK:"Словакии",VE:"Венесуэле",ZA:"ЮАР"},country:"Пожалуйста, введите правильный номер ИНН (VAT) в %s",default:"Пожалуйста, введите правильный номер ИНН"},vin:{default:"Пожалуйста, введите правильный номер VIN"},zipCode:{countries:{AT:"Австрии",BG:"Болгарии",BR:"Бразилии",CA:"Канаде",CH:"Швейцарии",CZ:"Чешская республика",DE:"Германии",DK:"Дании",ES:"Испании",FR:"Франции",GB:"Великобритании",IE:"Ирландии",IN:"Индия",IT:"Италии",MA:"Марокко",NL:"Нидерландах",PL:"Польше",PT:"Португалии",RO:"Румынии",RU:"России",SE:"Швеции",SG:"Сингапуре",SK:"Словакии",US:"США"},country:"Пожалуйста, введите правильный почтовый индекс в %s",default:"Пожалуйста, введите правильный почтовый индекс"}};return ru_RU})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sk_SK.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sk_SK.js new file mode 100755 index 00000000..ec5fa334 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sk_SK.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.sk_SK = factory())); +})(this, (function () { 'use strict'; + + /** + * Slovak language package + * Translated by @budik21. Improved by @PatrikGallik + */ + + var sk_SK = { + base64: { + default: 'Prosím zadajte správny base64', + }, + between: { + default: 'Prosím zadajte hodnotu medzi %s a %s', + notInclusive: 'Prosím zadajte hodnotu medzi %s a %s (vrátane týchto čísel)', + }, + bic: { + default: 'Prosím zadajte správne BIC číslo', + }, + callback: { + default: 'Prosím zadajte správnu hodnotu', + }, + choice: { + between: 'Prosím vyberte medzi %s a %s', + default: 'Prosím vyberte správnu hodnotu', + less: 'Hodnota musí byť minimálne %s', + more: 'Hodnota nesmie byť viac ako %s', + }, + color: { + default: 'Prosím zadajte správnu farbu', + }, + creditCard: { + default: 'Prosím zadajte správne číslo kreditnej karty', + }, + cusip: { + default: 'Prosím zadajte správne CUSIP číslo', + }, + date: { + default: 'Prosím zadajte správny dátum', + max: 'Prosím zadajte dátum po %s', + min: 'Prosím zadajte dátum pred %s', + range: 'Prosím zadajte dátum v rozmedzí %s až %s', + }, + different: { + default: 'Prosím zadajte inú hodnotu', + }, + digits: { + default: 'Toto pole môže obsahovať len čísla', + }, + ean: { + default: 'Prosím zadajte správne EAN číslo', + }, + ein: { + default: 'Prosím zadajte správne EIN číslo', + }, + emailAddress: { + default: 'Prosím zadajte správnu emailovú adresu', + }, + file: { + default: 'Prosím vyberte súbor', + }, + greaterThan: { + default: 'Prosím zadajte hodnotu väčšiu alebo rovnú %s', + notInclusive: 'Prosím zadajte hodnotu väčšiu ako %s', + }, + grid: { + default: 'Prosím zadajte správné GRId číslo', + }, + hex: { + default: 'Prosím zadajte správne hexadecimálne číslo', + }, + iban: { + countries: { + AD: 'Andorru', + AE: 'Spojené arabské emiráty', + AL: 'Albánsko', + AO: 'Angolu', + AT: 'Rakúsko', + AZ: 'Ázerbajdžán', + BA: 'Bosnu a Herzegovinu', + BE: 'Belgicko', + BF: 'Burkina Faso', + BG: 'Bulharsko', + BH: 'Bahrajn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CI: 'Pobrežie Slonoviny', + CM: 'Kamerun', + CR: 'Kostariku', + CV: 'Cape Verde', + CY: 'Cyprus', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + DO: 'Dominikánsku republiku', + DZ: 'Alžírsko', + EE: 'Estónsko', + ES: 'Španielsko', + FI: 'Fínsko', + FO: 'Faerské ostrovy', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + GE: 'Gruzínsko', + GI: 'Gibraltár', + GL: 'Grónsko', + GR: 'Grécko', + GT: 'Guatemalu', + HR: 'Chorvátsko', + HU: 'Maďarsko', + IE: 'Írsko', + IL: 'Izrael', + IR: 'Irán', + IS: 'Island', + IT: 'Taliansko', + JO: 'Jordánsko', + KW: 'Kuwait', + KZ: 'Kazachstan', + LB: 'Libanon', + LI: 'Lichtenštajnsko', + LT: 'Litvu', + LU: 'Luxemburgsko', + LV: 'Lotyšsko', + MC: 'Monako', + MD: 'Moldavsko', + ME: 'Čiernu horu', + MG: 'Madagaskar', + MK: 'Macedónsko', + ML: 'Mali', + MR: 'Mauritániu', + MT: 'Maltu', + MU: 'Mauritius', + MZ: 'Mosambik', + NL: 'Holandsko', + NO: 'Nórsko', + PK: 'Pakistan', + PL: 'Poľsko', + PS: 'Palestínu', + PT: 'Portugalsko', + QA: 'Katar', + RO: 'Rumunsko', + RS: 'Srbsko', + SA: 'Saudskú Arábiu', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Východný Timor', + TN: 'Tunisko', + TR: 'Turecko', + VG: 'Britské Panenské ostrovy', + XK: 'Republic of Kosovo', + }, + country: 'Prosím zadajte správne IBAN číslo pre %s', + default: 'Prosím zadajte správne IBAN číslo', + }, + id: { + countries: { + BA: 'Bosnu a Hercegovinu', + BG: 'Bulharsko', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CL: 'Chile', + CN: 'Čínu', + CZ: 'Českú Republiku', + DK: 'Dánsko', + EE: 'Estónsko', + ES: 'Španielsko', + FI: 'Fínsko', + HR: 'Chorvátsko', + IE: 'Írsko', + IS: 'Island', + LT: 'Litvu', + LV: 'Lotyšsko', + ME: 'Čiernu horu', + MK: 'Macedónsko', + NL: 'Holandsko', + PL: 'Poľsko', + RO: 'Rumunsko', + RS: 'Srbsko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + SM: 'San Marino', + TH: 'Thajsko', + TR: 'Turecko', + ZA: 'Južnú Afriku', + }, + country: 'Prosím zadajte správne rodné číslo pre %s', + default: 'Prosím zadajte správne rodné číslo', + }, + identical: { + default: 'Prosím zadajte rovnakú hodnotu', + }, + imei: { + default: 'Prosím zadajte správne IMEI číslo', + }, + imo: { + default: 'Prosím zadajte správne IMO číslo', + }, + integer: { + default: 'Prosím zadajte celé číslo', + }, + ip: { + default: 'Prosím zadajte správnu IP adresu', + ipv4: 'Prosím zadajte správnu IPv4 adresu', + ipv6: 'Prosím zadajte správnu IPv6 adresu', + }, + isbn: { + default: 'Prosím zadajte správne ISBN číslo', + }, + isin: { + default: 'Prosím zadajte správne ISIN číslo', + }, + ismn: { + default: 'Prosím zadajte správne ISMN číslo', + }, + issn: { + default: 'Prosím zadajte správne ISSN číslo', + }, + lessThan: { + default: 'Prosím zadajte hodnotu menšiu alebo rovnú %s', + notInclusive: 'Prosím zadajte hodnotu menšiu ako %s', + }, + mac: { + default: 'Prosím zadajte správnu MAC adresu', + }, + meid: { + default: 'Prosím zadajte správne MEID číslo', + }, + notEmpty: { + default: 'Toto pole nesmie byť prázdne', + }, + numeric: { + default: 'Prosím zadajte číselnú hodnotu', + }, + phone: { + countries: { + AE: 'Spojené arabské emiráty', + BG: 'Bulharsko', + BR: 'Brazíliu', + CN: 'Čínu', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + ES: 'Španielsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + IN: 'Indiu', + MA: 'Maroko', + NL: 'Holandsko', + PK: 'Pakistan', + RO: 'Rumunsko', + RU: 'Rusko', + SK: 'Slovensko', + TH: 'Thajsko', + US: 'Spojené Štáty Americké', + VE: 'Venezuelu', + }, + country: 'Prosím zadajte správne telefónne číslo pre %s', + default: 'Prosím zadajte správne telefónne číslo', + }, + promise: { + default: 'Prosím zadajte správnu hodnotu', + }, + regexp: { + default: 'Prosím zadajte hodnotu spĺňajúcu zadanie', + }, + remote: { + default: 'Prosím zadajte správnu hodnotu', + }, + rtn: { + default: 'Prosím zadajte správne RTN číslo', + }, + sedol: { + default: 'Prosím zadajte správne SEDOL číslo', + }, + siren: { + default: 'Prosím zadajte správne SIREN číslo', + }, + siret: { + default: 'Prosím zadajte správne SIRET číslo', + }, + step: { + default: 'Prosím zadajte správny krok %s', + }, + stringCase: { + default: 'Len malé písmená sú povolené v tomto poli', + upper: 'Len veľké písmená sú povolené v tomto poli', + }, + stringLength: { + between: 'Prosím zadajte hodnotu medzi %s a %s znakov', + default: 'Toto pole nesmie byť prázdne', + less: 'Prosím zadajte hodnotu kratšiu ako %s znakov', + more: 'Prosím zadajte hodnotu dlhú %s znakov a viacej', + }, + uri: { + default: 'Prosím zadajte správnu URI', + }, + uuid: { + default: 'Prosím zadajte správne UUID číslo', + version: 'Prosím zadajte správne UUID vo verzii %s', + }, + vat: { + countries: { + AT: 'Rakúsko', + BE: 'Belgicko', + BG: 'Bulharsko', + BR: 'Brazíliu', + CH: 'Švajčiarsko', + CY: 'Cyprus', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + EE: 'Estónsko', + EL: 'Grécko', + ES: 'Španielsko', + FI: 'Fínsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + GR: 'Grécko', + HR: 'Chorvátsko', + HU: 'Maďarsko', + IE: 'Írsko', + IS: 'Island', + IT: 'Taliansko', + LT: 'Litvu', + LU: 'Luxemburgsko', + LV: 'Lotyšsko', + MT: 'Maltu', + NL: 'Holandsko', + NO: 'Norsko', + PL: 'Poľsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RS: 'Srbsko', + RU: 'Rusko', + SE: 'Švédsko', + SI: 'Slovinsko', + SK: 'Slovensko', + VE: 'Venezuelu', + ZA: 'Južnú Afriku', + }, + country: 'Prosím zadajte správne VAT číslo pre %s', + default: 'Prosím zadajte správne VAT číslo', + }, + vin: { + default: 'Prosím zadajte správne VIN číslo', + }, + zipCode: { + countries: { + AT: 'Rakúsko', + BG: 'Bulharsko', + BR: 'Brazíliu', + CA: 'Kanadu', + CH: 'Švajčiarsko', + CZ: 'Českú Republiku', + DE: 'Nemecko', + DK: 'Dánsko', + ES: 'Španielsko', + FR: 'Francúzsko', + GB: 'Veľkú Britániu', + IE: 'Írsko', + IN: 'Indiu', + IT: 'Taliansko', + MA: 'Maroko', + NL: 'Holandsko', + PL: 'Poľsko', + PT: 'Portugalsko', + RO: 'Rumunsko', + RU: 'Rusko', + SE: 'Švédsko', + SG: 'Singapur', + SK: 'Slovensko', + US: 'Spojené Štáty Americké', + }, + country: 'Prosím zadajte správne PSČ pre %s', + default: 'Prosím zadajte správne PSČ', + }, + }; + + return sk_SK; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sk_SK.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sk_SK.min.js new file mode 100755 index 00000000..b799a60f --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sk_SK.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.sk_SK=factory())})(this,(function(){"use strict";var sk_SK={base64:{default:"Prosím zadajte správny base64"},between:{default:"Prosím zadajte hodnotu medzi %s a %s",notInclusive:"Prosím zadajte hodnotu medzi %s a %s (vrátane týchto čísel)"},bic:{default:"Prosím zadajte správne BIC číslo"},callback:{default:"Prosím zadajte správnu hodnotu"},choice:{between:"Prosím vyberte medzi %s a %s",default:"Prosím vyberte správnu hodnotu",less:"Hodnota musí byť minimálne %s",more:"Hodnota nesmie byť viac ako %s"},color:{default:"Prosím zadajte správnu farbu"},creditCard:{default:"Prosím zadajte správne číslo kreditnej karty"},cusip:{default:"Prosím zadajte správne CUSIP číslo"},date:{default:"Prosím zadajte správny dátum",max:"Prosím zadajte dátum po %s",min:"Prosím zadajte dátum pred %s",range:"Prosím zadajte dátum v rozmedzí %s až %s"},different:{default:"Prosím zadajte inú hodnotu"},digits:{default:"Toto pole môže obsahovať len čísla"},ean:{default:"Prosím zadajte správne EAN číslo"},ein:{default:"Prosím zadajte správne EIN číslo"},emailAddress:{default:"Prosím zadajte správnu emailovú adresu"},file:{default:"Prosím vyberte súbor"},greaterThan:{default:"Prosím zadajte hodnotu väčšiu alebo rovnú %s",notInclusive:"Prosím zadajte hodnotu väčšiu ako %s"},grid:{default:"Prosím zadajte správné GRId číslo"},hex:{default:"Prosím zadajte správne hexadecimálne číslo"},iban:{countries:{AD:"Andorru",AE:"Spojené arabské emiráty",AL:"Albánsko",AO:"Angolu",AT:"Rakúsko",AZ:"Ázerbajdžán",BA:"Bosnu a Herzegovinu",BE:"Belgicko",BF:"Burkina Faso",BG:"Bulharsko",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BR:"Brazíliu",CH:"Švajčiarsko",CI:"Pobrežie Slonoviny",CM:"Kamerun",CR:"Kostariku",CV:"Cape Verde",CY:"Cyprus",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",DO:"Dominikánsku republiku",DZ:"Alžírsko",EE:"Estónsko",ES:"Španielsko",FI:"Fínsko",FO:"Faerské ostrovy",FR:"Francúzsko",GB:"Veľkú Britániu",GE:"Gruzínsko",GI:"Gibraltár",GL:"Grónsko",GR:"Grécko",GT:"Guatemalu",HR:"Chorvátsko",HU:"Maďarsko",IE:"Írsko",IL:"Izrael",IR:"Irán",IS:"Island",IT:"Taliansko",JO:"Jordánsko",KW:"Kuwait",KZ:"Kazachstan",LB:"Libanon",LI:"Lichtenštajnsko",LT:"Litvu",LU:"Luxemburgsko",LV:"Lotyšsko",MC:"Monako",MD:"Moldavsko",ME:"Čiernu horu",MG:"Madagaskar",MK:"Macedónsko",ML:"Mali",MR:"Mauritániu",MT:"Maltu",MU:"Mauritius",MZ:"Mosambik",NL:"Holandsko",NO:"Nórsko",PK:"Pakistan",PL:"Poľsko",PS:"Palestínu",PT:"Portugalsko",QA:"Katar",RO:"Rumunsko",RS:"Srbsko",SA:"Saudskú Arábiu",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",SN:"Senegal",TL:"Východný Timor",TN:"Tunisko",TR:"Turecko",VG:"Britské Panenské ostrovy",XK:"Republic of Kosovo"},country:"Prosím zadajte správne IBAN číslo pre %s",default:"Prosím zadajte správne IBAN číslo"},id:{countries:{BA:"Bosnu a Hercegovinu",BG:"Bulharsko",BR:"Brazíliu",CH:"Švajčiarsko",CL:"Chile",CN:"Čínu",CZ:"Českú Republiku",DK:"Dánsko",EE:"Estónsko",ES:"Španielsko",FI:"Fínsko",HR:"Chorvátsko",IE:"Írsko",IS:"Island",LT:"Litvu",LV:"Lotyšsko",ME:"Čiernu horu",MK:"Macedónsko",NL:"Holandsko",PL:"Poľsko",RO:"Rumunsko",RS:"Srbsko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",SM:"San Marino",TH:"Thajsko",TR:"Turecko",ZA:"Južnú Afriku"},country:"Prosím zadajte správne rodné číslo pre %s",default:"Prosím zadajte správne rodné číslo"},identical:{default:"Prosím zadajte rovnakú hodnotu"},imei:{default:"Prosím zadajte správne IMEI číslo"},imo:{default:"Prosím zadajte správne IMO číslo"},integer:{default:"Prosím zadajte celé číslo"},ip:{default:"Prosím zadajte správnu IP adresu",ipv4:"Prosím zadajte správnu IPv4 adresu",ipv6:"Prosím zadajte správnu IPv6 adresu"},isbn:{default:"Prosím zadajte správne ISBN číslo"},isin:{default:"Prosím zadajte správne ISIN číslo"},ismn:{default:"Prosím zadajte správne ISMN číslo"},issn:{default:"Prosím zadajte správne ISSN číslo"},lessThan:{default:"Prosím zadajte hodnotu menšiu alebo rovnú %s",notInclusive:"Prosím zadajte hodnotu menšiu ako %s"},mac:{default:"Prosím zadajte správnu MAC adresu"},meid:{default:"Prosím zadajte správne MEID číslo"},notEmpty:{default:"Toto pole nesmie byť prázdne"},numeric:{default:"Prosím zadajte číselnú hodnotu"},phone:{countries:{AE:"Spojené arabské emiráty",BG:"Bulharsko",BR:"Brazíliu",CN:"Čínu",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",ES:"Španielsko",FR:"Francúzsko",GB:"Veľkú Britániu",IN:"Indiu",MA:"Maroko",NL:"Holandsko",PK:"Pakistan",RO:"Rumunsko",RU:"Rusko",SK:"Slovensko",TH:"Thajsko",US:"Spojené Štáty Americké",VE:"Venezuelu"},country:"Prosím zadajte správne telefónne číslo pre %s",default:"Prosím zadajte správne telefónne číslo"},promise:{default:"Prosím zadajte správnu hodnotu"},regexp:{default:"Prosím zadajte hodnotu spĺňajúcu zadanie"},remote:{default:"Prosím zadajte správnu hodnotu"},rtn:{default:"Prosím zadajte správne RTN číslo"},sedol:{default:"Prosím zadajte správne SEDOL číslo"},siren:{default:"Prosím zadajte správne SIREN číslo"},siret:{default:"Prosím zadajte správne SIRET číslo"},step:{default:"Prosím zadajte správny krok %s"},stringCase:{default:"Len malé písmená sú povolené v tomto poli",upper:"Len veľké písmená sú povolené v tomto poli"},stringLength:{between:"Prosím zadajte hodnotu medzi %s a %s znakov",default:"Toto pole nesmie byť prázdne",less:"Prosím zadajte hodnotu kratšiu ako %s znakov",more:"Prosím zadajte hodnotu dlhú %s znakov a viacej"},uri:{default:"Prosím zadajte správnu URI"},uuid:{default:"Prosím zadajte správne UUID číslo",version:"Prosím zadajte správne UUID vo verzii %s"},vat:{countries:{AT:"Rakúsko",BE:"Belgicko",BG:"Bulharsko",BR:"Brazíliu",CH:"Švajčiarsko",CY:"Cyprus",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",EE:"Estónsko",EL:"Grécko",ES:"Španielsko",FI:"Fínsko",FR:"Francúzsko",GB:"Veľkú Britániu",GR:"Grécko",HR:"Chorvátsko",HU:"Maďarsko",IE:"Írsko",IS:"Island",IT:"Taliansko",LT:"Litvu",LU:"Luxemburgsko",LV:"Lotyšsko",MT:"Maltu",NL:"Holandsko",NO:"Norsko",PL:"Poľsko",PT:"Portugalsko",RO:"Rumunsko",RS:"Srbsko",RU:"Rusko",SE:"Švédsko",SI:"Slovinsko",SK:"Slovensko",VE:"Venezuelu",ZA:"Južnú Afriku"},country:"Prosím zadajte správne VAT číslo pre %s",default:"Prosím zadajte správne VAT číslo"},vin:{default:"Prosím zadajte správne VIN číslo"},zipCode:{countries:{AT:"Rakúsko",BG:"Bulharsko",BR:"Brazíliu",CA:"Kanadu",CH:"Švajčiarsko",CZ:"Českú Republiku",DE:"Nemecko",DK:"Dánsko",ES:"Španielsko",FR:"Francúzsko",GB:"Veľkú Britániu",IE:"Írsko",IN:"Indiu",IT:"Taliansko",MA:"Maroko",NL:"Holandsko",PL:"Poľsko",PT:"Portugalsko",RO:"Rumunsko",RU:"Rusko",SE:"Švédsko",SG:"Singapur",SK:"Slovensko",US:"Spojené Štáty Americké"},country:"Prosím zadajte správne PSČ pre %s",default:"Prosím zadajte správne PSČ"}};return sk_SK})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sq_AL.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sq_AL.js new file mode 100755 index 00000000..7102d08f --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sq_AL.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.sq_AL = factory())); +})(this, (function () { 'use strict'; + + /** + * Albanian language package + * Translated by @desaretiuss + */ + + var sq_AL = { + base64: { + default: 'Ju lutem përdorni sistemin e kodimit Base64', + }, + between: { + default: 'Ju lutem vendosni një vlerë midis %s dhe %s', + notInclusive: 'Ju lutem vendosni një vlerë rreptësisht midis %s dhe %s', + }, + bic: { + default: 'Ju lutem vendosni një numër BIC të vlefshëm', + }, + callback: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + choice: { + between: 'Ju lutem përzgjidhni %s - %s mundësi', + default: 'Ju lutem vendosni një vlerë të vlefshme', + less: 'Ju lutem përzgjidhni së paku %s mundësi', + more: 'Ju lutem përzgjidhni së shumti %s mundësi ', + }, + color: { + default: 'Ju lutem vendosni një ngjyrë të vlefshme', + }, + creditCard: { + default: 'Ju lutem vendosni një numër karte krediti të vlefshëm', + }, + cusip: { + default: 'Ju lutem vendosni një numër CUSIP të vlefshëm', + }, + date: { + default: 'Ju lutem vendosni një datë të saktë', + max: 'Ju lutem vendosni një datë para %s', + min: 'Ju lutem vendosni një datë pas %s', + range: 'Ju lutem vendosni një datë midis %s - %s', + }, + different: { + default: 'Ju lutem vendosni një vlerë tjetër', + }, + digits: { + default: 'Ju lutem vendosni vetëm numra', + }, + ean: { + default: 'Ju lutem vendosni një numër EAN të vlefshëm', + }, + ein: { + default: 'Ju lutem vendosni një numër EIN të vlefshëm', + }, + emailAddress: { + default: 'Ju lutem vendosni një adresë email të vlefshme', + }, + file: { + default: 'Ju lutem përzgjidhni një skedar të vlefshëm', + }, + greaterThan: { + default: 'Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s', + notInclusive: 'Ju lutem vendosni një vlerë më të madhe se %s', + }, + grid: { + default: 'Ju lutem vendosni një numër GRId të vlefshëm', + }, + hex: { + default: 'Ju lutem vendosni një numër të saktë heksadecimal', + }, + iban: { + countries: { + AD: 'Andora', + AE: 'Emiratet e Bashkuara Arabe', + AL: 'Shqipëri', + AO: 'Angola', + AT: 'Austri', + AZ: 'Azerbajxhan', + BA: 'Bosnjë dhe Hercegovinë', + BE: 'Belgjikë', + BF: 'Burkina Faso', + BG: 'Bullgari', + BH: 'Bahrein', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Zvicër', + CI: 'Bregu i fildishtë', + CM: 'Kamerun', + CR: 'Kosta Rika', + CV: 'Kepi i Gjelbër', + CY: 'Qipro', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + DO: 'Dominika', + DZ: 'Algjeri', + EE: 'Estoni', + ES: 'Spanjë', + FI: 'Finlandë', + FO: 'Ishujt Faroe', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + GE: 'Gjeorgji', + GI: 'Gjibraltar', + GL: 'Groenlandë', + GR: 'Greqi', + GT: 'Guatemalë', + HR: 'Kroaci', + HU: 'Hungari', + IE: 'Irlandë', + IL: 'Izrael', + IR: 'Iran', + IS: 'Islandë', + IT: 'Itali', + JO: 'Jordani', + KW: 'Kuvajt', + KZ: 'Kazakistan', + LB: 'Liban', + LI: 'Lihtenshtejn', + LT: 'Lituani', + LU: 'Luksemburg', + LV: 'Letoni', + MC: 'Monako', + MD: 'Moldavi', + ME: 'Mal i Zi', + MG: 'Madagaskar', + MK: 'Maqedoni', + ML: 'Mali', + MR: 'Mauritani', + MT: 'Maltë', + MU: 'Mauricius', + MZ: 'Mozambik', + NL: 'Hollandë', + NO: 'Norvegji', + PK: 'Pakistan', + PL: 'Poloni', + PS: 'Palestinë', + PT: 'Portugali', + QA: 'Katar', + RO: 'Rumani', + RS: 'Serbi', + SA: 'Arabi Saudite', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Sllovaki', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Timori Lindor', + TN: 'Tunizi', + TR: 'Turqi', + VG: 'Ishujt Virxhin Britanikë', + XK: 'Republika e Kosovës', + }, + country: 'Ju lutem vendosni një numër IBAN të vlefshëm në %s', + default: 'Ju lutem vendosni një numër IBAN të vlefshëm', + }, + id: { + countries: { + BA: 'Bosnjë dhe Hercegovinë', + BG: 'Bullgari', + BR: 'Brazil', + CH: 'Zvicër', + CL: 'Kili', + CN: 'Kinë', + CZ: 'Republika Çeke', + DK: 'Danimarkë', + EE: 'Estoni', + ES: 'Spanjë', + FI: 'Finlandë', + HR: 'Kroaci', + IE: 'Irlandë', + IS: 'Islandë', + LT: 'Lituani', + LV: 'Letoni', + ME: 'Mal i Zi', + MK: 'Maqedoni', + NL: 'Hollandë', + PL: 'Poloni', + RO: 'Rumani', + RS: 'Serbi', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Slovaki', + SM: 'San Marino', + TH: 'Tajlandë', + TR: 'Turqi', + ZA: 'Afrikë e Jugut', + }, + country: 'Ju lutem vendosni një numër identifikimi të vlefshëm në %s', + default: 'Ju lutem vendosni një numër identifikimi të vlefshëm', + }, + identical: { + default: 'Ju lutem vendosni të njëjtën vlerë', + }, + imei: { + default: 'Ju lutem vendosni numër IMEI të njëjtë', + }, + imo: { + default: 'Ju lutem vendosni numër IMO të vlefshëm', + }, + integer: { + default: 'Ju lutem vendosni një numër të vlefshëm', + }, + ip: { + default: 'Ju lutem vendosni një adresë IP të vlefshme', + ipv4: 'Ju lutem vendosni një adresë IPv4 të vlefshme', + ipv6: 'Ju lutem vendosni një adresë IPv6 të vlefshme', + }, + isbn: { + default: 'Ju lutem vendosni një numër ISBN të vlefshëm', + }, + isin: { + default: 'Ju lutem vendosni një numër ISIN të vlefshëm', + }, + ismn: { + default: 'Ju lutem vendosni një numër ISMN të vlefshëm', + }, + issn: { + default: 'Ju lutem vendosni një numër ISSN të vlefshëm', + }, + lessThan: { + default: 'Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s', + notInclusive: 'Ju lutem vendosni një vlerë më të vogël se %s', + }, + mac: { + default: 'Ju lutem vendosni një adresë MAC të vlefshme', + }, + meid: { + default: 'Ju lutem vendosni një numër MEID të vlefshëm', + }, + notEmpty: { + default: 'Ju lutem vendosni një vlerë', + }, + numeric: { + default: 'Ju lutem vendosni një numër me presje notuese të saktë', + }, + phone: { + countries: { + AE: 'Emiratet e Bashkuara Arabe', + BG: 'Bullgari', + BR: 'Brazil', + CN: 'Kinë', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + ES: 'Spanjë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + IN: 'Indi', + MA: 'Marok', + NL: 'Hollandë', + PK: 'Pakistan', + RO: 'Rumani', + RU: 'Rusi', + SK: 'Sllovaki', + TH: 'Tajlandë', + US: 'SHBA', + VE: 'Venezuelë', + }, + country: 'Ju lutem vendosni një numër telefoni të vlefshëm në %s', + default: 'Ju lutem vendosni një numër telefoni të vlefshëm', + }, + promise: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + regexp: { + default: 'Ju lutem vendosni një vlerë që përputhet me modelin', + }, + remote: { + default: 'Ju lutem vendosni një vlerë të vlefshme', + }, + rtn: { + default: 'Ju lutem vendosni një numër RTN të vlefshëm', + }, + sedol: { + default: 'Ju lutem vendosni një numër SEDOL të vlefshëm', + }, + siren: { + default: 'Ju lutem vendosni një numër SIREN të vlefshëm', + }, + siret: { + default: 'Ju lutem vendosni një numër SIRET të vlefshëm', + }, + step: { + default: 'Ju lutem vendosni një hap të vlefshëm të %s', + }, + stringCase: { + default: 'Ju lutem përdorni vetëm shenja të vogla të shtypit', + upper: 'Ju lutem përdorni vetëm shenja të mëdha të shtypit', + }, + stringLength: { + between: 'Ju lutem vendosni një vlerë me gjatësi midis %s dhe %s simbole', + default: 'Ju lutem vendosni një vlerë me gjatësinë e duhur', + less: 'Ju lutem vendosni më pak se %s simbole', + more: 'Ju lutem vendosni më shumë se %s simbole', + }, + uri: { + default: 'Ju lutem vendosni një URI të vlefshme', + }, + uuid: { + default: 'Ju lutem vendosni një numër UUID të vlefshëm', + version: 'Ju lutem vendosni një numër UUID version %s të vlefshëm', + }, + vat: { + countries: { + AT: 'Austri', + BE: 'Belgjikë', + BG: 'Bullgari', + BR: 'Brazil', + CH: 'Zvicër', + CY: 'Qipro', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + EE: 'Estoni', + EL: 'Greqi', + ES: 'Spanjë', + FI: 'Finlandë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + GR: 'Greqi', + HR: 'Kroaci', + HU: 'Hungari', + IE: 'Irlandë', + IS: 'Iclandë', + IT: 'Itali', + LT: 'Lituani', + LU: 'Luksemburg', + LV: 'Letoni', + MT: 'Maltë', + NL: 'Hollandë', + NO: 'Norvegji', + PL: 'Poloni', + PT: 'Portugali', + RO: 'Rumani', + RS: 'Serbi', + RU: 'Rusi', + SE: 'Suedi', + SI: 'Slloveni', + SK: 'Sllovaki', + VE: 'Venezuelë', + ZA: 'Afrikë e Jugut', + }, + country: 'Ju lutem vendosni një numër VAT të vlefshëm në %s', + default: 'Ju lutem vendosni një numër VAT të vlefshëm', + }, + vin: { + default: 'Ju lutem vendosni një numër VIN të vlefshëm', + }, + zipCode: { + countries: { + AT: 'Austri', + BG: 'Bullgari', + BR: 'Brazil', + CA: 'Kanada', + CH: 'Zvicër', + CZ: 'Republika Çeke', + DE: 'Gjermani', + DK: 'Danimarkë', + ES: 'Spanjë', + FR: 'Francë', + GB: 'Mbretëria e Bashkuar', + IE: 'Irlandë', + IN: 'Indi', + IT: 'Itali', + MA: 'Marok', + NL: 'Hollandë', + PL: 'Poloni', + PT: 'Portugali', + RO: 'Rumani', + RU: 'Rusi', + SE: 'Suedi', + SG: 'Singapor', + SK: 'Sllovaki', + US: 'SHBA', + }, + country: 'Ju lutem vendosni një kod postar të vlefshëm në %s', + default: 'Ju lutem vendosni një kod postar të vlefshëm', + }, + }; + + return sq_AL; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sq_AL.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sq_AL.min.js new file mode 100755 index 00000000..7f8329e1 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sq_AL.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.sq_AL=factory())})(this,(function(){"use strict";var sq_AL={base64:{default:"Ju lutem përdorni sistemin e kodimit Base64"},between:{default:"Ju lutem vendosni një vlerë midis %s dhe %s",notInclusive:"Ju lutem vendosni një vlerë rreptësisht midis %s dhe %s"},bic:{default:"Ju lutem vendosni një numër BIC të vlefshëm"},callback:{default:"Ju lutem vendosni një vlerë të vlefshme"},choice:{between:"Ju lutem përzgjidhni %s - %s mundësi",default:"Ju lutem vendosni një vlerë të vlefshme",less:"Ju lutem përzgjidhni së paku %s mundësi",more:"Ju lutem përzgjidhni së shumti %s mundësi "},color:{default:"Ju lutem vendosni një ngjyrë të vlefshme"},creditCard:{default:"Ju lutem vendosni një numër karte krediti të vlefshëm"},cusip:{default:"Ju lutem vendosni një numër CUSIP të vlefshëm"},date:{default:"Ju lutem vendosni një datë të saktë",max:"Ju lutem vendosni një datë para %s",min:"Ju lutem vendosni një datë pas %s",range:"Ju lutem vendosni një datë midis %s - %s"},different:{default:"Ju lutem vendosni një vlerë tjetër"},digits:{default:"Ju lutem vendosni vetëm numra"},ean:{default:"Ju lutem vendosni një numër EAN të vlefshëm"},ein:{default:"Ju lutem vendosni një numër EIN të vlefshëm"},emailAddress:{default:"Ju lutem vendosni një adresë email të vlefshme"},file:{default:"Ju lutem përzgjidhni një skedar të vlefshëm"},greaterThan:{default:"Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s",notInclusive:"Ju lutem vendosni një vlerë më të madhe se %s"},grid:{default:"Ju lutem vendosni një numër GRId të vlefshëm"},hex:{default:"Ju lutem vendosni një numër të saktë heksadecimal"},iban:{countries:{AD:"Andora",AE:"Emiratet e Bashkuara Arabe",AL:"Shqipëri",AO:"Angola",AT:"Austri",AZ:"Azerbajxhan",BA:"Bosnjë dhe Hercegovinë",BE:"Belgjikë",BF:"Burkina Faso",BG:"Bullgari",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Zvicër",CI:"Bregu i fildishtë",CM:"Kamerun",CR:"Kosta Rika",CV:"Kepi i Gjelbër",CY:"Qipro",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",DO:"Dominika",DZ:"Algjeri",EE:"Estoni",ES:"Spanjë",FI:"Finlandë",FO:"Ishujt Faroe",FR:"Francë",GB:"Mbretëria e Bashkuar",GE:"Gjeorgji",GI:"Gjibraltar",GL:"Groenlandë",GR:"Greqi",GT:"Guatemalë",HR:"Kroaci",HU:"Hungari",IE:"Irlandë",IL:"Izrael",IR:"Iran",IS:"Islandë",IT:"Itali",JO:"Jordani",KW:"Kuvajt",KZ:"Kazakistan",LB:"Liban",LI:"Lihtenshtejn",LT:"Lituani",LU:"Luksemburg",LV:"Letoni",MC:"Monako",MD:"Moldavi",ME:"Mal i Zi",MG:"Madagaskar",MK:"Maqedoni",ML:"Mali",MR:"Mauritani",MT:"Maltë",MU:"Mauricius",MZ:"Mozambik",NL:"Hollandë",NO:"Norvegji",PK:"Pakistan",PL:"Poloni",PS:"Palestinë",PT:"Portugali",QA:"Katar",RO:"Rumani",RS:"Serbi",SA:"Arabi Saudite",SE:"Suedi",SI:"Slloveni",SK:"Sllovaki",SM:"San Marino",SN:"Senegal",TL:"Timori Lindor",TN:"Tunizi",TR:"Turqi",VG:"Ishujt Virxhin Britanikë",XK:"Republika e Kosovës"},country:"Ju lutem vendosni një numër IBAN të vlefshëm në %s",default:"Ju lutem vendosni një numër IBAN të vlefshëm"},id:{countries:{BA:"Bosnjë dhe Hercegovinë",BG:"Bullgari",BR:"Brazil",CH:"Zvicër",CL:"Kili",CN:"Kinë",CZ:"Republika Çeke",DK:"Danimarkë",EE:"Estoni",ES:"Spanjë",FI:"Finlandë",HR:"Kroaci",IE:"Irlandë",IS:"Islandë",LT:"Lituani",LV:"Letoni",ME:"Mal i Zi",MK:"Maqedoni",NL:"Hollandë",PL:"Poloni",RO:"Rumani",RS:"Serbi",SE:"Suedi",SI:"Slloveni",SK:"Slovaki",SM:"San Marino",TH:"Tajlandë",TR:"Turqi",ZA:"Afrikë e Jugut"},country:"Ju lutem vendosni një numër identifikimi të vlefshëm në %s",default:"Ju lutem vendosni një numër identifikimi të vlefshëm"},identical:{default:"Ju lutem vendosni të njëjtën vlerë"},imei:{default:"Ju lutem vendosni numër IMEI të njëjtë"},imo:{default:"Ju lutem vendosni numër IMO të vlefshëm"},integer:{default:"Ju lutem vendosni një numër të vlefshëm"},ip:{default:"Ju lutem vendosni një adresë IP të vlefshme",ipv4:"Ju lutem vendosni një adresë IPv4 të vlefshme",ipv6:"Ju lutem vendosni një adresë IPv6 të vlefshme"},isbn:{default:"Ju lutem vendosni një numër ISBN të vlefshëm"},isin:{default:"Ju lutem vendosni një numër ISIN të vlefshëm"},ismn:{default:"Ju lutem vendosni një numër ISMN të vlefshëm"},issn:{default:"Ju lutem vendosni një numër ISSN të vlefshëm"},lessThan:{default:"Ju lutem vendosni një vlerë më të madhe ose të barabartë me %s",notInclusive:"Ju lutem vendosni një vlerë më të vogël se %s"},mac:{default:"Ju lutem vendosni një adresë MAC të vlefshme"},meid:{default:"Ju lutem vendosni një numër MEID të vlefshëm"},notEmpty:{default:"Ju lutem vendosni një vlerë"},numeric:{default:"Ju lutem vendosni një numër me presje notuese të saktë"},phone:{countries:{AE:"Emiratet e Bashkuara Arabe",BG:"Bullgari",BR:"Brazil",CN:"Kinë",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",ES:"Spanjë",FR:"Francë",GB:"Mbretëria e Bashkuar",IN:"Indi",MA:"Marok",NL:"Hollandë",PK:"Pakistan",RO:"Rumani",RU:"Rusi",SK:"Sllovaki",TH:"Tajlandë",US:"SHBA",VE:"Venezuelë"},country:"Ju lutem vendosni një numër telefoni të vlefshëm në %s",default:"Ju lutem vendosni një numër telefoni të vlefshëm"},promise:{default:"Ju lutem vendosni një vlerë të vlefshme"},regexp:{default:"Ju lutem vendosni një vlerë që përputhet me modelin"},remote:{default:"Ju lutem vendosni një vlerë të vlefshme"},rtn:{default:"Ju lutem vendosni një numër RTN të vlefshëm"},sedol:{default:"Ju lutem vendosni një numër SEDOL të vlefshëm"},siren:{default:"Ju lutem vendosni një numër SIREN të vlefshëm"},siret:{default:"Ju lutem vendosni një numër SIRET të vlefshëm"},step:{default:"Ju lutem vendosni një hap të vlefshëm të %s"},stringCase:{default:"Ju lutem përdorni vetëm shenja të vogla të shtypit",upper:"Ju lutem përdorni vetëm shenja të mëdha të shtypit"},stringLength:{between:"Ju lutem vendosni një vlerë me gjatësi midis %s dhe %s simbole",default:"Ju lutem vendosni një vlerë me gjatësinë e duhur",less:"Ju lutem vendosni më pak se %s simbole",more:"Ju lutem vendosni më shumë se %s simbole"},uri:{default:"Ju lutem vendosni një URI të vlefshme"},uuid:{default:"Ju lutem vendosni një numër UUID të vlefshëm",version:"Ju lutem vendosni një numër UUID version %s të vlefshëm"},vat:{countries:{AT:"Austri",BE:"Belgjikë",BG:"Bullgari",BR:"Brazil",CH:"Zvicër",CY:"Qipro",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",EE:"Estoni",EL:"Greqi",ES:"Spanjë",FI:"Finlandë",FR:"Francë",GB:"Mbretëria e Bashkuar",GR:"Greqi",HR:"Kroaci",HU:"Hungari",IE:"Irlandë",IS:"Iclandë",IT:"Itali",LT:"Lituani",LU:"Luksemburg",LV:"Letoni",MT:"Maltë",NL:"Hollandë",NO:"Norvegji",PL:"Poloni",PT:"Portugali",RO:"Rumani",RS:"Serbi",RU:"Rusi",SE:"Suedi",SI:"Slloveni",SK:"Sllovaki",VE:"Venezuelë",ZA:"Afrikë e Jugut"},country:"Ju lutem vendosni një numër VAT të vlefshëm në %s",default:"Ju lutem vendosni një numër VAT të vlefshëm"},vin:{default:"Ju lutem vendosni një numër VIN të vlefshëm"},zipCode:{countries:{AT:"Austri",BG:"Bullgari",BR:"Brazil",CA:"Kanada",CH:"Zvicër",CZ:"Republika Çeke",DE:"Gjermani",DK:"Danimarkë",ES:"Spanjë",FR:"Francë",GB:"Mbretëria e Bashkuar",IE:"Irlandë",IN:"Indi",IT:"Itali",MA:"Marok",NL:"Hollandë",PL:"Poloni",PT:"Portugali",RO:"Rumani",RU:"Rusi",SE:"Suedi",SG:"Singapor",SK:"Sllovaki",US:"SHBA"},country:"Ju lutem vendosni një kod postar të vlefshëm në %s",default:"Ju lutem vendosni një kod postar të vlefshëm"}};return sq_AL})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sr_RS.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sr_RS.js new file mode 100755 index 00000000..72344507 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sr_RS.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.sr_RS = factory())); +})(this, (function () { 'use strict'; + + /** + * Serbian Latin language package + * Translated by @markocrni + */ + + var sr_RS = { + base64: { + default: 'Molimo da unesete važeći base 64 enkodovan', + }, + between: { + default: 'Molimo da unesete vrednost između %s i %s', + notInclusive: 'Molimo da unesete vrednost strogo između %s i %s', + }, + bic: { + default: 'Molimo da unesete ispravan BIC broj', + }, + callback: { + default: 'Molimo da unesete važeću vrednost', + }, + choice: { + between: 'Molimo odaberite %s - %s opcije(a)', + default: 'Molimo da unesete važeću vrednost', + less: 'Molimo da odaberete minimalno %s opciju(a)', + more: 'Molimo da odaberete maksimalno %s opciju(a)', + }, + color: { + default: 'Molimo da unesete ispravnu boju', + }, + creditCard: { + default: 'Molimo da unesete ispravan broj kreditne kartice', + }, + cusip: { + default: 'Molimo da unesete ispravan CUSIP broj', + }, + date: { + default: 'Molimo da unesete ispravan datum', + max: 'Molimo da unesete datum pre %s', + min: 'Molimo da unesete datum posle %s', + range: 'Molimo da unesete datum od %s do %s', + }, + different: { + default: 'Molimo da unesete drugu vrednost', + }, + digits: { + default: 'Molimo da unesete samo cifre', + }, + ean: { + default: 'Molimo da unesete ispravan EAN broj', + }, + ein: { + default: 'Molimo da unesete ispravan EIN broj', + }, + emailAddress: { + default: 'Molimo da unesete važeću e-mail adresu', + }, + file: { + default: 'Molimo da unesete ispravan fajl', + }, + greaterThan: { + default: 'Molimo da unesete vrednost veću ili jednaku od %s', + notInclusive: 'Molimo da unesete vrednost veću od %s', + }, + grid: { + default: 'Molimo da unesete ispravan GRId broj', + }, + hex: { + default: 'Molimo da unesete ispravan heksadecimalan broj', + }, + iban: { + countries: { + AD: 'Andore', + AE: 'Ujedinjenih Arapskih Emirata', + AL: 'Albanije', + AO: 'Angole', + AT: 'Austrije', + AZ: 'Azerbejdžana', + BA: 'Bosne i Hercegovine', + BE: 'Belgije', + BF: 'Burkina Fasa', + BG: 'Bugarske', + BH: 'Bahraina', + BI: 'Burundija', + BJ: 'Benina', + BR: 'Brazila', + CH: 'Švajcarske', + CI: 'Obale slonovače', + CM: 'Kameruna', + CR: 'Kostarike', + CV: 'Zelenorotskih Ostrva', + CY: 'Kipra', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + DO: 'Dominike', + DZ: 'Alžira', + EE: 'Estonije', + ES: 'Španije', + FI: 'Finske', + FO: 'Farskih Ostrva', + FR: 'Francuske', + GB: 'Engleske', + GE: 'Džordžije', + GI: 'Giblartara', + GL: 'Grenlanda', + GR: 'Grčke', + GT: 'Gvatemale', + HR: 'Hrvatske', + HU: 'Mađarske', + IE: 'Irske', + IL: 'Izraela', + IR: 'Irana', + IS: 'Islanda', + IT: 'Italije', + JO: 'Jordana', + KW: 'Kuvajta', + KZ: 'Kazahstana', + LB: 'Libana', + LI: 'Lihtenštajna', + LT: 'Litvanije', + LU: 'Luksemburga', + LV: 'Latvije', + MC: 'Monaka', + MD: 'Moldove', + ME: 'Crne Gore', + MG: 'Madagaskara', + MK: 'Makedonije', + ML: 'Malija', + MR: 'Mauritanije', + MT: 'Malte', + MU: 'Mauricijusa', + MZ: 'Mozambika', + NL: 'Holandije', + NO: 'Norveške', + PK: 'Pakistana', + PL: 'Poljske', + PS: 'Palestine', + PT: 'Portugala', + QA: 'Katara', + RO: 'Rumunije', + RS: 'Srbije', + SA: 'Saudijske Arabije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + SM: 'San Marina', + SN: 'Senegala', + TL: 'Источни Тимор', + TN: 'Tunisa', + TR: 'Turske', + VG: 'Britanskih Devičanskih Ostrva', + XK: 'Република Косово', + }, + country: 'Molimo da unesete ispravan IBAN broj %s', + default: 'Molimo da unesete ispravan IBAN broj', + }, + id: { + countries: { + BA: 'Bosne i Herzegovine', + BG: 'Bugarske', + BR: 'Brazila', + CH: 'Švajcarske', + CL: 'Čilea', + CN: 'Kine', + CZ: 'Češke', + DK: 'Danske', + EE: 'Estonije', + ES: 'Španije', + FI: 'Finske', + HR: 'Hrvatske', + IE: 'Irske', + IS: 'Islanda', + LT: 'Litvanije', + LV: 'Letonije', + ME: 'Crne Gore', + MK: 'Makedonije', + NL: 'Holandije', + PL: 'Poljske', + RO: 'Rumunije', + RS: 'Srbije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + SM: 'San Marina', + TH: 'Tajlanda', + TR: 'Turske', + ZA: 'Južne Afrike', + }, + country: 'Molimo da unesete ispravan identifikacioni broj %s', + default: 'Molimo da unesete ispravan identifikacioni broj', + }, + identical: { + default: 'Molimo da unesete istu vrednost', + }, + imei: { + default: 'Molimo da unesete ispravan IMEI broj', + }, + imo: { + default: 'Molimo da unesete ispravan IMO broj', + }, + integer: { + default: 'Molimo da unesete ispravan broj', + }, + ip: { + default: 'Molimo da unesete ispravnu IP adresu', + ipv4: 'Molimo da unesete ispravnu IPv4 adresu', + ipv6: 'Molimo da unesete ispravnu IPv6 adresu', + }, + isbn: { + default: 'Molimo da unesete ispravan ISBN broj', + }, + isin: { + default: 'Molimo da unesete ispravan ISIN broj', + }, + ismn: { + default: 'Molimo da unesete ispravan ISMN broj', + }, + issn: { + default: 'Molimo da unesete ispravan ISSN broj', + }, + lessThan: { + default: 'Molimo da unesete vrednost manju ili jednaku od %s', + notInclusive: 'Molimo da unesete vrednost manju od %s', + }, + mac: { + default: 'Molimo da unesete ispravnu MAC adresu', + }, + meid: { + default: 'Molimo da unesete ispravan MEID broj', + }, + notEmpty: { + default: 'Molimo da unesete vrednost', + }, + numeric: { + default: 'Molimo da unesete ispravan decimalni broj', + }, + phone: { + countries: { + AE: 'Ujedinjenih Arapskih Emirata', + BG: 'Bugarske', + BR: 'Brazila', + CN: 'Kine', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + ES: 'Španije', + FR: 'Francuske', + GB: 'Engleske', + IN: 'Индија', + MA: 'Maroka', + NL: 'Holandije', + PK: 'Pakistana', + RO: 'Rumunije', + RU: 'Rusije', + SK: 'Slovačke', + TH: 'Tajlanda', + US: 'Amerike', + VE: 'Venecuele', + }, + country: 'Molimo da unesete ispravan broj telefona %s', + default: 'Molimo da unesete ispravan broj telefona', + }, + promise: { + default: 'Molimo da unesete važeću vrednost', + }, + regexp: { + default: 'Molimo da unesete vrednost koja se poklapa sa paternom', + }, + remote: { + default: 'Molimo da unesete ispravnu vrednost', + }, + rtn: { + default: 'Molimo da unesete ispravan RTN broj', + }, + sedol: { + default: 'Molimo da unesete ispravan SEDOL broj', + }, + siren: { + default: 'Molimo da unesete ispravan SIREN broj', + }, + siret: { + default: 'Molimo da unesete ispravan SIRET broj', + }, + step: { + default: 'Molimo da unesete ispravan korak od %s', + }, + stringCase: { + default: 'Molimo da unesete samo mala slova', + upper: 'Molimo da unesete samo velika slova', + }, + stringLength: { + between: 'Molimo da unesete vrednost dužine između %s i %s karaktera', + default: 'Molimo da unesete vrednost sa ispravnom dužinom', + less: 'Molimo da unesete manje od %s karaktera', + more: 'Molimo da unesete više od %s karaktera', + }, + uri: { + default: 'Molimo da unesete ispravan URI', + }, + uuid: { + default: 'Molimo da unesete ispravan UUID broj', + version: 'Molimo da unesete ispravnu verziju UUID %s broja', + }, + vat: { + countries: { + AT: 'Austrije', + BE: 'Belgije', + BG: 'Bugarske', + BR: 'Brazila', + CH: 'Švajcarske', + CY: 'Kipra', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + EE: 'Estonije', + EL: 'Grčke', + ES: 'Španije', + FI: 'Finske', + FR: 'Francuske', + GB: 'Engleske', + GR: 'Grčke', + HR: 'Hrvatske', + HU: 'Mađarske', + IE: 'Irske', + IS: 'Islanda', + IT: 'Italije', + LT: 'Litvanije', + LU: 'Luksemburga', + LV: 'Letonije', + MT: 'Malte', + NL: 'Holandije', + NO: 'Norveške', + PL: 'Poljske', + PT: 'Portugala', + RO: 'Romunje', + RS: 'Srbije', + RU: 'Rusije', + SE: 'Švedske', + SI: 'Slovenije', + SK: 'Slovačke', + VE: 'Venecuele', + ZA: 'Južne Afrike', + }, + country: 'Molimo da unesete ispravan VAT broj %s', + default: 'Molimo da unesete ispravan VAT broj', + }, + vin: { + default: 'Molimo da unesete ispravan VIN broj', + }, + zipCode: { + countries: { + AT: 'Austrije', + BG: 'Bugarske', + BR: 'Brazila', + CA: 'Kanade', + CH: 'Švajcarske', + CZ: 'Češke', + DE: 'Nemačke', + DK: 'Danske', + ES: 'Španije', + FR: 'Francuske', + GB: 'Engleske', + IE: 'Irske', + IN: 'Индија', + IT: 'Italije', + MA: 'Maroka', + NL: 'Holandije', + PL: 'Poljske', + PT: 'Portugala', + RO: 'Rumunije', + RU: 'Rusije', + SE: 'Švedske', + SG: 'Singapura', + SK: 'Slovačke', + US: 'Amerike', + }, + country: 'Molimo da unesete ispravan poštanski broj %s', + default: 'Molimo da unesete ispravan poštanski broj', + }, + }; + + return sr_RS; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sr_RS.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sr_RS.min.js new file mode 100755 index 00000000..65c485c2 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sr_RS.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.sr_RS=factory())})(this,(function(){"use strict";var sr_RS={base64:{default:"Molimo da unesete važeći base 64 enkodovan"},between:{default:"Molimo da unesete vrednost između %s i %s",notInclusive:"Molimo da unesete vrednost strogo između %s i %s"},bic:{default:"Molimo da unesete ispravan BIC broj"},callback:{default:"Molimo da unesete važeću vrednost"},choice:{between:"Molimo odaberite %s - %s opcije(a)",default:"Molimo da unesete važeću vrednost",less:"Molimo da odaberete minimalno %s opciju(a)",more:"Molimo da odaberete maksimalno %s opciju(a)"},color:{default:"Molimo da unesete ispravnu boju"},creditCard:{default:"Molimo da unesete ispravan broj kreditne kartice"},cusip:{default:"Molimo da unesete ispravan CUSIP broj"},date:{default:"Molimo da unesete ispravan datum",max:"Molimo da unesete datum pre %s",min:"Molimo da unesete datum posle %s",range:"Molimo da unesete datum od %s do %s"},different:{default:"Molimo da unesete drugu vrednost"},digits:{default:"Molimo da unesete samo cifre"},ean:{default:"Molimo da unesete ispravan EAN broj"},ein:{default:"Molimo da unesete ispravan EIN broj"},emailAddress:{default:"Molimo da unesete važeću e-mail adresu"},file:{default:"Molimo da unesete ispravan fajl"},greaterThan:{default:"Molimo da unesete vrednost veću ili jednaku od %s",notInclusive:"Molimo da unesete vrednost veću od %s"},grid:{default:"Molimo da unesete ispravan GRId broj"},hex:{default:"Molimo da unesete ispravan heksadecimalan broj"},iban:{countries:{AD:"Andore",AE:"Ujedinjenih Arapskih Emirata",AL:"Albanije",AO:"Angole",AT:"Austrije",AZ:"Azerbejdžana",BA:"Bosne i Hercegovine",BE:"Belgije",BF:"Burkina Fasa",BG:"Bugarske",BH:"Bahraina",BI:"Burundija",BJ:"Benina",BR:"Brazila",CH:"Švajcarske",CI:"Obale slonovače",CM:"Kameruna",CR:"Kostarike",CV:"Zelenorotskih Ostrva",CY:"Kipra",CZ:"Češke",DE:"Nemačke",DK:"Danske",DO:"Dominike",DZ:"Alžira",EE:"Estonije",ES:"Španije",FI:"Finske",FO:"Farskih Ostrva",FR:"Francuske",GB:"Engleske",GE:"Džordžije",GI:"Giblartara",GL:"Grenlanda",GR:"Grčke",GT:"Gvatemale",HR:"Hrvatske",HU:"Mađarske",IE:"Irske",IL:"Izraela",IR:"Irana",IS:"Islanda",IT:"Italije",JO:"Jordana",KW:"Kuvajta",KZ:"Kazahstana",LB:"Libana",LI:"Lihtenštajna",LT:"Litvanije",LU:"Luksemburga",LV:"Latvije",MC:"Monaka",MD:"Moldove",ME:"Crne Gore",MG:"Madagaskara",MK:"Makedonije",ML:"Malija",MR:"Mauritanije",MT:"Malte",MU:"Mauricijusa",MZ:"Mozambika",NL:"Holandije",NO:"Norveške",PK:"Pakistana",PL:"Poljske",PS:"Palestine",PT:"Portugala",QA:"Katara",RO:"Rumunije",RS:"Srbije",SA:"Saudijske Arabije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",SM:"San Marina",SN:"Senegala",TL:"Источни Тимор",TN:"Tunisa",TR:"Turske",VG:"Britanskih Devičanskih Ostrva",XK:"Република Косово"},country:"Molimo da unesete ispravan IBAN broj %s",default:"Molimo da unesete ispravan IBAN broj"},id:{countries:{BA:"Bosne i Herzegovine",BG:"Bugarske",BR:"Brazila",CH:"Švajcarske",CL:"Čilea",CN:"Kine",CZ:"Češke",DK:"Danske",EE:"Estonije",ES:"Španije",FI:"Finske",HR:"Hrvatske",IE:"Irske",IS:"Islanda",LT:"Litvanije",LV:"Letonije",ME:"Crne Gore",MK:"Makedonije",NL:"Holandije",PL:"Poljske",RO:"Rumunije",RS:"Srbije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",SM:"San Marina",TH:"Tajlanda",TR:"Turske",ZA:"Južne Afrike"},country:"Molimo da unesete ispravan identifikacioni broj %s",default:"Molimo da unesete ispravan identifikacioni broj"},identical:{default:"Molimo da unesete istu vrednost"},imei:{default:"Molimo da unesete ispravan IMEI broj"},imo:{default:"Molimo da unesete ispravan IMO broj"},integer:{default:"Molimo da unesete ispravan broj"},ip:{default:"Molimo da unesete ispravnu IP adresu",ipv4:"Molimo da unesete ispravnu IPv4 adresu",ipv6:"Molimo da unesete ispravnu IPv6 adresu"},isbn:{default:"Molimo da unesete ispravan ISBN broj"},isin:{default:"Molimo da unesete ispravan ISIN broj"},ismn:{default:"Molimo da unesete ispravan ISMN broj"},issn:{default:"Molimo da unesete ispravan ISSN broj"},lessThan:{default:"Molimo da unesete vrednost manju ili jednaku od %s",notInclusive:"Molimo da unesete vrednost manju od %s"},mac:{default:"Molimo da unesete ispravnu MAC adresu"},meid:{default:"Molimo da unesete ispravan MEID broj"},notEmpty:{default:"Molimo da unesete vrednost"},numeric:{default:"Molimo da unesete ispravan decimalni broj"},phone:{countries:{AE:"Ujedinjenih Arapskih Emirata",BG:"Bugarske",BR:"Brazila",CN:"Kine",CZ:"Češke",DE:"Nemačke",DK:"Danske",ES:"Španije",FR:"Francuske",GB:"Engleske",IN:"Индија",MA:"Maroka",NL:"Holandije",PK:"Pakistana",RO:"Rumunije",RU:"Rusije",SK:"Slovačke",TH:"Tajlanda",US:"Amerike",VE:"Venecuele"},country:"Molimo da unesete ispravan broj telefona %s",default:"Molimo da unesete ispravan broj telefona"},promise:{default:"Molimo da unesete važeću vrednost"},regexp:{default:"Molimo da unesete vrednost koja se poklapa sa paternom"},remote:{default:"Molimo da unesete ispravnu vrednost"},rtn:{default:"Molimo da unesete ispravan RTN broj"},sedol:{default:"Molimo da unesete ispravan SEDOL broj"},siren:{default:"Molimo da unesete ispravan SIREN broj"},siret:{default:"Molimo da unesete ispravan SIRET broj"},step:{default:"Molimo da unesete ispravan korak od %s"},stringCase:{default:"Molimo da unesete samo mala slova",upper:"Molimo da unesete samo velika slova"},stringLength:{between:"Molimo da unesete vrednost dužine između %s i %s karaktera",default:"Molimo da unesete vrednost sa ispravnom dužinom",less:"Molimo da unesete manje od %s karaktera",more:"Molimo da unesete više od %s karaktera"},uri:{default:"Molimo da unesete ispravan URI"},uuid:{default:"Molimo da unesete ispravan UUID broj",version:"Molimo da unesete ispravnu verziju UUID %s broja"},vat:{countries:{AT:"Austrije",BE:"Belgije",BG:"Bugarske",BR:"Brazila",CH:"Švajcarske",CY:"Kipra",CZ:"Češke",DE:"Nemačke",DK:"Danske",EE:"Estonije",EL:"Grčke",ES:"Španije",FI:"Finske",FR:"Francuske",GB:"Engleske",GR:"Grčke",HR:"Hrvatske",HU:"Mađarske",IE:"Irske",IS:"Islanda",IT:"Italije",LT:"Litvanije",LU:"Luksemburga",LV:"Letonije",MT:"Malte",NL:"Holandije",NO:"Norveške",PL:"Poljske",PT:"Portugala",RO:"Romunje",RS:"Srbije",RU:"Rusije",SE:"Švedske",SI:"Slovenije",SK:"Slovačke",VE:"Venecuele",ZA:"Južne Afrike"},country:"Molimo da unesete ispravan VAT broj %s",default:"Molimo da unesete ispravan VAT broj"},vin:{default:"Molimo da unesete ispravan VIN broj"},zipCode:{countries:{AT:"Austrije",BG:"Bugarske",BR:"Brazila",CA:"Kanade",CH:"Švajcarske",CZ:"Češke",DE:"Nemačke",DK:"Danske",ES:"Španije",FR:"Francuske",GB:"Engleske",IE:"Irske",IN:"Индија",IT:"Italije",MA:"Maroka",NL:"Holandije",PL:"Poljske",PT:"Portugala",RO:"Rumunije",RU:"Rusije",SE:"Švedske",SG:"Singapura",SK:"Slovačke",US:"Amerike"},country:"Molimo da unesete ispravan poštanski broj %s",default:"Molimo da unesete ispravan poštanski broj"}};return sr_RS})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sv_SE.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sv_SE.js new file mode 100755 index 00000000..09dcd600 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sv_SE.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.sv_SE = factory())); +})(this, (function () { 'use strict'; + + /** + * Swedish language package + * Translated by @ulsa + */ + + var sv_SE = { + base64: { + default: 'Vänligen mata in ett giltigt Base64-kodat värde', + }, + between: { + default: 'Vänligen mata in ett värde mellan %s och %s', + notInclusive: 'Vänligen mata in ett värde strikt mellan %s och %s', + }, + bic: { + default: 'Vänligen mata in ett giltigt BIC-nummer', + }, + callback: { + default: 'Vänligen mata in ett giltigt värde', + }, + choice: { + between: 'Vänligen välj %s - %s alternativ', + default: 'Vänligen mata in ett giltigt värde', + less: 'Vänligen välj minst %s alternativ', + more: 'Vänligen välj max %s alternativ', + }, + color: { + default: 'Vänligen mata in en giltig färg', + }, + creditCard: { + default: 'Vänligen mata in ett giltigt kredikortsnummer', + }, + cusip: { + default: 'Vänligen mata in ett giltigt CUSIP-nummer', + }, + date: { + default: 'Vänligen mata in ett giltigt datum', + max: 'Vänligen mata in ett datum före %s', + min: 'Vänligen mata in ett datum efter %s', + range: 'Vänligen mata in ett datum i intervallet %s - %s', + }, + different: { + default: 'Vänligen mata in ett annat värde', + }, + digits: { + default: 'Vänligen mata in endast siffror', + }, + ean: { + default: 'Vänligen mata in ett giltigt EAN-nummer', + }, + ein: { + default: 'Vänligen mata in ett giltigt EIN-nummer', + }, + emailAddress: { + default: 'Vänligen mata in en giltig emailadress', + }, + file: { + default: 'Vänligen välj en giltig fil', + }, + greaterThan: { + default: 'Vänligen mata in ett värde större än eller lika med %s', + notInclusive: 'Vänligen mata in ett värde större än %s', + }, + grid: { + default: 'Vänligen mata in ett giltigt GRID-nummer', + }, + hex: { + default: 'Vänligen mata in ett giltigt hexadecimalt tal', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Förenade Arabemiraten', + AL: 'Albanien', + AO: 'Angola', + AT: 'Österrike', + AZ: 'Azerbadjan', + BA: 'Bosnien och Herzegovina', + BE: 'Belgien', + BF: 'Burkina Faso', + BG: 'Bulgarien', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brasilien', + CH: 'Schweiz', + CI: 'Elfenbenskusten', + CM: 'Kamerun', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Cypern', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + DO: 'Dominikanska Republiken', + DZ: 'Algeriet', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + FO: 'Färöarna', + FR: 'Frankrike', + GB: 'Storbritannien', + GE: 'Georgien', + GI: 'Gibraltar', + GL: 'Grönland', + GR: 'Greekland', + GT: 'Guatemala', + HR: 'Kroatien', + HU: 'Ungern', + IE: 'Irland', + IL: 'Israel', + IR: 'Iran', + IS: 'Island', + IT: 'Italien', + JO: 'Jordanien', + KW: 'Kuwait', + KZ: 'Kazakstan', + LB: 'Libanon', + LI: 'Lichtenstein', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MC: 'Monaco', + MD: 'Moldovien', + ME: 'Montenegro', + MG: 'Madagaskar', + MK: 'Makedonien', + ML: 'Mali', + MR: 'Mauretanien', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Holland', + NO: 'Norge', + PK: 'Pakistan', + PL: 'Polen', + PS: 'Palestina', + PT: 'Portugal', + QA: 'Qatar', + RO: 'Rumänien', + RS: 'Serbien', + SA: 'Saudiarabien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Östtimor', + TN: 'Tunisien', + TR: 'Turkiet', + VG: 'Brittiska Jungfruöarna', + XK: 'Republiken Kosovo', + }, + country: 'Vänligen mata in ett giltigt IBAN-nummer i %s', + default: 'Vänligen mata in ett giltigt IBAN-nummer', + }, + id: { + countries: { + BA: 'Bosnien och Hercegovina', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CL: 'Chile', + CN: 'Kina', + CZ: 'Tjeckien', + DK: 'Danmark', + EE: 'Estland', + ES: 'Spanien', + FI: 'Finland', + HR: 'Kroatien', + IE: 'Irland', + IS: 'Island', + LT: 'Litauen', + LV: 'Lettland', + ME: 'Montenegro', + MK: 'Makedonien', + NL: 'Nederländerna', + PL: 'Polen', + RO: 'Rumänien', + RS: 'Serbien', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + SM: 'San Marino', + TH: 'Thailand', + TR: 'Turkiet', + ZA: 'Sydafrika', + }, + country: 'Vänligen mata in ett giltigt identifikationsnummer i %s', + default: 'Vänligen mata in ett giltigt identifikationsnummer', + }, + identical: { + default: 'Vänligen mata in samma värde', + }, + imei: { + default: 'Vänligen mata in ett giltigt IMEI-nummer', + }, + imo: { + default: 'Vänligen mata in ett giltigt IMO-nummer', + }, + integer: { + default: 'Vänligen mata in ett giltigt heltal', + }, + ip: { + default: 'Vänligen mata in en giltig IP-adress', + ipv4: 'Vänligen mata in en giltig IPv4-adress', + ipv6: 'Vänligen mata in en giltig IPv6-adress', + }, + isbn: { + default: 'Vänligen mata in ett giltigt ISBN-nummer', + }, + isin: { + default: 'Vänligen mata in ett giltigt ISIN-nummer', + }, + ismn: { + default: 'Vänligen mata in ett giltigt ISMN-nummer', + }, + issn: { + default: 'Vänligen mata in ett giltigt ISSN-nummer', + }, + lessThan: { + default: 'Vänligen mata in ett värde mindre än eller lika med %s', + notInclusive: 'Vänligen mata in ett värde mindre än %s', + }, + mac: { + default: 'Vänligen mata in en giltig MAC-adress', + }, + meid: { + default: 'Vänligen mata in ett giltigt MEID-nummer', + }, + notEmpty: { + default: 'Vänligen mata in ett värde', + }, + numeric: { + default: 'Vänligen mata in ett giltigt flyttal', + }, + phone: { + countries: { + AE: 'Förenade Arabemiraten', + BG: 'Bulgarien', + BR: 'Brasilien', + CN: 'Kina', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrike', + GB: 'Storbritannien', + IN: 'Indien', + MA: 'Marocko', + NL: 'Holland', + PK: 'Pakistan', + RO: 'Rumänien', + RU: 'Ryssland', + SK: 'Slovakien', + TH: 'Thailand', + US: 'USA', + VE: 'Venezuela', + }, + country: 'Vänligen mata in ett giltigt telefonnummer i %s', + default: 'Vänligen mata in ett giltigt telefonnummer', + }, + promise: { + default: 'Vänligen mata in ett giltigt värde', + }, + regexp: { + default: 'Vänligen mata in ett värde som matchar uttrycket', + }, + remote: { + default: 'Vänligen mata in ett giltigt värde', + }, + rtn: { + default: 'Vänligen mata in ett giltigt RTN-nummer', + }, + sedol: { + default: 'Vänligen mata in ett giltigt SEDOL-nummer', + }, + siren: { + default: 'Vänligen mata in ett giltigt SIREN-nummer', + }, + siret: { + default: 'Vänligen mata in ett giltigt SIRET-nummer', + }, + step: { + default: 'Vänligen mata in ett giltigt steg av %s', + }, + stringCase: { + default: 'Vänligen mata in endast små bokstäver', + upper: 'Vänligen mata in endast stora bokstäver', + }, + stringLength: { + between: 'Vänligen mata in ett värde mellan %s och %s tecken långt', + default: 'Vänligen mata in ett värde med giltig längd', + less: 'Vänligen mata in färre än %s tecken', + more: 'Vänligen mata in fler än %s tecken', + }, + uri: { + default: 'Vänligen mata in en giltig URI', + }, + uuid: { + default: 'Vänligen mata in ett giltigt UUID-nummer', + version: 'Vänligen mata in ett giltigt UUID-nummer av version %s', + }, + vat: { + countries: { + AT: 'Österrike', + BE: 'Belgien', + BG: 'Bulgarien', + BR: 'Brasilien', + CH: 'Schweiz', + CY: 'Cypern', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + EE: 'Estland', + EL: 'Grekland', + ES: 'Spanien', + FI: 'Finland', + FR: 'Frankrike', + GB: 'Förenade Kungariket', + GR: 'Grekland', + HR: 'Kroatien', + HU: 'Ungern', + IE: 'Irland', + IS: 'Island', + IT: 'Italien', + LT: 'Litauen', + LU: 'Luxemburg', + LV: 'Lettland', + MT: 'Malta', + NL: 'Nederländerna', + NO: 'Norge', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RS: 'Serbien', + RU: 'Ryssland', + SE: 'Sverige', + SI: 'Slovenien', + SK: 'Slovakien', + VE: 'Venezuela', + ZA: 'Sydafrika', + }, + country: 'Vänligen mata in ett giltigt momsregistreringsnummer i %s', + default: 'Vänligen mata in ett giltigt momsregistreringsnummer', + }, + vin: { + default: 'Vänligen mata in ett giltigt VIN-nummer', + }, + zipCode: { + countries: { + AT: 'Österrike', + BG: 'Bulgarien', + BR: 'Brasilien', + CA: 'Kanada', + CH: 'Schweiz', + CZ: 'Tjeckien', + DE: 'Tyskland', + DK: 'Danmark', + ES: 'Spanien', + FR: 'Frankrike', + GB: 'Förenade Kungariket', + IE: 'Irland', + IN: 'Indien', + IT: 'Italien', + MA: 'Marocko', + NL: 'Nederländerna', + PL: 'Polen', + PT: 'Portugal', + RO: 'Rumänien', + RU: 'Ryssland', + SE: 'Sverige', + SG: 'Singapore', + SK: 'Slovakien', + US: 'USA', + }, + country: 'Vänligen mata in ett giltigt postnummer i %s', + default: 'Vänligen mata in ett giltigt postnummer', + }, + }; + + return sv_SE; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sv_SE.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sv_SE.min.js new file mode 100755 index 00000000..822dd364 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/sv_SE.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.sv_SE=factory())})(this,(function(){"use strict";var sv_SE={base64:{default:"Vänligen mata in ett giltigt Base64-kodat värde"},between:{default:"Vänligen mata in ett värde mellan %s och %s",notInclusive:"Vänligen mata in ett värde strikt mellan %s och %s"},bic:{default:"Vänligen mata in ett giltigt BIC-nummer"},callback:{default:"Vänligen mata in ett giltigt värde"},choice:{between:"Vänligen välj %s - %s alternativ",default:"Vänligen mata in ett giltigt värde",less:"Vänligen välj minst %s alternativ",more:"Vänligen välj max %s alternativ"},color:{default:"Vänligen mata in en giltig färg"},creditCard:{default:"Vänligen mata in ett giltigt kredikortsnummer"},cusip:{default:"Vänligen mata in ett giltigt CUSIP-nummer"},date:{default:"Vänligen mata in ett giltigt datum",max:"Vänligen mata in ett datum före %s",min:"Vänligen mata in ett datum efter %s",range:"Vänligen mata in ett datum i intervallet %s - %s"},different:{default:"Vänligen mata in ett annat värde"},digits:{default:"Vänligen mata in endast siffror"},ean:{default:"Vänligen mata in ett giltigt EAN-nummer"},ein:{default:"Vänligen mata in ett giltigt EIN-nummer"},emailAddress:{default:"Vänligen mata in en giltig emailadress"},file:{default:"Vänligen välj en giltig fil"},greaterThan:{default:"Vänligen mata in ett värde större än eller lika med %s",notInclusive:"Vänligen mata in ett värde större än %s"},grid:{default:"Vänligen mata in ett giltigt GRID-nummer"},hex:{default:"Vänligen mata in ett giltigt hexadecimalt tal"},iban:{countries:{AD:"Andorra",AE:"Förenade Arabemiraten",AL:"Albanien",AO:"Angola",AT:"Österrike",AZ:"Azerbadjan",BA:"Bosnien och Herzegovina",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasilien",CH:"Schweiz",CI:"Elfenbenskusten",CM:"Kamerun",CR:"Costa Rica",CV:"Cape Verde",CY:"Cypern",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",DO:"Dominikanska Republiken",DZ:"Algeriet",EE:"Estland",ES:"Spanien",FI:"Finland",FO:"Färöarna",FR:"Frankrike",GB:"Storbritannien",GE:"Georgien",GI:"Gibraltar",GL:"Grönland",GR:"Greekland",GT:"Guatemala",HR:"Kroatien",HU:"Ungern",IE:"Irland",IL:"Israel",IR:"Iran",IS:"Island",IT:"Italien",JO:"Jordanien",KW:"Kuwait",KZ:"Kazakstan",LB:"Libanon",LI:"Lichtenstein",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MC:"Monaco",MD:"Moldovien",ME:"Montenegro",MG:"Madagaskar",MK:"Makedonien",ML:"Mali",MR:"Mauretanien",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Holland",NO:"Norge",PK:"Pakistan",PL:"Polen",PS:"Palestina",PT:"Portugal",QA:"Qatar",RO:"Rumänien",RS:"Serbien",SA:"Saudiarabien",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",SM:"San Marino",SN:"Senegal",TL:"Östtimor",TN:"Tunisien",TR:"Turkiet",VG:"Brittiska Jungfruöarna",XK:"Republiken Kosovo"},country:"Vänligen mata in ett giltigt IBAN-nummer i %s",default:"Vänligen mata in ett giltigt IBAN-nummer"},id:{countries:{BA:"Bosnien och Hercegovina",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CL:"Chile",CN:"Kina",CZ:"Tjeckien",DK:"Danmark",EE:"Estland",ES:"Spanien",FI:"Finland",HR:"Kroatien",IE:"Irland",IS:"Island",LT:"Litauen",LV:"Lettland",ME:"Montenegro",MK:"Makedonien",NL:"Nederländerna",PL:"Polen",RO:"Rumänien",RS:"Serbien",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",SM:"San Marino",TH:"Thailand",TR:"Turkiet",ZA:"Sydafrika"},country:"Vänligen mata in ett giltigt identifikationsnummer i %s",default:"Vänligen mata in ett giltigt identifikationsnummer"},identical:{default:"Vänligen mata in samma värde"},imei:{default:"Vänligen mata in ett giltigt IMEI-nummer"},imo:{default:"Vänligen mata in ett giltigt IMO-nummer"},integer:{default:"Vänligen mata in ett giltigt heltal"},ip:{default:"Vänligen mata in en giltig IP-adress",ipv4:"Vänligen mata in en giltig IPv4-adress",ipv6:"Vänligen mata in en giltig IPv6-adress"},isbn:{default:"Vänligen mata in ett giltigt ISBN-nummer"},isin:{default:"Vänligen mata in ett giltigt ISIN-nummer"},ismn:{default:"Vänligen mata in ett giltigt ISMN-nummer"},issn:{default:"Vänligen mata in ett giltigt ISSN-nummer"},lessThan:{default:"Vänligen mata in ett värde mindre än eller lika med %s",notInclusive:"Vänligen mata in ett värde mindre än %s"},mac:{default:"Vänligen mata in en giltig MAC-adress"},meid:{default:"Vänligen mata in ett giltigt MEID-nummer"},notEmpty:{default:"Vänligen mata in ett värde"},numeric:{default:"Vänligen mata in ett giltigt flyttal"},phone:{countries:{AE:"Förenade Arabemiraten",BG:"Bulgarien",BR:"Brasilien",CN:"Kina",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrike",GB:"Storbritannien",IN:"Indien",MA:"Marocko",NL:"Holland",PK:"Pakistan",RO:"Rumänien",RU:"Ryssland",SK:"Slovakien",TH:"Thailand",US:"USA",VE:"Venezuela"},country:"Vänligen mata in ett giltigt telefonnummer i %s",default:"Vänligen mata in ett giltigt telefonnummer"},promise:{default:"Vänligen mata in ett giltigt värde"},regexp:{default:"Vänligen mata in ett värde som matchar uttrycket"},remote:{default:"Vänligen mata in ett giltigt värde"},rtn:{default:"Vänligen mata in ett giltigt RTN-nummer"},sedol:{default:"Vänligen mata in ett giltigt SEDOL-nummer"},siren:{default:"Vänligen mata in ett giltigt SIREN-nummer"},siret:{default:"Vänligen mata in ett giltigt SIRET-nummer"},step:{default:"Vänligen mata in ett giltigt steg av %s"},stringCase:{default:"Vänligen mata in endast små bokstäver",upper:"Vänligen mata in endast stora bokstäver"},stringLength:{between:"Vänligen mata in ett värde mellan %s och %s tecken långt",default:"Vänligen mata in ett värde med giltig längd",less:"Vänligen mata in färre än %s tecken",more:"Vänligen mata in fler än %s tecken"},uri:{default:"Vänligen mata in en giltig URI"},uuid:{default:"Vänligen mata in ett giltigt UUID-nummer",version:"Vänligen mata in ett giltigt UUID-nummer av version %s"},vat:{countries:{AT:"Österrike",BE:"Belgien",BG:"Bulgarien",BR:"Brasilien",CH:"Schweiz",CY:"Cypern",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",EE:"Estland",EL:"Grekland",ES:"Spanien",FI:"Finland",FR:"Frankrike",GB:"Förenade Kungariket",GR:"Grekland",HR:"Kroatien",HU:"Ungern",IE:"Irland",IS:"Island",IT:"Italien",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",MT:"Malta",NL:"Nederländerna",NO:"Norge",PL:"Polen",PT:"Portugal",RO:"Rumänien",RS:"Serbien",RU:"Ryssland",SE:"Sverige",SI:"Slovenien",SK:"Slovakien",VE:"Venezuela",ZA:"Sydafrika"},country:"Vänligen mata in ett giltigt momsregistreringsnummer i %s",default:"Vänligen mata in ett giltigt momsregistreringsnummer"},vin:{default:"Vänligen mata in ett giltigt VIN-nummer"},zipCode:{countries:{AT:"Österrike",BG:"Bulgarien",BR:"Brasilien",CA:"Kanada",CH:"Schweiz",CZ:"Tjeckien",DE:"Tyskland",DK:"Danmark",ES:"Spanien",FR:"Frankrike",GB:"Förenade Kungariket",IE:"Irland",IN:"Indien",IT:"Italien",MA:"Marocko",NL:"Nederländerna",PL:"Polen",PT:"Portugal",RO:"Rumänien",RU:"Ryssland",SE:"Sverige",SG:"Singapore",SK:"Slovakien",US:"USA"},country:"Vänligen mata in ett giltigt postnummer i %s",default:"Vänligen mata in ett giltigt postnummer"}};return sv_SE})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/th_TH.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/th_TH.js new file mode 100755 index 00000000..d98bf2f9 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/th_TH.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.th_TH = factory())); +})(this, (function () { 'use strict'; + + /** + * Thai language package + * Translated by @figgaro + */ + + var th_TH = { + base64: { + default: 'กรุณาระบุ base 64 encoded ให้ถูกต้อง', + }, + between: { + default: 'กรุณาระบุค่าระหว่าง %s และ %s', + notInclusive: 'กรุณาระบุค่าระหว่าง %s และ %s เท่านั้น', + }, + bic: { + default: 'กรุณาระบุหมายเลข BIC ให้ถูกต้อง', + }, + callback: { + default: 'กรุณาระบุค่าให้ถูก', + }, + choice: { + between: 'กรุณาเลือก %s - %s ที่มีอยู่', + default: 'กรุณาระบุค่าให้ถูกต้อง', + less: 'โปรดเลือกตัวเลือก %s ที่ต่ำสุด', + more: 'โปรดเลือกตัวเลือก %s ที่สูงสุด', + }, + color: { + default: 'กรุณาระบุค่าสี color ให้ถูกต้อง', + }, + creditCard: { + default: 'กรุณาระบุเลขที่บัตรเครดิตให้ถูกต้อง', + }, + cusip: { + default: 'กรุณาระบุหมายเลข CUSIP ให้ถูกต้อง', + }, + date: { + default: 'กรุณาระบุวันที่ให้ถูกต้อง', + max: 'ไม่สามารถระบุวันที่ได้หลังจาก %s', + min: 'ไม่สามารถระบุวันที่ได้ก่อน %s', + range: 'โปรดระบุวันที่ระหว่าง %s - %s', + }, + different: { + default: 'กรุณาระบุค่าอื่นที่แตกต่าง', + }, + digits: { + default: 'กรุณาระบุตัวเลขเท่านั้น', + }, + ean: { + default: 'กรุณาระบุหมายเลข EAN ให้ถูกต้อง', + }, + ein: { + default: 'กรุณาระบุหมายเลข EIN ให้ถูกต้อง', + }, + emailAddress: { + default: 'กรุณาระบุอีเมล์ให้ถูกต้อง', + }, + file: { + default: 'กรุณาเลือกไฟล์', + }, + greaterThan: { + default: 'กรุณาระบุค่ามากกว่าหรือเท่ากับ %s', + notInclusive: 'กรุณาระบุค่ามากกว่า %s', + }, + grid: { + default: 'กรุณาระบุหมายลข GRId ให้ถูกต้อง', + }, + hex: { + default: 'กรุณาระบุเลขฐานสิบหกให้ถูกต้อง', + }, + iban: { + countries: { + AD: 'อันดอร์รา', + AE: 'สหรัฐอาหรับเอมิเรตส์', + AL: 'แอลเบเนีย', + AO: 'แองโกลา', + AT: 'ออสเตรีย', + AZ: 'อาเซอร์ไบจาน', + BA: 'บอสเนียและเฮอร์เซโก', + BE: 'ประเทศเบลเยียม', + BF: 'บูร์กินาฟาโซ', + BG: 'บัลแกเรีย', + BH: 'บาห์เรน', + BI: 'บุรุนดี', + BJ: 'เบนิน', + BR: 'บราซิล', + CH: 'สวิตเซอร์แลนด์', + CI: 'ไอวอรี่โคสต์', + CM: 'แคเมอรูน', + CR: 'คอสตาริกา', + CV: 'เคปเวิร์ด', + CY: 'ไซปรัส', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + DO: 'สาธารณรัฐโดมินิกัน', + DZ: 'แอลจีเรีย', + EE: 'เอสโตเนีย', + ES: 'สเปน', + FI: 'ฟินแลนด์', + FO: 'หมู่เกาะแฟโร', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + GE: 'จอร์เจีย', + GI: 'ยิบรอลตา', + GL: 'กรีนแลนด์', + GR: 'กรีซ', + GT: 'กัวเตมาลา', + HR: 'โครเอเชีย', + HU: 'ฮังการี', + IE: 'ไอร์แลนด์', + IL: 'อิสราเอล', + IR: 'อิหร่าน', + IS: 'ไอซ์', + IT: 'อิตาลี', + JO: 'จอร์แดน', + KW: 'คูเวต', + KZ: 'คาซัคสถาน', + LB: 'เลบานอน', + LI: 'Liechtenstein', + LT: 'ลิทัวเนีย', + LU: 'ลักเซมเบิร์ก', + LV: 'ลัตเวีย', + MC: 'โมนาโก', + MD: 'มอลโดวา', + ME: 'มอนเตเนโก', + MG: 'มาดากัสการ์', + MK: 'มาซิโดเนีย', + ML: 'มาลี', + MR: 'มอริเตเนีย', + MT: 'มอลตา', + MU: 'มอริเชียส', + MZ: 'โมซัมบิก', + NL: 'เนเธอร์แลนด์', + NO: 'นอร์เวย์', + PK: 'ปากีสถาน', + PL: 'โปแลนด์', + PS: 'ปาเลสไตน์', + PT: 'โปรตุเกส', + QA: 'กาตาร์', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + SA: 'ซาอุดิอารเบีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + SM: 'ซานมาริโน', + SN: 'เซเนกัล', + TL: 'ติมอร์ตะวันออก', + TN: 'ตูนิเซีย', + TR: 'ตุรกี', + VG: 'หมู่เกาะบริติชเวอร์จิน', + XK: 'สาธารณรัฐโคโซโว', + }, + country: 'กรุณาระบุหมายเลข IBAN ใน %s', + default: 'กรุณาระบุหมายเลข IBAN ให้ถูกต้อง', + }, + id: { + countries: { + BA: 'บอสเนียและเฮอร์เซโก', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CH: 'วิตเซอร์แลนด์', + CL: 'ชิลี', + CN: 'จีน', + CZ: 'สาธารณรัฐเชค', + DK: 'เดนมาร์ก', + EE: 'เอสโตเนีย', + ES: 'สเปน', + FI: 'ฟินแลนด์', + HR: 'โครเอเชีย', + IE: 'ไอร์แลนด์', + IS: 'ไอซ์', + LT: 'ลิทัวเนีย', + LV: 'ลัตเวีย', + ME: 'มอนเตเนโก', + MK: 'มาซิโดเนีย', + NL: 'เนเธอร์แลนด์', + PL: 'โปแลนด์', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + SM: 'ซานมาริโน', + TH: 'ไทย', + TR: 'ตุรกี', + ZA: 'แอฟริกาใต้', + }, + country: 'โปรดระบุเลขบัตรประจำตัวประชาชนใน %s ให้ถูกต้อง', + default: 'โปรดระบุเลขบัตรประจำตัวประชาชนให้ถูกต้อง', + }, + identical: { + default: 'โปรดระบุค่าให้ตรง', + }, + imei: { + default: 'โปรดระบุหมายเลข IMEI ให้ถูกต้อง', + }, + imo: { + default: 'โปรดระบุหมายเลข IMO ให้ถูกต้อง', + }, + integer: { + default: 'โปรดระบุตัวเลขให้ถูกต้อง', + }, + ip: { + default: 'โปรดระบุ IP address ให้ถูกต้อง', + ipv4: 'โปรดระบุ IPv4 address ให้ถูกต้อง', + ipv6: 'โปรดระบุ IPv6 address ให้ถูกต้อง', + }, + isbn: { + default: 'โปรดระบุหมายเลข ISBN ให้ถูกต้อง', + }, + isin: { + default: 'โปรดระบุหมายเลข ISIN ให้ถูกต้อง', + }, + ismn: { + default: 'โปรดระบุหมายเลข ISMN ให้ถูกต้อง', + }, + issn: { + default: 'โปรดระบุหมายเลข ISSN ให้ถูกต้อง', + }, + lessThan: { + default: 'โปรดระบุค่าน้อยกว่าหรือเท่ากับ %s', + notInclusive: 'โปรดระบุค่าน้อยกว่า %s', + }, + mac: { + default: 'โปรดระบุหมายเลข MAC address ให้ถูกต้อง', + }, + meid: { + default: 'โปรดระบุหมายเลข MEID ให้ถูกต้อง', + }, + notEmpty: { + default: 'โปรดระบุค่า', + }, + numeric: { + default: 'โปรดระบุเลขหน่วยหรือจำนวนทศนิยม ให้ถูกต้อง', + }, + phone: { + countries: { + AE: 'สหรัฐอาหรับเอมิเรตส์', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CN: 'จีน', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + ES: 'สเปน', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + IN: 'อินเดีย', + MA: 'โมร็อกโก', + NL: 'เนเธอร์แลนด์', + PK: 'ปากีสถาน', + RO: 'โรมาเนีย', + RU: 'รัสเซีย', + SK: 'สโลวาเกีย', + TH: 'ไทย', + US: 'สหรัฐอเมริกา', + VE: 'เวเนซูเอลา', + }, + country: 'โปรดระบุหมายเลขโทรศัพท์ใน %s ให้ถูกต้อง', + default: 'โปรดระบุหมายเลขโทรศัพท์ให้ถูกต้อง', + }, + promise: { + default: 'กรุณาระบุค่าให้ถูก', + }, + regexp: { + default: 'โปรดระบุค่าให้ตรงกับรูปแบบที่กำหนด', + }, + remote: { + default: 'โปรดระบุค่าให้ถูกต้อง', + }, + rtn: { + default: 'โปรดระบุหมายเลข RTN ให้ถูกต้อง', + }, + sedol: { + default: 'โปรดระบุหมายเลข SEDOL ให้ถูกต้อง', + }, + siren: { + default: 'โปรดระบุหมายเลข SIREN ให้ถูกต้อง', + }, + siret: { + default: 'โปรดระบุหมายเลข SIRET ให้ถูกต้อง', + }, + step: { + default: 'โปรดระบุลำดับของ %s', + }, + stringCase: { + default: 'โปรดระบุตัวอักษรพิมพ์เล็กเท่านั้น', + upper: 'โปรดระบุตัวอักษรพิมพ์ใหญ่เท่านั้น', + }, + stringLength: { + between: 'โปรดระบุค่าตัวอักษรระหว่าง %s ถึง %s ตัวอักษร', + default: 'ค่าที่ระบุยังไม่ครบตามจำนวนที่กำหนด', + less: 'โปรดระบุค่าตัวอักษรน้อยกว่า %s ตัว', + more: 'โปรดระบุค่าตัวอักษรมากกว่า %s ตัว', + }, + uri: { + default: 'โปรดระบุค่า URI ให้ถูกต้อง', + }, + uuid: { + default: 'โปรดระบุหมายเลข UUID ให้ถูกต้อง', + version: 'โปรดระบุหมายเลข UUID ในเวอร์ชั่น %s', + }, + vat: { + countries: { + AT: 'ออสเตรีย', + BE: 'เบลเยี่ยม', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CH: 'วิตเซอร์แลนด์', + CY: 'ไซปรัส', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมัน', + DK: 'เดนมาร์ก', + EE: 'เอสโตเนีย', + EL: 'กรีซ', + ES: 'สเปน', + FI: 'ฟินแลนด์', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + GR: 'กรีซ', + HR: 'โครเอเชีย', + HU: 'ฮังการี', + IE: 'ไอร์แลนด์', + IS: 'ไอซ์', + IT: 'อิตาลี', + LT: 'ลิทัวเนีย', + LU: 'ลักเซมเบิร์ก', + LV: 'ลัตเวีย', + MT: 'มอลตา', + NL: 'เนเธอร์แลนด์', + NO: 'นอร์เวย์', + PL: 'โปแลนด์', + PT: 'โปรตุเกส', + RO: 'โรมาเนีย', + RS: 'เซอร์เบีย', + RU: 'รัสเซีย', + SE: 'สวีเดน', + SI: 'สโลวีเนีย', + SK: 'สโลวาเกีย', + VE: 'เวเนซูเอลา', + ZA: 'แอฟริกาใต้', + }, + country: 'โปรดระบุจำนวนภาษีมูลค่าเพิ่มใน %s', + default: 'โปรดระบุจำนวนภาษีมูลค่าเพิ่ม', + }, + vin: { + default: 'โปรดระบุหมายเลข VIN ให้ถูกต้อง', + }, + zipCode: { + countries: { + AT: 'ออสเตรีย', + BG: 'บัลแกเรีย', + BR: 'บราซิล', + CA: 'แคนาดา', + CH: 'วิตเซอร์แลนด์', + CZ: 'สาธารณรัฐเชค', + DE: 'เยอรมนี', + DK: 'เดนมาร์ก', + ES: 'สเปน', + FR: 'ฝรั่งเศส', + GB: 'สหราชอาณาจักร', + IE: 'ไอร์แลนด์', + IN: 'อินเดีย', + IT: 'อิตาลี', + MA: 'โมร็อกโก', + NL: 'เนเธอร์แลนด์', + PL: 'โปแลนด์', + PT: 'โปรตุเกส', + RO: 'โรมาเนีย', + RU: 'รัสเซีย', + SE: 'สวีเดน', + SG: 'สิงคโปร์', + SK: 'สโลวาเกีย', + US: 'สหรัฐอเมริกา', + }, + country: 'โปรดระบุรหัสไปรษณีย์ให้ถูกต้องใน %s', + default: 'โปรดระบุรหัสไปรษณีย์ให้ถูกต้อง', + }, + }; + + return th_TH; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/th_TH.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/th_TH.min.js new file mode 100755 index 00000000..b3b1c71d --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/th_TH.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.th_TH=factory())})(this,(function(){"use strict";var th_TH={base64:{default:"กรุณาระบุ base 64 encoded ให้ถูกต้อง"},between:{default:"กรุณาระบุค่าระหว่าง %s และ %s",notInclusive:"กรุณาระบุค่าระหว่าง %s และ %s เท่านั้น"},bic:{default:"กรุณาระบุหมายเลข BIC ให้ถูกต้อง"},callback:{default:"กรุณาระบุค่าให้ถูก"},choice:{between:"กรุณาเลือก %s - %s ที่มีอยู่",default:"กรุณาระบุค่าให้ถูกต้อง",less:"โปรดเลือกตัวเลือก %s ที่ต่ำสุด",more:"โปรดเลือกตัวเลือก %s ที่สูงสุด"},color:{default:"กรุณาระบุค่าสี color ให้ถูกต้อง"},creditCard:{default:"กรุณาระบุเลขที่บัตรเครดิตให้ถูกต้อง"},cusip:{default:"กรุณาระบุหมายเลข CUSIP ให้ถูกต้อง"},date:{default:"กรุณาระบุวันที่ให้ถูกต้อง",max:"ไม่สามารถระบุวันที่ได้หลังจาก %s",min:"ไม่สามารถระบุวันที่ได้ก่อน %s",range:"โปรดระบุวันที่ระหว่าง %s - %s"},different:{default:"กรุณาระบุค่าอื่นที่แตกต่าง"},digits:{default:"กรุณาระบุตัวเลขเท่านั้น"},ean:{default:"กรุณาระบุหมายเลข EAN ให้ถูกต้อง"},ein:{default:"กรุณาระบุหมายเลข EIN ให้ถูกต้อง"},emailAddress:{default:"กรุณาระบุอีเมล์ให้ถูกต้อง"},file:{default:"กรุณาเลือกไฟล์"},greaterThan:{default:"กรุณาระบุค่ามากกว่าหรือเท่ากับ %s",notInclusive:"กรุณาระบุค่ามากกว่า %s"},grid:{default:"กรุณาระบุหมายลข GRId ให้ถูกต้อง"},hex:{default:"กรุณาระบุเลขฐานสิบหกให้ถูกต้อง"},iban:{countries:{AD:"อันดอร์รา",AE:"สหรัฐอาหรับเอมิเรตส์",AL:"แอลเบเนีย",AO:"แองโกลา",AT:"ออสเตรีย",AZ:"อาเซอร์ไบจาน",BA:"บอสเนียและเฮอร์เซโก",BE:"ประเทศเบลเยียม",BF:"บูร์กินาฟาโซ",BG:"บัลแกเรีย",BH:"บาห์เรน",BI:"บุรุนดี",BJ:"เบนิน",BR:"บราซิล",CH:"สวิตเซอร์แลนด์",CI:"ไอวอรี่โคสต์",CM:"แคเมอรูน",CR:"คอสตาริกา",CV:"เคปเวิร์ด",CY:"ไซปรัส",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",DO:"สาธารณรัฐโดมินิกัน",DZ:"แอลจีเรีย",EE:"เอสโตเนีย",ES:"สเปน",FI:"ฟินแลนด์",FO:"หมู่เกาะแฟโร",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",GE:"จอร์เจีย",GI:"ยิบรอลตา",GL:"กรีนแลนด์",GR:"กรีซ",GT:"กัวเตมาลา",HR:"โครเอเชีย",HU:"ฮังการี",IE:"ไอร์แลนด์",IL:"อิสราเอล",IR:"อิหร่าน",IS:"ไอซ์",IT:"อิตาลี",JO:"จอร์แดน",KW:"คูเวต",KZ:"คาซัคสถาน",LB:"เลบานอน",LI:"Liechtenstein",LT:"ลิทัวเนีย",LU:"ลักเซมเบิร์ก",LV:"ลัตเวีย",MC:"โมนาโก",MD:"มอลโดวา",ME:"มอนเตเนโก",MG:"มาดากัสการ์",MK:"มาซิโดเนีย",ML:"มาลี",MR:"มอริเตเนีย",MT:"มอลตา",MU:"มอริเชียส",MZ:"โมซัมบิก",NL:"เนเธอร์แลนด์",NO:"นอร์เวย์",PK:"ปากีสถาน",PL:"โปแลนด์",PS:"ปาเลสไตน์",PT:"โปรตุเกส",QA:"กาตาร์",RO:"โรมาเนีย",RS:"เซอร์เบีย",SA:"ซาอุดิอารเบีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",SM:"ซานมาริโน",SN:"เซเนกัล",TL:"ติมอร์ตะวันออก",TN:"ตูนิเซีย",TR:"ตุรกี",VG:"หมู่เกาะบริติชเวอร์จิน",XK:"สาธารณรัฐโคโซโว"},country:"กรุณาระบุหมายเลข IBAN ใน %s",default:"กรุณาระบุหมายเลข IBAN ให้ถูกต้อง"},id:{countries:{BA:"บอสเนียและเฮอร์เซโก",BG:"บัลแกเรีย",BR:"บราซิล",CH:"วิตเซอร์แลนด์",CL:"ชิลี",CN:"จีน",CZ:"สาธารณรัฐเชค",DK:"เดนมาร์ก",EE:"เอสโตเนีย",ES:"สเปน",FI:"ฟินแลนด์",HR:"โครเอเชีย",IE:"ไอร์แลนด์",IS:"ไอซ์",LT:"ลิทัวเนีย",LV:"ลัตเวีย",ME:"มอนเตเนโก",MK:"มาซิโดเนีย",NL:"เนเธอร์แลนด์",PL:"โปแลนด์",RO:"โรมาเนีย",RS:"เซอร์เบีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",SM:"ซานมาริโน",TH:"ไทย",TR:"ตุรกี",ZA:"แอฟริกาใต้"},country:"โปรดระบุเลขบัตรประจำตัวประชาชนใน %s ให้ถูกต้อง",default:"โปรดระบุเลขบัตรประจำตัวประชาชนให้ถูกต้อง"},identical:{default:"โปรดระบุค่าให้ตรง"},imei:{default:"โปรดระบุหมายเลข IMEI ให้ถูกต้อง"},imo:{default:"โปรดระบุหมายเลข IMO ให้ถูกต้อง"},integer:{default:"โปรดระบุตัวเลขให้ถูกต้อง"},ip:{default:"โปรดระบุ IP address ให้ถูกต้อง",ipv4:"โปรดระบุ IPv4 address ให้ถูกต้อง",ipv6:"โปรดระบุ IPv6 address ให้ถูกต้อง"},isbn:{default:"โปรดระบุหมายเลข ISBN ให้ถูกต้อง"},isin:{default:"โปรดระบุหมายเลข ISIN ให้ถูกต้อง"},ismn:{default:"โปรดระบุหมายเลข ISMN ให้ถูกต้อง"},issn:{default:"โปรดระบุหมายเลข ISSN ให้ถูกต้อง"},lessThan:{default:"โปรดระบุค่าน้อยกว่าหรือเท่ากับ %s",notInclusive:"โปรดระบุค่าน้อยกว่า %s"},mac:{default:"โปรดระบุหมายเลข MAC address ให้ถูกต้อง"},meid:{default:"โปรดระบุหมายเลข MEID ให้ถูกต้อง"},notEmpty:{default:"โปรดระบุค่า"},numeric:{default:"โปรดระบุเลขหน่วยหรือจำนวนทศนิยม ให้ถูกต้อง"},phone:{countries:{AE:"สหรัฐอาหรับเอมิเรตส์",BG:"บัลแกเรีย",BR:"บราซิล",CN:"จีน",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",ES:"สเปน",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",IN:"อินเดีย",MA:"โมร็อกโก",NL:"เนเธอร์แลนด์",PK:"ปากีสถาน",RO:"โรมาเนีย",RU:"รัสเซีย",SK:"สโลวาเกีย",TH:"ไทย",US:"สหรัฐอเมริกา",VE:"เวเนซูเอลา"},country:"โปรดระบุหมายเลขโทรศัพท์ใน %s ให้ถูกต้อง",default:"โปรดระบุหมายเลขโทรศัพท์ให้ถูกต้อง"},promise:{default:"กรุณาระบุค่าให้ถูก"},regexp:{default:"โปรดระบุค่าให้ตรงกับรูปแบบที่กำหนด"},remote:{default:"โปรดระบุค่าให้ถูกต้อง"},rtn:{default:"โปรดระบุหมายเลข RTN ให้ถูกต้อง"},sedol:{default:"โปรดระบุหมายเลข SEDOL ให้ถูกต้อง"},siren:{default:"โปรดระบุหมายเลข SIREN ให้ถูกต้อง"},siret:{default:"โปรดระบุหมายเลข SIRET ให้ถูกต้อง"},step:{default:"โปรดระบุลำดับของ %s"},stringCase:{default:"โปรดระบุตัวอักษรพิมพ์เล็กเท่านั้น",upper:"โปรดระบุตัวอักษรพิมพ์ใหญ่เท่านั้น"},stringLength:{between:"โปรดระบุค่าตัวอักษรระหว่าง %s ถึง %s ตัวอักษร",default:"ค่าที่ระบุยังไม่ครบตามจำนวนที่กำหนด",less:"โปรดระบุค่าตัวอักษรน้อยกว่า %s ตัว",more:"โปรดระบุค่าตัวอักษรมากกว่า %s ตัว"},uri:{default:"โปรดระบุค่า URI ให้ถูกต้อง"},uuid:{default:"โปรดระบุหมายเลข UUID ให้ถูกต้อง",version:"โปรดระบุหมายเลข UUID ในเวอร์ชั่น %s"},vat:{countries:{AT:"ออสเตรีย",BE:"เบลเยี่ยม",BG:"บัลแกเรีย",BR:"บราซิล",CH:"วิตเซอร์แลนด์",CY:"ไซปรัส",CZ:"สาธารณรัฐเชค",DE:"เยอรมัน",DK:"เดนมาร์ก",EE:"เอสโตเนีย",EL:"กรีซ",ES:"สเปน",FI:"ฟินแลนด์",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",GR:"กรีซ",HR:"โครเอเชีย",HU:"ฮังการี",IE:"ไอร์แลนด์",IS:"ไอซ์",IT:"อิตาลี",LT:"ลิทัวเนีย",LU:"ลักเซมเบิร์ก",LV:"ลัตเวีย",MT:"มอลตา",NL:"เนเธอร์แลนด์",NO:"นอร์เวย์",PL:"โปแลนด์",PT:"โปรตุเกส",RO:"โรมาเนีย",RS:"เซอร์เบีย",RU:"รัสเซีย",SE:"สวีเดน",SI:"สโลวีเนีย",SK:"สโลวาเกีย",VE:"เวเนซูเอลา",ZA:"แอฟริกาใต้"},country:"โปรดระบุจำนวนภาษีมูลค่าเพิ่มใน %s",default:"โปรดระบุจำนวนภาษีมูลค่าเพิ่ม"},vin:{default:"โปรดระบุหมายเลข VIN ให้ถูกต้อง"},zipCode:{countries:{AT:"ออสเตรีย",BG:"บัลแกเรีย",BR:"บราซิล",CA:"แคนาดา",CH:"วิตเซอร์แลนด์",CZ:"สาธารณรัฐเชค",DE:"เยอรมนี",DK:"เดนมาร์ก",ES:"สเปน",FR:"ฝรั่งเศส",GB:"สหราชอาณาจักร",IE:"ไอร์แลนด์",IN:"อินเดีย",IT:"อิตาลี",MA:"โมร็อกโก",NL:"เนเธอร์แลนด์",PL:"โปแลนด์",PT:"โปรตุเกส",RO:"โรมาเนีย",RU:"รัสเซีย",SE:"สวีเดน",SG:"สิงคโปร์",SK:"สโลวาเกีย",US:"สหรัฐอเมริกา"},country:"โปรดระบุรหัสไปรษณีย์ให้ถูกต้องใน %s",default:"โปรดระบุรหัสไปรษณีย์ให้ถูกต้อง"}};return th_TH})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/tr_TR.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/tr_TR.js new file mode 100755 index 00000000..7e942193 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/tr_TR.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.tr_TR = factory())); +})(this, (function () { 'use strict'; + + /** + * Turkish language package + * Translated By @CeRBeR666 + */ + + var tr_TR = { + base64: { + default: 'Lütfen 64 bit tabanına uygun bir giriş yapınız', + }, + between: { + default: 'Lütfen %s ile %s arasında bir değer giriniz', + notInclusive: 'Lütfen sadece %s ile %s arasında bir değer giriniz', + }, + bic: { + default: 'Lütfen geçerli bir BIC numarası giriniz', + }, + callback: { + default: 'Lütfen geçerli bir değer giriniz', + }, + choice: { + between: 'Lütfen %s - %s arası seçiniz', + default: 'Lütfen geçerli bir değer giriniz', + less: 'Lütfen minimum %s kadar değer giriniz', + more: 'Lütfen maksimum %s kadar değer giriniz', + }, + color: { + default: 'Lütfen geçerli bir codu giriniz', + }, + creditCard: { + default: 'Lütfen geçerli bir kredi kartı numarası giriniz', + }, + cusip: { + default: 'Lütfen geçerli bir CUSIP numarası giriniz', + }, + date: { + default: 'Lütfen geçerli bir tarih giriniz', + max: 'Lütfen %s tarihinden önce bir tarih giriniz', + min: 'Lütfen %s tarihinden sonra bir tarih giriniz', + range: 'Lütfen %s - %s aralığında bir tarih giriniz', + }, + different: { + default: 'Lütfen farklı bir değer giriniz', + }, + digits: { + default: 'Lütfen sadece sayı giriniz', + }, + ean: { + default: 'Lütfen geçerli bir EAN numarası giriniz', + }, + ein: { + default: 'Lütfen geçerli bir EIN numarası giriniz', + }, + emailAddress: { + default: 'Lütfen geçerli bir E-Mail adresi giriniz', + }, + file: { + default: 'Lütfen geçerli bir dosya seçiniz', + }, + greaterThan: { + default: 'Lütfen %s ye eşit veya daha büyük bir değer giriniz', + notInclusive: 'Lütfen %s den büyük bir değer giriniz', + }, + grid: { + default: 'Lütfen geçerli bir GRId numarası giriniz', + }, + hex: { + default: 'Lütfen geçerli bir Hexadecimal sayı giriniz', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Birleşik Arap Emirlikleri', + AL: 'Arnavutluk', + AO: 'Angola', + AT: 'Avusturya', + AZ: 'Azerbaycan', + BA: 'Bosna Hersek', + BE: 'Belçika', + BF: 'Burkina Faso', + BG: 'Bulgaristan', + BH: 'Bahreyn', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brezilya', + CH: 'İsviçre', + CI: 'Fildişi Sahili', + CM: 'Kamerun', + CR: 'Kosta Rika', + CV: 'Cape Verde', + CY: 'Kıbrıs', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + DO: 'Dominik Cumhuriyeti', + DZ: 'Cezayir', + EE: 'Estonya', + ES: 'İspanya', + FI: 'Finlandiya', + FO: 'Faroe Adaları', + FR: 'Fransa', + GB: 'İngiltere', + GE: 'Georgia', + GI: 'Cebelitarık', + GL: 'Grönland', + GR: 'Yunansitan', + GT: 'Guatemala', + HR: 'Hırvatistan', + HU: 'Macaristan', + IE: 'İrlanda', + IL: 'İsrail', + IR: 'İran', + IS: 'İzlanda', + IT: 'İtalya', + JO: 'Ürdün', + KW: 'Kuveit', + KZ: 'Kazakistan', + LB: 'Lübnan', + LI: 'Lihtenştayn', + LT: 'Litvanya', + LU: 'Lüksemburg', + LV: 'Letonya', + MC: 'Monako', + MD: 'Moldova', + ME: 'Karadağ', + MG: 'Madagaskar', + MK: 'Makedonya', + ML: 'Mali', + MR: 'Moritanya', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambik', + NL: 'Hollanda', + NO: 'Norveç', + PK: 'Pakistan', + PL: 'Polanya', + PS: 'Filistin', + PT: 'Portekiz', + QA: 'Katar', + RO: 'Romanya', + RS: 'Serbistan', + SA: 'Suudi Arabistan', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Doğu Timor', + TN: 'Tunus', + TR: 'Turkiye', + VG: 'Virgin Adaları, İngiliz', + XK: 'Kosova Cumhuriyeti', + }, + country: 'Lütfen geçerli bir IBAN numarası giriniz içinde %s', + default: 'Lütfen geçerli bir IBAN numarası giriniz', + }, + id: { + countries: { + BA: 'Bosna Hersek', + BG: 'Bulgaristan', + BR: 'Brezilya', + CH: 'İsviçre', + CL: 'Şili', + CN: 'Çin', + CZ: 'Çek Cumhuriyeti', + DK: 'Danimarka', + EE: 'Estonya', + ES: 'İspanya', + FI: 'Finlandiya', + HR: 'Hırvatistan', + IE: 'İrlanda', + IS: 'İzlanda', + LT: 'Litvanya', + LV: 'Letonya', + ME: 'Karadağ', + MK: 'Makedonya', + NL: 'Hollanda', + PL: 'Polanya', + RO: 'Romanya', + RS: 'Sırbistan', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + SM: 'San Marino', + TH: 'Tayland', + TR: 'Turkiye', + ZA: 'Güney Afrika', + }, + country: 'Lütfen geçerli bir kimlik numarası giriniz içinde %s', + default: 'Lütfen geçerli bir tanımlama numarası giriniz', + }, + identical: { + default: 'Lütfen aynı değeri giriniz', + }, + imei: { + default: 'Lütfen geçerli bir IMEI numarası giriniz', + }, + imo: { + default: 'Lütfen geçerli bir IMO numarası giriniz', + }, + integer: { + default: 'Lütfen geçerli bir numara giriniz', + }, + ip: { + default: 'Lütfen geçerli bir IP adresi giriniz', + ipv4: 'Lütfen geçerli bir IPv4 adresi giriniz', + ipv6: 'Lütfen geçerli bri IPv6 adresi giriniz', + }, + isbn: { + default: 'Lütfen geçerli bir ISBN numarası giriniz', + }, + isin: { + default: 'Lütfen geçerli bir ISIN numarası giriniz', + }, + ismn: { + default: 'Lütfen geçerli bir ISMN numarası giriniz', + }, + issn: { + default: 'Lütfen geçerli bir ISSN numarası giriniz', + }, + lessThan: { + default: 'Lütfen %s den düşük veya eşit bir değer giriniz', + notInclusive: 'Lütfen %s den büyük bir değer giriniz', + }, + mac: { + default: 'Lütfen geçerli bir MAC Adresi giriniz', + }, + meid: { + default: 'Lütfen geçerli bir MEID numarası giriniz', + }, + notEmpty: { + default: 'Bir değer giriniz', + }, + numeric: { + default: 'Lütfen geçerli bir float değer giriniz', + }, + phone: { + countries: { + AE: 'Birleşik Arap Emirlikleri', + BG: 'Bulgaristan', + BR: 'Brezilya', + CN: 'Çin', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + ES: 'İspanya', + FR: 'Fransa', + GB: 'İngiltere', + IN: 'Hindistan', + MA: 'Fas', + NL: 'Hollanda', + PK: 'Pakistan', + RO: 'Romanya', + RU: 'Rusya', + SK: 'Slovakya', + TH: 'Tayland', + US: 'Amerika', + VE: 'Venezüella', + }, + country: 'Lütfen geçerli bir telefon numarası giriniz içinde %s', + default: 'Lütfen geçerli bir telefon numarası giriniz', + }, + promise: { + default: 'Lütfen geçerli bir değer giriniz', + }, + regexp: { + default: 'Lütfen uyumlu bir değer giriniz', + }, + remote: { + default: 'Lütfen geçerli bir numara giriniz', + }, + rtn: { + default: 'Lütfen geçerli bir RTN numarası giriniz', + }, + sedol: { + default: 'Lütfen geçerli bir SEDOL numarası giriniz', + }, + siren: { + default: 'Lütfen geçerli bir SIREN numarası giriniz', + }, + siret: { + default: 'Lütfen geçerli bir SIRET numarası giriniz', + }, + step: { + default: 'Lütfen geçerli bir %s adımı giriniz', + }, + stringCase: { + default: 'Lütfen sadece küçük harf giriniz', + upper: 'Lütfen sadece büyük harf giriniz', + }, + stringLength: { + between: 'Lütfen %s ile %s arası uzunlukta bir değer giriniz', + default: 'Lütfen geçerli uzunluktaki bir değer giriniz', + less: 'Lütfen %s karakterden az değer giriniz', + more: 'Lütfen %s karakterden fazla değer giriniz', + }, + uri: { + default: 'Lütfen geçerli bir URL giriniz', + }, + uuid: { + default: 'Lütfen geçerli bir UUID numarası giriniz', + version: 'Lütfen geçerli bir UUID versiyon %s numarası giriniz', + }, + vat: { + countries: { + AT: 'Avustralya', + BE: 'Belçika', + BG: 'Bulgaristan', + BR: 'Brezilya', + CH: 'İsviçre', + CY: 'Kıbrıs', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + EE: 'Estonya', + EL: 'Yunanistan', + ES: 'İspanya', + FI: 'Finlandiya', + FR: 'Fransa', + GB: 'İngiltere', + GR: 'Yunanistan', + HR: 'Hırvatistan', + HU: 'Macaristan', + IE: 'Irlanda', + IS: 'İzlanda', + IT: 'Italya', + LT: 'Litvanya', + LU: 'Lüksemburg', + LV: 'Letonya', + MT: 'Malta', + NL: 'Hollanda', + NO: 'Norveç', + PL: 'Polonya', + PT: 'Portekiz', + RO: 'Romanya', + RS: 'Sırbistan', + RU: 'Rusya', + SE: 'İsveç', + SI: 'Slovenya', + SK: 'Slovakya', + VE: 'Venezüella', + ZA: 'Güney Afrika', + }, + country: 'Lütfen geçerli bir vergi numarası giriniz içinde %s', + default: 'Lütfen geçerli bir VAT kodu giriniz', + }, + vin: { + default: 'Lütfen geçerli bir VIN numarası giriniz', + }, + zipCode: { + countries: { + AT: 'Avustralya', + BG: 'Bulgaristan', + BR: 'Brezilya', + CA: 'Kanada', + CH: 'İsviçre', + CZ: 'Çek Cumhuriyeti', + DE: 'Almanya', + DK: 'Danimarka', + ES: 'İspanya', + FR: 'Fransa', + GB: 'İngiltere', + IE: 'Irlanda', + IN: 'Hindistan', + IT: 'İtalya', + MA: 'Fas', + NL: 'Hollanda', + PL: 'Polanya', + PT: 'Portekiz', + RO: 'Romanya', + RU: 'Rusya', + SE: 'İsveç', + SG: 'Singapur', + SK: 'Slovakya', + US: 'Amerika Birleşik Devletleri', + }, + country: 'Lütfen geçerli bir posta kodu giriniz içinde %s', + default: 'Lütfen geçerli bir posta kodu giriniz', + }, + }; + + return tr_TR; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/tr_TR.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/tr_TR.min.js new file mode 100755 index 00000000..40f9286d --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/tr_TR.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.tr_TR=factory())})(this,(function(){"use strict";var tr_TR={base64:{default:"Lütfen 64 bit tabanına uygun bir giriş yapınız"},between:{default:"Lütfen %s ile %s arasında bir değer giriniz",notInclusive:"Lütfen sadece %s ile %s arasında bir değer giriniz"},bic:{default:"Lütfen geçerli bir BIC numarası giriniz"},callback:{default:"Lütfen geçerli bir değer giriniz"},choice:{between:"Lütfen %s - %s arası seçiniz",default:"Lütfen geçerli bir değer giriniz",less:"Lütfen minimum %s kadar değer giriniz",more:"Lütfen maksimum %s kadar değer giriniz"},color:{default:"Lütfen geçerli bir codu giriniz"},creditCard:{default:"Lütfen geçerli bir kredi kartı numarası giriniz"},cusip:{default:"Lütfen geçerli bir CUSIP numarası giriniz"},date:{default:"Lütfen geçerli bir tarih giriniz",max:"Lütfen %s tarihinden önce bir tarih giriniz",min:"Lütfen %s tarihinden sonra bir tarih giriniz",range:"Lütfen %s - %s aralığında bir tarih giriniz"},different:{default:"Lütfen farklı bir değer giriniz"},digits:{default:"Lütfen sadece sayı giriniz"},ean:{default:"Lütfen geçerli bir EAN numarası giriniz"},ein:{default:"Lütfen geçerli bir EIN numarası giriniz"},emailAddress:{default:"Lütfen geçerli bir E-Mail adresi giriniz"},file:{default:"Lütfen geçerli bir dosya seçiniz"},greaterThan:{default:"Lütfen %s ye eşit veya daha büyük bir değer giriniz",notInclusive:"Lütfen %s den büyük bir değer giriniz"},grid:{default:"Lütfen geçerli bir GRId numarası giriniz"},hex:{default:"Lütfen geçerli bir Hexadecimal sayı giriniz"},iban:{countries:{AD:"Andorra",AE:"Birleşik Arap Emirlikleri",AL:"Arnavutluk",AO:"Angola",AT:"Avusturya",AZ:"Azerbaycan",BA:"Bosna Hersek",BE:"Belçika",BF:"Burkina Faso",BG:"Bulgaristan",BH:"Bahreyn",BI:"Burundi",BJ:"Benin",BR:"Brezilya",CH:"İsviçre",CI:"Fildişi Sahili",CM:"Kamerun",CR:"Kosta Rika",CV:"Cape Verde",CY:"Kıbrıs",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",DO:"Dominik Cumhuriyeti",DZ:"Cezayir",EE:"Estonya",ES:"İspanya",FI:"Finlandiya",FO:"Faroe Adaları",FR:"Fransa",GB:"İngiltere",GE:"Georgia",GI:"Cebelitarık",GL:"Grönland",GR:"Yunansitan",GT:"Guatemala",HR:"Hırvatistan",HU:"Macaristan",IE:"İrlanda",IL:"İsrail",IR:"İran",IS:"İzlanda",IT:"İtalya",JO:"Ürdün",KW:"Kuveit",KZ:"Kazakistan",LB:"Lübnan",LI:"Lihtenştayn",LT:"Litvanya",LU:"Lüksemburg",LV:"Letonya",MC:"Monako",MD:"Moldova",ME:"Karadağ",MG:"Madagaskar",MK:"Makedonya",ML:"Mali",MR:"Moritanya",MT:"Malta",MU:"Mauritius",MZ:"Mozambik",NL:"Hollanda",NO:"Norveç",PK:"Pakistan",PL:"Polanya",PS:"Filistin",PT:"Portekiz",QA:"Katar",RO:"Romanya",RS:"Serbistan",SA:"Suudi Arabistan",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",SM:"San Marino",SN:"Senegal",TL:"Doğu Timor",TN:"Tunus",TR:"Turkiye",VG:"Virgin Adaları, İngiliz",XK:"Kosova Cumhuriyeti"},country:"Lütfen geçerli bir IBAN numarası giriniz içinde %s",default:"Lütfen geçerli bir IBAN numarası giriniz"},id:{countries:{BA:"Bosna Hersek",BG:"Bulgaristan",BR:"Brezilya",CH:"İsviçre",CL:"Şili",CN:"Çin",CZ:"Çek Cumhuriyeti",DK:"Danimarka",EE:"Estonya",ES:"İspanya",FI:"Finlandiya",HR:"Hırvatistan",IE:"İrlanda",IS:"İzlanda",LT:"Litvanya",LV:"Letonya",ME:"Karadağ",MK:"Makedonya",NL:"Hollanda",PL:"Polanya",RO:"Romanya",RS:"Sırbistan",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",SM:"San Marino",TH:"Tayland",TR:"Turkiye",ZA:"Güney Afrika"},country:"Lütfen geçerli bir kimlik numarası giriniz içinde %s",default:"Lütfen geçerli bir tanımlama numarası giriniz"},identical:{default:"Lütfen aynı değeri giriniz"},imei:{default:"Lütfen geçerli bir IMEI numarası giriniz"},imo:{default:"Lütfen geçerli bir IMO numarası giriniz"},integer:{default:"Lütfen geçerli bir numara giriniz"},ip:{default:"Lütfen geçerli bir IP adresi giriniz",ipv4:"Lütfen geçerli bir IPv4 adresi giriniz",ipv6:"Lütfen geçerli bri IPv6 adresi giriniz"},isbn:{default:"Lütfen geçerli bir ISBN numarası giriniz"},isin:{default:"Lütfen geçerli bir ISIN numarası giriniz"},ismn:{default:"Lütfen geçerli bir ISMN numarası giriniz"},issn:{default:"Lütfen geçerli bir ISSN numarası giriniz"},lessThan:{default:"Lütfen %s den düşük veya eşit bir değer giriniz",notInclusive:"Lütfen %s den büyük bir değer giriniz"},mac:{default:"Lütfen geçerli bir MAC Adresi giriniz"},meid:{default:"Lütfen geçerli bir MEID numarası giriniz"},notEmpty:{default:"Bir değer giriniz"},numeric:{default:"Lütfen geçerli bir float değer giriniz"},phone:{countries:{AE:"Birleşik Arap Emirlikleri",BG:"Bulgaristan",BR:"Brezilya",CN:"Çin",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",ES:"İspanya",FR:"Fransa",GB:"İngiltere",IN:"Hindistan",MA:"Fas",NL:"Hollanda",PK:"Pakistan",RO:"Romanya",RU:"Rusya",SK:"Slovakya",TH:"Tayland",US:"Amerika",VE:"Venezüella"},country:"Lütfen geçerli bir telefon numarası giriniz içinde %s",default:"Lütfen geçerli bir telefon numarası giriniz"},promise:{default:"Lütfen geçerli bir değer giriniz"},regexp:{default:"Lütfen uyumlu bir değer giriniz"},remote:{default:"Lütfen geçerli bir numara giriniz"},rtn:{default:"Lütfen geçerli bir RTN numarası giriniz"},sedol:{default:"Lütfen geçerli bir SEDOL numarası giriniz"},siren:{default:"Lütfen geçerli bir SIREN numarası giriniz"},siret:{default:"Lütfen geçerli bir SIRET numarası giriniz"},step:{default:"Lütfen geçerli bir %s adımı giriniz"},stringCase:{default:"Lütfen sadece küçük harf giriniz",upper:"Lütfen sadece büyük harf giriniz"},stringLength:{between:"Lütfen %s ile %s arası uzunlukta bir değer giriniz",default:"Lütfen geçerli uzunluktaki bir değer giriniz",less:"Lütfen %s karakterden az değer giriniz",more:"Lütfen %s karakterden fazla değer giriniz"},uri:{default:"Lütfen geçerli bir URL giriniz"},uuid:{default:"Lütfen geçerli bir UUID numarası giriniz",version:"Lütfen geçerli bir UUID versiyon %s numarası giriniz"},vat:{countries:{AT:"Avustralya",BE:"Belçika",BG:"Bulgaristan",BR:"Brezilya",CH:"İsviçre",CY:"Kıbrıs",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",EE:"Estonya",EL:"Yunanistan",ES:"İspanya",FI:"Finlandiya",FR:"Fransa",GB:"İngiltere",GR:"Yunanistan",HR:"Hırvatistan",HU:"Macaristan",IE:"Irlanda",IS:"İzlanda",IT:"Italya",LT:"Litvanya",LU:"Lüksemburg",LV:"Letonya",MT:"Malta",NL:"Hollanda",NO:"Norveç",PL:"Polonya",PT:"Portekiz",RO:"Romanya",RS:"Sırbistan",RU:"Rusya",SE:"İsveç",SI:"Slovenya",SK:"Slovakya",VE:"Venezüella",ZA:"Güney Afrika"},country:"Lütfen geçerli bir vergi numarası giriniz içinde %s",default:"Lütfen geçerli bir VAT kodu giriniz"},vin:{default:"Lütfen geçerli bir VIN numarası giriniz"},zipCode:{countries:{AT:"Avustralya",BG:"Bulgaristan",BR:"Brezilya",CA:"Kanada",CH:"İsviçre",CZ:"Çek Cumhuriyeti",DE:"Almanya",DK:"Danimarka",ES:"İspanya",FR:"Fransa",GB:"İngiltere",IE:"Irlanda",IN:"Hindistan",IT:"İtalya",MA:"Fas",NL:"Hollanda",PL:"Polanya",PT:"Portekiz",RO:"Romanya",RU:"Rusya",SE:"İsveç",SG:"Singapur",SK:"Slovakya",US:"Amerika Birleşik Devletleri"},country:"Lütfen geçerli bir posta kodu giriniz içinde %s",default:"Lütfen geçerli bir posta kodu giriniz"}};return tr_TR})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ua_UA.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ua_UA.js new file mode 100755 index 00000000..31b8ec5c --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ua_UA.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.ua_UA = factory())); +})(this, (function () { 'use strict'; + + /** + * Ukrainian language package + * Translated by @oleg-voloshyn + */ + + var ua_UA = { + base64: { + default: 'Будь ласка, введіть коректний рядок base64', + }, + between: { + default: 'Будь ласка, введіть значення від %s до %s', + notInclusive: 'Будь ласка, введіть значення між %s і %s', + }, + bic: { + default: 'Будь ласка, введіть правильний номер BIC', + }, + callback: { + default: 'Будь ласка, введіть коректне значення', + }, + choice: { + between: 'Будь ласка, виберіть %s - %s опцій', + default: 'Будь ласка, введіть коректне значення', + less: 'Будь ласка, виберіть хоча б %s опцій', + more: 'Будь ласка, виберіть не більше %s опцій', + }, + color: { + default: 'Будь ласка, введіть правильний номер кольору', + }, + creditCard: { + default: 'Будь ласка, введіть правильний номер кредитної картки', + }, + cusip: { + default: 'Будь ласка, введіть правильний номер CUSIP', + }, + date: { + default: 'Будь ласка, введіть правильну дату', + max: 'Будь ласка, введіть дату перед %s', + min: 'Будь ласка, введіть дату після %s', + range: 'Будь ласка, введіть дату у діапазоні %s - %s', + }, + different: { + default: 'Будь ласка, введіть інше значення', + }, + digits: { + default: 'Будь ласка, введіть тільки цифри', + }, + ean: { + default: 'Будь ласка, введіть правильний номер EAN', + }, + ein: { + default: 'Будь ласка, введіть правильний номер EIN', + }, + emailAddress: { + default: 'Будь ласка, введіть правильну адресу e-mail', + }, + file: { + default: 'Будь ласка, виберіть файл', + }, + greaterThan: { + default: 'Будь ласка, введіть значення більше або рівне %s', + notInclusive: 'Будь ласка, введіть значення більше %s', + }, + grid: { + default: 'Будь ласка, введіть правильний номер GRId', + }, + hex: { + default: 'Будь ласка, введіть правильний шістнадцятковий(16) номер', + }, + iban: { + countries: { + AD: 'Андоррі', + AE: "Об'єднаних Арабських Еміратах", + AL: 'Албанії', + AO: 'Анголі', + AT: 'Австрії', + AZ: 'Азербайджані', + BA: 'Боснії і Герцеговині', + BE: 'Бельгії', + BF: 'Буркіна-Фасо', + BG: 'Болгарії', + BH: 'Бахрейні', + BI: 'Бурунді', + BJ: 'Беніні', + BR: 'Бразилії', + CH: 'Швейцарії', + CI: "Кот-д'Івуарі", + CM: 'Камеруні', + CR: 'Коста-Ріці', + CV: 'Кабо-Верде', + CY: 'Кіпрі', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + DO: 'Домінікані', + DZ: 'Алжирі', + EE: 'Естонії', + ES: 'Іспанії', + FI: 'Фінляндії', + FO: 'Фарерських островах', + FR: 'Франції', + GB: 'Великобританії', + GE: 'Грузії', + GI: 'Гібралтарі', + GL: 'Гренландії', + GR: 'Греції', + GT: 'Гватемалі', + HR: 'Хорватії', + HU: 'Венгрії', + IE: 'Ірландії', + IL: 'Ізраїлі', + IR: 'Ірані', + IS: 'Ісландії', + IT: 'Італії', + JO: 'Йорданії', + KW: 'Кувейті', + KZ: 'Казахстані', + LB: 'Лівані', + LI: 'Ліхтенштейні', + LT: 'Литві', + LU: 'Люксембурзі', + LV: 'Латвії', + MC: 'Монако', + MD: 'Молдові', + ME: 'Чорногорії', + MG: 'Мадагаскарі', + MK: 'Македонії', + ML: 'Малі', + MR: 'Мавританії', + MT: 'Мальті', + MU: 'Маврикії', + MZ: 'Мозамбіку', + NL: 'Нідерландах', + NO: 'Норвегії', + PK: 'Пакистані', + PL: 'Польщі', + PS: 'Палестині', + PT: 'Португалії', + QA: 'Катарі', + RO: 'Румунії', + RS: 'Сербії', + SA: 'Саудівської Аравії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + SM: 'Сан-Марино', + SN: 'Сенегалі', + TL: 'східний Тимор', + TN: 'Тунісі', + TR: 'Туреччині', + VG: 'Британських Віргінських островах', + XK: 'Республіка Косово', + }, + country: 'Будь ласка, введіть правильний номер IBAN в %s', + default: 'Будь ласка, введіть правильний номер IBAN', + }, + id: { + countries: { + BA: 'Боснії і Герцеговині', + BG: 'Болгарії', + BR: 'Бразилії', + CH: 'Швейцарії', + CL: 'Чилі', + CN: 'Китаї', + CZ: 'Чехії', + DK: 'Данії', + EE: 'Естонії', + ES: 'Іспанії', + FI: 'Фінляндії', + HR: 'Хорватії', + IE: 'Ірландії', + IS: 'Ісландії', + LT: 'Литві', + LV: 'Латвії', + ME: 'Чорногорії', + MK: 'Македонії', + NL: 'Нідерландах', + PL: 'Польщі', + RO: 'Румунії', + RS: 'Сербії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + SM: 'Сан-Марино', + TH: 'Таїланді', + TR: 'Туреччині', + ZA: 'ПАР', + }, + country: 'Будь ласка, введіть правильний ідентифікаційний номер в %s', + default: 'Будь ласка, введіть правильний ідентифікаційний номер', + }, + identical: { + default: 'Будь ласка, введіть таке ж значення', + }, + imei: { + default: 'Будь ласка, введіть правильний номер IMEI', + }, + imo: { + default: 'Будь ласка, введіть правильний номер IMO', + }, + integer: { + default: 'Будь ласка, введіть правильне ціле значення', + }, + ip: { + default: 'Будь ласка, введіть правильну IP-адресу', + ipv4: 'Будь ласка введіть правильну IPv4-адресу', + ipv6: 'Будь ласка введіть правильну IPv6-адресу', + }, + isbn: { + default: 'Будь ласка, введіть правильний номер ISBN', + }, + isin: { + default: 'Будь ласка, введіть правильний номер ISIN', + }, + ismn: { + default: 'Будь ласка, введіть правильний номер ISMN', + }, + issn: { + default: 'Будь ласка, введіть правильний номер ISSN', + }, + lessThan: { + default: 'Будь ласка, введіть значення менше або рівне %s', + notInclusive: 'Будь ласка, введіть значення менше ніж %s', + }, + mac: { + default: 'Будь ласка, введіть правильну MAC-адресу', + }, + meid: { + default: 'Будь ласка, введіть правильний номер MEID', + }, + notEmpty: { + default: 'Будь ласка, введіть значення', + }, + numeric: { + default: 'Будь ласка, введіть коректне дійсне число', + }, + phone: { + countries: { + AE: "Об'єднаних Арабських Еміратах", + BG: 'Болгарії', + BR: 'Бразилії', + CN: 'Китаї', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + ES: 'Іспанії', + FR: 'Франції', + GB: 'Великобританії', + IN: 'Індія', + MA: 'Марокко', + NL: 'Нідерландах', + PK: 'Пакистані', + RO: 'Румунії', + RU: 'Росії', + SK: 'Словаччині', + TH: 'Таїланді', + US: 'США', + VE: 'Венесуелі', + }, + country: 'Будь ласка, введіть правильний номер телефону в %s', + default: 'Будь ласка, введіть правильний номер телефону', + }, + promise: { + default: 'Будь ласка, введіть коректне значення', + }, + regexp: { + default: 'Будь ласка, введіть значення відповідне до шаблону', + }, + remote: { + default: 'Будь ласка, введіть правильне значення', + }, + rtn: { + default: 'Будь ласка, введіть правильний номер RTN', + }, + sedol: { + default: 'Будь ласка, введіть правильний номер SEDOL', + }, + siren: { + default: 'Будь ласка, введіть правильний номер SIREN', + }, + siret: { + default: 'Будь ласка, введіть правильний номер SIRET', + }, + step: { + default: 'Будь ласка, введіть правильний крок %s', + }, + stringCase: { + default: 'Будь ласка, вводите тільки малі літери', + upper: 'Будь ласка, вводите тільки заголовні букви', + }, + stringLength: { + between: 'Будь ласка, введіть рядок довжиною від %s до %s символів', + default: 'Будь ласка, введіть значення коректної довжини', + less: 'Будь ласка, введіть не більше %s символів', + more: 'Будь ласка, введіть, не менше %s символів', + }, + uri: { + default: 'Будь ласка, введіть правильний URI', + }, + uuid: { + default: 'Будь ласка, введіть правильний номер UUID', + version: 'Будь ласка, введіть правильний номер UUID версії %s', + }, + vat: { + countries: { + AT: 'Австрії', + BE: 'Бельгії', + BG: 'Болгарії', + BR: 'Бразилії', + CH: 'Швейцарії', + CY: 'Кіпрі', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + EE: 'Естонії', + EL: 'Греції', + ES: 'Іспанії', + FI: 'Фінляндії', + FR: 'Франції', + GB: 'Великобританії', + GR: 'Греції', + HR: 'Хорватії', + HU: 'Венгрії', + IE: 'Ірландії', + IS: 'Ісландії', + IT: 'Італії', + LT: 'Литві', + LU: 'Люксембургі', + LV: 'Латвії', + MT: 'Мальті', + NL: 'Нідерландах', + NO: 'Норвегії', + PL: 'Польщі', + PT: 'Португалії', + RO: 'Румунії', + RS: 'Сербії', + RU: 'Росії', + SE: 'Швеції', + SI: 'Словенії', + SK: 'Словаччині', + VE: 'Венесуелі', + ZA: 'ПАР', + }, + country: 'Будь ласка, введіть правильний номер VAT в %s', + default: 'Будь ласка, введіть правильний номер VAT', + }, + vin: { + default: 'Будь ласка, введіть правильний номер VIN', + }, + zipCode: { + countries: { + AT: 'Австрії', + BG: 'Болгарії', + BR: 'Бразилії', + CA: 'Канаді', + CH: 'Швейцарії', + CZ: 'Чехії', + DE: 'Германії', + DK: 'Данії', + ES: 'Іспанії', + FR: 'Франції', + GB: 'Великобританії', + IE: 'Ірландії', + IN: 'Індія', + IT: 'Італії', + MA: 'Марокко', + NL: 'Нідерландах', + PL: 'Польщі', + PT: 'Португалії', + RO: 'Румунії', + RU: 'Росії', + SE: 'Швеції', + SG: 'Сингапурі', + SK: 'Словаччині', + US: 'США', + }, + country: 'Будь ласка, введіть правильний поштовий індекс в %s', + default: 'Будь ласка, введіть правильний поштовий індекс', + }, + }; + + return ua_UA; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ua_UA.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ua_UA.min.js new file mode 100755 index 00000000..27ebea36 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/ua_UA.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.ua_UA=factory())})(this,(function(){"use strict";var ua_UA={base64:{default:"Будь ласка, введіть коректний рядок base64"},between:{default:"Будь ласка, введіть значення від %s до %s",notInclusive:"Будь ласка, введіть значення між %s і %s"},bic:{default:"Будь ласка, введіть правильний номер BIC"},callback:{default:"Будь ласка, введіть коректне значення"},choice:{between:"Будь ласка, виберіть %s - %s опцій",default:"Будь ласка, введіть коректне значення",less:"Будь ласка, виберіть хоча б %s опцій",more:"Будь ласка, виберіть не більше %s опцій"},color:{default:"Будь ласка, введіть правильний номер кольору"},creditCard:{default:"Будь ласка, введіть правильний номер кредитної картки"},cusip:{default:"Будь ласка, введіть правильний номер CUSIP"},date:{default:"Будь ласка, введіть правильну дату",max:"Будь ласка, введіть дату перед %s",min:"Будь ласка, введіть дату після %s",range:"Будь ласка, введіть дату у діапазоні %s - %s"},different:{default:"Будь ласка, введіть інше значення"},digits:{default:"Будь ласка, введіть тільки цифри"},ean:{default:"Будь ласка, введіть правильний номер EAN"},ein:{default:"Будь ласка, введіть правильний номер EIN"},emailAddress:{default:"Будь ласка, введіть правильну адресу e-mail"},file:{default:"Будь ласка, виберіть файл"},greaterThan:{default:"Будь ласка, введіть значення більше або рівне %s",notInclusive:"Будь ласка, введіть значення більше %s"},grid:{default:"Будь ласка, введіть правильний номер GRId"},hex:{default:"Будь ласка, введіть правильний шістнадцятковий(16) номер"},iban:{countries:{AD:"Андоррі",AE:"Об'єднаних Арабських Еміратах",AL:"Албанії",AO:"Анголі",AT:"Австрії",AZ:"Азербайджані",BA:"Боснії і Герцеговині",BE:"Бельгії",BF:"Буркіна-Фасо",BG:"Болгарії",BH:"Бахрейні",BI:"Бурунді",BJ:"Беніні",BR:"Бразилії",CH:"Швейцарії",CI:"Кот-д'Івуарі",CM:"Камеруні",CR:"Коста-Ріці",CV:"Кабо-Верде",CY:"Кіпрі",CZ:"Чехії",DE:"Германії",DK:"Данії",DO:"Домінікані",DZ:"Алжирі",EE:"Естонії",ES:"Іспанії",FI:"Фінляндії",FO:"Фарерських островах",FR:"Франції",GB:"Великобританії",GE:"Грузії",GI:"Гібралтарі",GL:"Гренландії",GR:"Греції",GT:"Гватемалі",HR:"Хорватії",HU:"Венгрії",IE:"Ірландії",IL:"Ізраїлі",IR:"Ірані",IS:"Ісландії",IT:"Італії",JO:"Йорданії",KW:"Кувейті",KZ:"Казахстані",LB:"Лівані",LI:"Ліхтенштейні",LT:"Литві",LU:"Люксембурзі",LV:"Латвії",MC:"Монако",MD:"Молдові",ME:"Чорногорії",MG:"Мадагаскарі",MK:"Македонії",ML:"Малі",MR:"Мавританії",MT:"Мальті",MU:"Маврикії",MZ:"Мозамбіку",NL:"Нідерландах",NO:"Норвегії",PK:"Пакистані",PL:"Польщі",PS:"Палестині",PT:"Португалії",QA:"Катарі",RO:"Румунії",RS:"Сербії",SA:"Саудівської Аравії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",SM:"Сан-Марино",SN:"Сенегалі",TL:"східний Тимор",TN:"Тунісі",TR:"Туреччині",VG:"Британських Віргінських островах",XK:"Республіка Косово"},country:"Будь ласка, введіть правильний номер IBAN в %s",default:"Будь ласка, введіть правильний номер IBAN"},id:{countries:{BA:"Боснії і Герцеговині",BG:"Болгарії",BR:"Бразилії",CH:"Швейцарії",CL:"Чилі",CN:"Китаї",CZ:"Чехії",DK:"Данії",EE:"Естонії",ES:"Іспанії",FI:"Фінляндії",HR:"Хорватії",IE:"Ірландії",IS:"Ісландії",LT:"Литві",LV:"Латвії",ME:"Чорногорії",MK:"Македонії",NL:"Нідерландах",PL:"Польщі",RO:"Румунії",RS:"Сербії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",SM:"Сан-Марино",TH:"Таїланді",TR:"Туреччині",ZA:"ПАР"},country:"Будь ласка, введіть правильний ідентифікаційний номер в %s",default:"Будь ласка, введіть правильний ідентифікаційний номер"},identical:{default:"Будь ласка, введіть таке ж значення"},imei:{default:"Будь ласка, введіть правильний номер IMEI"},imo:{default:"Будь ласка, введіть правильний номер IMO"},integer:{default:"Будь ласка, введіть правильне ціле значення"},ip:{default:"Будь ласка, введіть правильну IP-адресу",ipv4:"Будь ласка введіть правильну IPv4-адресу",ipv6:"Будь ласка введіть правильну IPv6-адресу"},isbn:{default:"Будь ласка, введіть правильний номер ISBN"},isin:{default:"Будь ласка, введіть правильний номер ISIN"},ismn:{default:"Будь ласка, введіть правильний номер ISMN"},issn:{default:"Будь ласка, введіть правильний номер ISSN"},lessThan:{default:"Будь ласка, введіть значення менше або рівне %s",notInclusive:"Будь ласка, введіть значення менше ніж %s"},mac:{default:"Будь ласка, введіть правильну MAC-адресу"},meid:{default:"Будь ласка, введіть правильний номер MEID"},notEmpty:{default:"Будь ласка, введіть значення"},numeric:{default:"Будь ласка, введіть коректне дійсне число"},phone:{countries:{AE:"Об'єднаних Арабських Еміратах",BG:"Болгарії",BR:"Бразилії",CN:"Китаї",CZ:"Чехії",DE:"Германії",DK:"Данії",ES:"Іспанії",FR:"Франції",GB:"Великобританії",IN:"Індія",MA:"Марокко",NL:"Нідерландах",PK:"Пакистані",RO:"Румунії",RU:"Росії",SK:"Словаччині",TH:"Таїланді",US:"США",VE:"Венесуелі"},country:"Будь ласка, введіть правильний номер телефону в %s",default:"Будь ласка, введіть правильний номер телефону"},promise:{default:"Будь ласка, введіть коректне значення"},regexp:{default:"Будь ласка, введіть значення відповідне до шаблону"},remote:{default:"Будь ласка, введіть правильне значення"},rtn:{default:"Будь ласка, введіть правильний номер RTN"},sedol:{default:"Будь ласка, введіть правильний номер SEDOL"},siren:{default:"Будь ласка, введіть правильний номер SIREN"},siret:{default:"Будь ласка, введіть правильний номер SIRET"},step:{default:"Будь ласка, введіть правильний крок %s"},stringCase:{default:"Будь ласка, вводите тільки малі літери",upper:"Будь ласка, вводите тільки заголовні букви"},stringLength:{between:"Будь ласка, введіть рядок довжиною від %s до %s символів",default:"Будь ласка, введіть значення коректної довжини",less:"Будь ласка, введіть не більше %s символів",more:"Будь ласка, введіть, не менше %s символів"},uri:{default:"Будь ласка, введіть правильний URI"},uuid:{default:"Будь ласка, введіть правильний номер UUID",version:"Будь ласка, введіть правильний номер UUID версії %s"},vat:{countries:{AT:"Австрії",BE:"Бельгії",BG:"Болгарії",BR:"Бразилії",CH:"Швейцарії",CY:"Кіпрі",CZ:"Чехії",DE:"Германії",DK:"Данії",EE:"Естонії",EL:"Греції",ES:"Іспанії",FI:"Фінляндії",FR:"Франції",GB:"Великобританії",GR:"Греції",HR:"Хорватії",HU:"Венгрії",IE:"Ірландії",IS:"Ісландії",IT:"Італії",LT:"Литві",LU:"Люксембургі",LV:"Латвії",MT:"Мальті",NL:"Нідерландах",NO:"Норвегії",PL:"Польщі",PT:"Португалії",RO:"Румунії",RS:"Сербії",RU:"Росії",SE:"Швеції",SI:"Словенії",SK:"Словаччині",VE:"Венесуелі",ZA:"ПАР"},country:"Будь ласка, введіть правильний номер VAT в %s",default:"Будь ласка, введіть правильний номер VAT"},vin:{default:"Будь ласка, введіть правильний номер VIN"},zipCode:{countries:{AT:"Австрії",BG:"Болгарії",BR:"Бразилії",CA:"Канаді",CH:"Швейцарії",CZ:"Чехії",DE:"Германії",DK:"Данії",ES:"Іспанії",FR:"Франції",GB:"Великобританії",IE:"Ірландії",IN:"Індія",IT:"Італії",MA:"Марокко",NL:"Нідерландах",PL:"Польщі",PT:"Португалії",RO:"Румунії",RU:"Росії",SE:"Швеції",SG:"Сингапурі",SK:"Словаччині",US:"США"},country:"Будь ласка, введіть правильний поштовий індекс в %s",default:"Будь ласка, введіть правильний поштовий індекс"}};return ua_UA})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/vi_VN.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/vi_VN.js new file mode 100755 index 00000000..96315d56 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/vi_VN.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.vi_VN = factory())); +})(this, (function () { 'use strict'; + + /** + * Vietnamese language package + * Translated by @nghuuphuoc + */ + + var vi_VN = { + base64: { + default: 'Vui lòng nhập chuỗi mã hoá base64 hợp lệ', + }, + between: { + default: 'Vui lòng nhập giá trị nằm giữa %s và %s', + notInclusive: 'Vui lòng nhập giá trị nằm giữa %s và %s', + }, + bic: { + default: 'Vui lòng nhập số BIC hợp lệ', + }, + callback: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + choice: { + between: 'Vui lòng chọn %s - %s lựa chọn', + default: 'Vui lòng nhập giá trị hợp lệ', + less: 'Vui lòng chọn ít nhất %s lựa chọn', + more: 'Vui lòng chọn nhiều nhất %s lựa chọn', + }, + color: { + default: 'Vui lòng nhập mã màu hợp lệ', + }, + creditCard: { + default: 'Vui lòng nhập số thẻ tín dụng hợp lệ', + }, + cusip: { + default: 'Vui lòng nhập số CUSIP hợp lệ', + }, + date: { + default: 'Vui lòng nhập ngày hợp lệ', + max: 'Vui lòng nhập ngày trước %s', + min: 'Vui lòng nhập ngày sau %s', + range: 'Vui lòng nhập ngày trong khoảng %s - %s', + }, + different: { + default: 'Vui lòng nhập một giá trị khác', + }, + digits: { + default: 'Vui lòng chỉ nhập số', + }, + ean: { + default: 'Vui lòng nhập số EAN hợp lệ', + }, + ein: { + default: 'Vui lòng nhập số EIN hợp lệ', + }, + emailAddress: { + default: 'Vui lòng nhập địa chỉ email hợp lệ', + }, + file: { + default: 'Vui lòng chọn file hợp lệ', + }, + greaterThan: { + default: 'Vui lòng nhập giá trị lớn hơn hoặc bằng %s', + notInclusive: 'Vui lòng nhập giá trị lớn hơn %s', + }, + grid: { + default: 'Vui lòng nhập số GRId hợp lệ', + }, + hex: { + default: 'Vui lòng nhập số hexa hợp lệ', + }, + iban: { + countries: { + AD: 'Andorra', + AE: 'Tiểu vương quốc Ả Rập thống nhất', + AL: 'Albania', + AO: 'Angola', + AT: 'Áo', + AZ: 'Azerbaijan', + BA: 'Bosnia và Herzegovina', + BE: 'Bỉ', + BF: 'Burkina Faso', + BG: 'Bulgaria', + BH: 'Bahrain', + BI: 'Burundi', + BJ: 'Benin', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CI: 'Bờ Biển Ngà', + CM: 'Cameroon', + CR: 'Costa Rica', + CV: 'Cape Verde', + CY: 'Síp', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + DO: 'Dominican', + DZ: 'Algeria', + EE: 'Estonia', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + FO: 'Đảo Faroe', + FR: 'Pháp', + GB: 'Vương quốc Anh', + GE: 'Georgia', + GI: 'Gibraltar', + GL: 'Greenland', + GR: 'Hy Lạp', + GT: 'Guatemala', + HR: 'Croatia', + HU: 'Hungary', + IE: 'Ireland', + IL: 'Israel', + IR: 'Iran', + IS: 'Iceland', + IT: 'Ý', + JO: 'Jordan', + KW: 'Kuwait', + KZ: 'Kazakhstan', + LB: 'Lebanon', + LI: 'Liechtenstein', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MC: 'Monaco', + MD: 'Moldova', + ME: 'Montenegro', + MG: 'Madagascar', + MK: 'Macedonia', + ML: 'Mali', + MR: 'Mauritania', + MT: 'Malta', + MU: 'Mauritius', + MZ: 'Mozambique', + NL: 'Hà Lan', + NO: 'Na Uy', + PK: 'Pakistan', + PL: 'Ba Lan', + PS: 'Palestine', + PT: 'Bồ Đào Nha', + QA: 'Qatar', + RO: 'Romania', + RS: 'Serbia', + SA: 'Ả Rập Xê Út', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + SN: 'Senegal', + TL: 'Đông Timor', + TN: 'Tunisia', + TR: 'Thổ Nhĩ Kỳ', + VG: 'Đảo Virgin, Anh quốc', + XK: 'Kosovo', + }, + country: 'Vui lòng nhập mã IBAN hợp lệ của %s', + default: 'Vui lòng nhập số IBAN hợp lệ', + }, + id: { + countries: { + BA: 'Bosnia và Herzegovina', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CL: 'Chi Lê', + CN: 'Trung Quốc', + CZ: 'Séc', + DK: 'Đan Mạch', + EE: 'Estonia', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + HR: 'Croatia', + IE: 'Ireland', + IS: 'Iceland', + LT: 'Lithuania', + LV: 'Latvia', + ME: 'Montenegro', + MK: 'Macedonia', + NL: 'Hà Lan', + PL: 'Ba Lan', + RO: 'Romania', + RS: 'Serbia', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + SM: 'San Marino', + TH: 'Thái Lan', + TR: 'Thổ Nhĩ Kỳ', + ZA: 'Nam Phi', + }, + country: 'Vui lòng nhập mã ID hợp lệ của %s', + default: 'Vui lòng nhập mã ID hợp lệ', + }, + identical: { + default: 'Vui lòng nhập cùng giá trị', + }, + imei: { + default: 'Vui lòng nhập số IMEI hợp lệ', + }, + imo: { + default: 'Vui lòng nhập số IMO hợp lệ', + }, + integer: { + default: 'Vui lòng nhập số hợp lệ', + }, + ip: { + default: 'Vui lòng nhập địa chỉ IP hợp lệ', + ipv4: 'Vui lòng nhập địa chỉ IPv4 hợp lệ', + ipv6: 'Vui lòng nhập địa chỉ IPv6 hợp lệ', + }, + isbn: { + default: 'Vui lòng nhập số ISBN hợp lệ', + }, + isin: { + default: 'Vui lòng nhập số ISIN hợp lệ', + }, + ismn: { + default: 'Vui lòng nhập số ISMN hợp lệ', + }, + issn: { + default: 'Vui lòng nhập số ISSN hợp lệ', + }, + lessThan: { + default: 'Vui lòng nhập giá trị nhỏ hơn hoặc bằng %s', + notInclusive: 'Vui lòng nhập giá trị nhỏ hơn %s', + }, + mac: { + default: 'Vui lòng nhập địa chỉ MAC hợp lệ', + }, + meid: { + default: 'Vui lòng nhập số MEID hợp lệ', + }, + notEmpty: { + default: 'Vui lòng nhập giá trị', + }, + numeric: { + default: 'Vui lòng nhập số hợp lệ', + }, + phone: { + countries: { + AE: 'Tiểu vương quốc Ả Rập thống nhất', + BG: 'Bulgaria', + BR: 'Brazil', + CN: 'Trung Quốc', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + ES: 'Tây Ban Nha', + FR: 'Pháp', + GB: 'Vương quốc Anh', + IN: 'Ấn Độ', + MA: 'Maroc', + NL: 'Hà Lan', + PK: 'Pakistan', + RO: 'Romania', + RU: 'Nga', + SK: 'Slovakia', + TH: 'Thái Lan', + US: 'Mỹ', + VE: 'Venezuela', + }, + country: 'Vui lòng nhập số điện thoại hợp lệ của %s', + default: 'Vui lòng nhập số điện thoại hợp lệ', + }, + promise: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + regexp: { + default: 'Vui lòng nhập giá trị thích hợp với biểu mẫu', + }, + remote: { + default: 'Vui lòng nhập giá trị hợp lệ', + }, + rtn: { + default: 'Vui lòng nhập số RTN hợp lệ', + }, + sedol: { + default: 'Vui lòng nhập số SEDOL hợp lệ', + }, + siren: { + default: 'Vui lòng nhập số Siren hợp lệ', + }, + siret: { + default: 'Vui lòng nhập số Siret hợp lệ', + }, + step: { + default: 'Vui lòng nhập bước nhảy của %s', + }, + stringCase: { + default: 'Vui lòng nhập ký tự thường', + upper: 'Vui lòng nhập ký tự in hoa', + }, + stringLength: { + between: 'Vui lòng nhập giá trị có độ dài trong khoảng %s và %s ký tự', + default: 'Vui lòng nhập giá trị có độ dài hợp lệ', + less: 'Vui lòng nhập ít hơn %s ký tự', + more: 'Vui lòng nhập nhiều hơn %s ký tự', + }, + uri: { + default: 'Vui lòng nhập địa chỉ URI hợp lệ', + }, + uuid: { + default: 'Vui lòng nhập số UUID hợp lệ', + version: 'Vui lòng nhập số UUID phiên bản %s hợp lệ', + }, + vat: { + countries: { + AT: 'Áo', + BE: 'Bỉ', + BG: 'Bulgaria', + BR: 'Brazil', + CH: 'Thuỵ Sĩ', + CY: 'Síp', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + EE: 'Estonia', + EL: 'Hy Lạp', + ES: 'Tây Ban Nha', + FI: 'Phần Lan', + FR: 'Pháp', + GB: 'Vương quốc Anh', + GR: 'Hy Lạp', + HR: 'Croatia', + HU: 'Hungari', + IE: 'Ireland', + IS: 'Iceland', + IT: 'Ý', + LT: 'Lithuania', + LU: 'Luxembourg', + LV: 'Latvia', + MT: 'Malta', + NL: 'Hà Lan', + NO: 'Na Uy', + PL: 'Ba Lan', + PT: 'Bồ Đào Nha', + RO: 'Romania', + RS: 'Serbia', + RU: 'Nga', + SE: 'Thuỵ Điển', + SI: 'Slovenia', + SK: 'Slovakia', + VE: 'Venezuela', + ZA: 'Nam Phi', + }, + country: 'Vui lòng nhập số VAT hợp lệ của %s', + default: 'Vui lòng nhập số VAT hợp lệ', + }, + vin: { + default: 'Vui lòng nhập số VIN hợp lệ', + }, + zipCode: { + countries: { + AT: 'Áo', + BG: 'Bulgaria', + BR: 'Brazil', + CA: 'Canada', + CH: 'Thuỵ Sĩ', + CZ: 'Séc', + DE: 'Đức', + DK: 'Đan Mạch', + ES: 'Tây Ban Nha', + FR: 'Pháp', + GB: 'Vương quốc Anh', + IE: 'Ireland', + IN: 'Ấn Độ', + IT: 'Ý', + MA: 'Maroc', + NL: 'Hà Lan', + PL: 'Ba Lan', + PT: 'Bồ Đào Nha', + RO: 'Romania', + RU: 'Nga', + SE: 'Thuỵ Sĩ', + SG: 'Singapore', + SK: 'Slovakia', + US: 'Mỹ', + }, + country: 'Vui lòng nhập mã bưu điện hợp lệ của %s', + default: 'Vui lòng nhập mã bưu điện hợp lệ', + }, + }; + + return vi_VN; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/vi_VN.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/vi_VN.min.js new file mode 100755 index 00000000..8c2305eb --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/vi_VN.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.vi_VN=factory())})(this,(function(){"use strict";var vi_VN={base64:{default:"Vui lòng nhập chuỗi mã hoá base64 hợp lệ"},between:{default:"Vui lòng nhập giá trị nằm giữa %s và %s",notInclusive:"Vui lòng nhập giá trị nằm giữa %s và %s"},bic:{default:"Vui lòng nhập số BIC hợp lệ"},callback:{default:"Vui lòng nhập giá trị hợp lệ"},choice:{between:"Vui lòng chọn %s - %s lựa chọn",default:"Vui lòng nhập giá trị hợp lệ",less:"Vui lòng chọn ít nhất %s lựa chọn",more:"Vui lòng chọn nhiều nhất %s lựa chọn"},color:{default:"Vui lòng nhập mã màu hợp lệ"},creditCard:{default:"Vui lòng nhập số thẻ tín dụng hợp lệ"},cusip:{default:"Vui lòng nhập số CUSIP hợp lệ"},date:{default:"Vui lòng nhập ngày hợp lệ",max:"Vui lòng nhập ngày trước %s",min:"Vui lòng nhập ngày sau %s",range:"Vui lòng nhập ngày trong khoảng %s - %s"},different:{default:"Vui lòng nhập một giá trị khác"},digits:{default:"Vui lòng chỉ nhập số"},ean:{default:"Vui lòng nhập số EAN hợp lệ"},ein:{default:"Vui lòng nhập số EIN hợp lệ"},emailAddress:{default:"Vui lòng nhập địa chỉ email hợp lệ"},file:{default:"Vui lòng chọn file hợp lệ"},greaterThan:{default:"Vui lòng nhập giá trị lớn hơn hoặc bằng %s",notInclusive:"Vui lòng nhập giá trị lớn hơn %s"},grid:{default:"Vui lòng nhập số GRId hợp lệ"},hex:{default:"Vui lòng nhập số hexa hợp lệ"},iban:{countries:{AD:"Andorra",AE:"Tiểu vương quốc Ả Rập thống nhất",AL:"Albania",AO:"Angola",AT:"Áo",AZ:"Azerbaijan",BA:"Bosnia và Herzegovina",BE:"Bỉ",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Thuỵ Sĩ",CI:"Bờ Biển Ngà",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Síp",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",DO:"Dominican",DZ:"Algeria",EE:"Estonia",ES:"Tây Ban Nha",FI:"Phần Lan",FO:"Đảo Faroe",FR:"Pháp",GB:"Vương quốc Anh",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Hy Lạp",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Ý",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Hà Lan",NO:"Na Uy",PK:"Pakistan",PL:"Ba Lan",PS:"Palestine",PT:"Bồ Đào Nha",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Ả Rập Xê Út",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TL:"Đông Timor",TN:"Tunisia",TR:"Thổ Nhĩ Kỳ",VG:"Đảo Virgin, Anh quốc",XK:"Kosovo"},country:"Vui lòng nhập mã IBAN hợp lệ của %s",default:"Vui lòng nhập số IBAN hợp lệ"},id:{countries:{BA:"Bosnia và Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Thuỵ Sĩ",CL:"Chi Lê",CN:"Trung Quốc",CZ:"Séc",DK:"Đan Mạch",EE:"Estonia",ES:"Tây Ban Nha",FI:"Phần Lan",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Hà Lan",PL:"Ba Lan",RO:"Romania",RS:"Serbia",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thái Lan",TR:"Thổ Nhĩ Kỳ",ZA:"Nam Phi"},country:"Vui lòng nhập mã ID hợp lệ của %s",default:"Vui lòng nhập mã ID hợp lệ"},identical:{default:"Vui lòng nhập cùng giá trị"},imei:{default:"Vui lòng nhập số IMEI hợp lệ"},imo:{default:"Vui lòng nhập số IMO hợp lệ"},integer:{default:"Vui lòng nhập số hợp lệ"},ip:{default:"Vui lòng nhập địa chỉ IP hợp lệ",ipv4:"Vui lòng nhập địa chỉ IPv4 hợp lệ",ipv6:"Vui lòng nhập địa chỉ IPv6 hợp lệ"},isbn:{default:"Vui lòng nhập số ISBN hợp lệ"},isin:{default:"Vui lòng nhập số ISIN hợp lệ"},ismn:{default:"Vui lòng nhập số ISMN hợp lệ"},issn:{default:"Vui lòng nhập số ISSN hợp lệ"},lessThan:{default:"Vui lòng nhập giá trị nhỏ hơn hoặc bằng %s",notInclusive:"Vui lòng nhập giá trị nhỏ hơn %s"},mac:{default:"Vui lòng nhập địa chỉ MAC hợp lệ"},meid:{default:"Vui lòng nhập số MEID hợp lệ"},notEmpty:{default:"Vui lòng nhập giá trị"},numeric:{default:"Vui lòng nhập số hợp lệ"},phone:{countries:{AE:"Tiểu vương quốc Ả Rập thống nhất",BG:"Bulgaria",BR:"Brazil",CN:"Trung Quốc",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",ES:"Tây Ban Nha",FR:"Pháp",GB:"Vương quốc Anh",IN:"Ấn Độ",MA:"Maroc",NL:"Hà Lan",PK:"Pakistan",RO:"Romania",RU:"Nga",SK:"Slovakia",TH:"Thái Lan",US:"Mỹ",VE:"Venezuela"},country:"Vui lòng nhập số điện thoại hợp lệ của %s",default:"Vui lòng nhập số điện thoại hợp lệ"},promise:{default:"Vui lòng nhập giá trị hợp lệ"},regexp:{default:"Vui lòng nhập giá trị thích hợp với biểu mẫu"},remote:{default:"Vui lòng nhập giá trị hợp lệ"},rtn:{default:"Vui lòng nhập số RTN hợp lệ"},sedol:{default:"Vui lòng nhập số SEDOL hợp lệ"},siren:{default:"Vui lòng nhập số Siren hợp lệ"},siret:{default:"Vui lòng nhập số Siret hợp lệ"},step:{default:"Vui lòng nhập bước nhảy của %s"},stringCase:{default:"Vui lòng nhập ký tự thường",upper:"Vui lòng nhập ký tự in hoa"},stringLength:{between:"Vui lòng nhập giá trị có độ dài trong khoảng %s và %s ký tự",default:"Vui lòng nhập giá trị có độ dài hợp lệ",less:"Vui lòng nhập ít hơn %s ký tự",more:"Vui lòng nhập nhiều hơn %s ký tự"},uri:{default:"Vui lòng nhập địa chỉ URI hợp lệ"},uuid:{default:"Vui lòng nhập số UUID hợp lệ",version:"Vui lòng nhập số UUID phiên bản %s hợp lệ"},vat:{countries:{AT:"Áo",BE:"Bỉ",BG:"Bulgaria",BR:"Brazil",CH:"Thuỵ Sĩ",CY:"Síp",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",EE:"Estonia",EL:"Hy Lạp",ES:"Tây Ban Nha",FI:"Phần Lan",FR:"Pháp",GB:"Vương quốc Anh",GR:"Hy Lạp",HR:"Croatia",HU:"Hungari",IE:"Ireland",IS:"Iceland",IT:"Ý",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Hà Lan",NO:"Na Uy",PL:"Ba Lan",PT:"Bồ Đào Nha",RO:"Romania",RS:"Serbia",RU:"Nga",SE:"Thuỵ Điển",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"Nam Phi"},country:"Vui lòng nhập số VAT hợp lệ của %s",default:"Vui lòng nhập số VAT hợp lệ"},vin:{default:"Vui lòng nhập số VIN hợp lệ"},zipCode:{countries:{AT:"Áo",BG:"Bulgaria",BR:"Brazil",CA:"Canada",CH:"Thuỵ Sĩ",CZ:"Séc",DE:"Đức",DK:"Đan Mạch",ES:"Tây Ban Nha",FR:"Pháp",GB:"Vương quốc Anh",IE:"Ireland",IN:"Ấn Độ",IT:"Ý",MA:"Maroc",NL:"Hà Lan",PL:"Ba Lan",PT:"Bồ Đào Nha",RO:"Romania",RU:"Nga",SE:"Thuỵ Sĩ",SG:"Singapore",SK:"Slovakia",US:"Mỹ"},country:"Vui lòng nhập mã bưu điện hợp lệ của %s",default:"Vui lòng nhập mã bưu điện hợp lệ"}};return vi_VN})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_CN.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_CN.js new file mode 100755 index 00000000..0d1fa359 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_CN.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.zh_CN = factory())); +})(this, (function () { 'use strict'; + + /** + * Simplified Chinese language package + * Translated by @shamiao + */ + + var zh_CN = { + base64: { + default: '请输入有效的Base64编码', + }, + between: { + default: '请输入在 %s 和 %s 之间的数值', + notInclusive: '请输入在 %s 和 %s 之间(不含两端)的数值', + }, + bic: { + default: '请输入有效的BIC商品编码', + }, + callback: { + default: '请输入有效的值', + }, + choice: { + between: '请选择 %s 至 %s 个选项', + default: '请输入有效的值', + less: '请至少选中 %s 个选项', + more: '最多只能选中 %s 个选项', + }, + color: { + default: '请输入有效的颜色值', + }, + creditCard: { + default: '请输入有效的信用卡号码', + }, + cusip: { + default: '请输入有效的美国CUSIP代码', + }, + date: { + default: '请输入有效的日期', + max: '请输入 %s 或以前的日期', + min: '请输入 %s 或之后的日期', + range: '请输入 %s 和 %s 之间的日期', + }, + different: { + default: '请输入不同的值', + }, + digits: { + default: '请输入有效的数字', + }, + ean: { + default: '请输入有效的EAN商品编码', + }, + ein: { + default: '请输入有效的EIN商品编码', + }, + emailAddress: { + default: '请输入有效的邮件地址', + }, + file: { + default: '请选择有效的文件', + }, + greaterThan: { + default: '请输入大于等于 %s 的数值', + notInclusive: '请输入大于 %s 的数值', + }, + grid: { + default: '请输入有效的GRId编码', + }, + hex: { + default: '请输入有效的16进制数', + }, + iban: { + countries: { + AD: '安道​​尔', + AE: '阿联酋', + AL: '阿尔巴尼亚', + AO: '安哥拉', + AT: '奥地利', + AZ: '阿塞拜疆', + BA: '波斯尼亚和黑塞哥维那', + BE: '比利时', + BF: '布基纳法索', + BG: '保加利亚', + BH: '巴林', + BI: '布隆迪', + BJ: '贝宁', + BR: '巴西', + CH: '瑞士', + CI: '科特迪瓦', + CM: '喀麦隆', + CR: '哥斯达黎加', + CV: '佛得角', + CY: '塞浦路斯', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + DO: '多米尼加共和国', + DZ: '阿尔及利亚', + EE: '爱沙尼亚', + ES: '西班牙', + FI: '芬兰', + FO: '法罗群岛', + FR: '法国', + GB: '英国', + GE: '格鲁吉亚', + GI: '直布罗陀', + GL: '格陵兰岛', + GR: '希腊', + GT: '危地马拉', + HR: '克罗地亚', + HU: '匈牙利', + IE: '爱尔兰', + IL: '以色列', + IR: '伊朗', + IS: '冰岛', + IT: '意大利', + JO: '约旦', + KW: '科威特', + KZ: '哈萨克斯坦', + LB: '黎巴嫩', + LI: '列支敦士登', + LT: '立陶宛', + LU: '卢森堡', + LV: '拉脱维亚', + MC: '摩纳哥', + MD: '摩尔多瓦', + ME: '黑山', + MG: '马达加斯加', + MK: '马其顿', + ML: '马里', + MR: '毛里塔尼亚', + MT: '马耳他', + MU: '毛里求斯', + MZ: '莫桑比克', + NL: '荷兰', + NO: '挪威', + PK: '巴基斯坦', + PL: '波兰', + PS: '巴勒斯坦', + PT: '葡萄牙', + QA: '卡塔尔', + RO: '罗马尼亚', + RS: '塞尔维亚', + SA: '沙特阿拉伯', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + SM: '圣马力诺', + SN: '塞内加尔', + TL: '东帝汶', + TN: '突尼斯', + TR: '土耳其', + VG: '英属维尔京群岛', + XK: '科索沃共和国', + }, + country: '请输入有效的 %s 国家或地区的IBAN(国际银行账户)号码', + default: '请输入有效的IBAN(国际银行账户)号码', + }, + id: { + countries: { + BA: '波黑', + BG: '保加利亚', + BR: '巴西', + CH: '瑞士', + CL: '智利', + CN: '中国', + CZ: '捷克共和国', + DK: '丹麦', + EE: '爱沙尼亚', + ES: '西班牙', + FI: '芬兰', + HR: '克罗地亚', + IE: '爱尔兰', + IS: '冰岛', + LT: '立陶宛', + LV: '拉脱维亚', + ME: '黑山', + MK: '马其顿', + NL: '荷兰', + PL: '波兰', + RO: '罗马尼亚', + RS: '塞尔维亚', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + SM: '圣马力诺', + TH: '泰国', + TR: '土耳其', + ZA: '南非', + }, + country: '请输入有效的 %s 国家或地区的身份证件号码', + default: '请输入有效的身份证件号码', + }, + identical: { + default: '请输入相同的值', + }, + imei: { + default: '请输入有效的IMEI(手机串号)', + }, + imo: { + default: '请输入有效的国际海事组织(IMO)号码', + }, + integer: { + default: '请输入有效的整数值', + }, + ip: { + default: '请输入有效的IP地址', + ipv4: '请输入有效的IPv4地址', + ipv6: '请输入有效的IPv6地址', + }, + isbn: { + default: '请输入有效的ISBN(国际标准书号)', + }, + isin: { + default: '请输入有效的ISIN(国际证券编码)', + }, + ismn: { + default: '请输入有效的ISMN(印刷音乐作品编码)', + }, + issn: { + default: '请输入有效的ISSN(国际标准杂志书号)', + }, + lessThan: { + default: '请输入小于等于 %s 的数值', + notInclusive: '请输入小于 %s 的数值', + }, + mac: { + default: '请输入有效的MAC物理地址', + }, + meid: { + default: '请输入有效的MEID(移动设备识别码)', + }, + notEmpty: { + default: '请填写必填项目', + }, + numeric: { + default: '请输入有效的数值,允许小数', + }, + phone: { + countries: { + AE: '阿联酋', + BG: '保加利亚', + BR: '巴西', + CN: '中国', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + ES: '西班牙', + FR: '法国', + GB: '英国', + IN: '印度', + MA: '摩洛哥', + NL: '荷兰', + PK: '巴基斯坦', + RO: '罗马尼亚', + RU: '俄罗斯', + SK: '斯洛伐克', + TH: '泰国', + US: '美国', + VE: '委内瑞拉', + }, + country: '请输入有效的 %s 国家或地区的电话号码', + default: '请输入有效的电话号码', + }, + promise: { + default: '请输入有效的值', + }, + regexp: { + default: '请输入符合正则表达式限制的值', + }, + remote: { + default: '请输入有效的值', + }, + rtn: { + default: '请输入有效的RTN号码', + }, + sedol: { + default: '请输入有效的SEDOL代码', + }, + siren: { + default: '请输入有效的SIREN号码', + }, + siret: { + default: '请输入有效的SIRET号码', + }, + step: { + default: '请输入在基础值上,增加 %s 的整数倍的数值', + }, + stringCase: { + default: '只能输入小写字母', + upper: '只能输入大写字母', + }, + stringLength: { + between: '请输入 %s 至 %s 个字符', + default: '请输入符合长度限制的值', + less: '最多只能输入 %s 个字符', + more: '需要输入至少 %s 个字符', + }, + uri: { + default: '请输入一个有效的URL地址', + }, + uuid: { + default: '请输入有效的UUID', + version: '请输入版本 %s 的UUID', + }, + vat: { + countries: { + AT: '奥地利', + BE: '比利时', + BG: '保加利亚', + BR: '巴西', + CH: '瑞士', + CY: '塞浦路斯', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + EE: '爱沙尼亚', + EL: '希腊', + ES: '西班牙', + FI: '芬兰', + FR: '法语', + GB: '英国', + GR: '希腊', + HR: '克罗地亚', + HU: '匈牙利', + IE: '爱尔兰', + IS: '冰岛', + IT: '意大利', + LT: '立陶宛', + LU: '卢森堡', + LV: '拉脱维亚', + MT: '马耳他', + NL: '荷兰', + NO: '挪威', + PL: '波兰', + PT: '葡萄牙', + RO: '罗马尼亚', + RS: '塞尔维亚', + RU: '俄罗斯', + SE: '瑞典', + SI: '斯洛文尼亚', + SK: '斯洛伐克', + VE: '委内瑞拉', + ZA: '南非', + }, + country: '请输入有效的 %s 国家或地区的VAT(税号)', + default: '请输入有效的VAT(税号)', + }, + vin: { + default: '请输入有效的VIN(美国车辆识别号码)', + }, + zipCode: { + countries: { + AT: '奥地利', + BG: '保加利亚', + BR: '巴西', + CA: '加拿大', + CH: '瑞士', + CZ: '捷克共和国', + DE: '德国', + DK: '丹麦', + ES: '西班牙', + FR: '法国', + GB: '英国', + IE: '爱尔兰', + IN: '印度', + IT: '意大利', + MA: '摩洛哥', + NL: '荷兰', + PL: '波兰', + PT: '葡萄牙', + RO: '罗马尼亚', + RU: '俄罗斯', + SE: '瑞典', + SG: '新加坡', + SK: '斯洛伐克', + US: '美国', + }, + country: '请输入有效的 %s 国家或地区的邮政编码', + default: '请输入有效的邮政编码', + }, + }; + + return zh_CN; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_CN.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_CN.min.js new file mode 100755 index 00000000..c2352422 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_CN.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.zh_CN=factory())})(this,(function(){"use strict";var zh_CN={base64:{default:"请输入有效的Base64编码"},between:{default:"请输入在 %s 和 %s 之间的数值",notInclusive:"请输入在 %s 和 %s 之间(不含两端)的数值"},bic:{default:"请输入有效的BIC商品编码"},callback:{default:"请输入有效的值"},choice:{between:"请选择 %s 至 %s 个选项",default:"请输入有效的值",less:"请至少选中 %s 个选项",more:"最多只能选中 %s 个选项"},color:{default:"请输入有效的颜色值"},creditCard:{default:"请输入有效的信用卡号码"},cusip:{default:"请输入有效的美国CUSIP代码"},date:{default:"请输入有效的日期",max:"请输入 %s 或以前的日期",min:"请输入 %s 或之后的日期",range:"请输入 %s 和 %s 之间的日期"},different:{default:"请输入不同的值"},digits:{default:"请输入有效的数字"},ean:{default:"请输入有效的EAN商品编码"},ein:{default:"请输入有效的EIN商品编码"},emailAddress:{default:"请输入有效的邮件地址"},file:{default:"请选择有效的文件"},greaterThan:{default:"请输入大于等于 %s 的数值",notInclusive:"请输入大于 %s 的数值"},grid:{default:"请输入有效的GRId编码"},hex:{default:"请输入有效的16进制数"},iban:{countries:{AD:"安道​​尔",AE:"阿联酋",AL:"阿尔巴尼亚",AO:"安哥拉",AT:"奥地利",AZ:"阿塞拜疆",BA:"波斯尼亚和黑塞哥维那",BE:"比利时",BF:"布基纳法索",BG:"保加利亚",BH:"巴林",BI:"布隆迪",BJ:"贝宁",BR:"巴西",CH:"瑞士",CI:"科特迪瓦",CM:"喀麦隆",CR:"哥斯达黎加",CV:"佛得角",CY:"塞浦路斯",CZ:"捷克共和国",DE:"德国",DK:"丹麦",DO:"多米尼加共和国",DZ:"阿尔及利亚",EE:"爱沙尼亚",ES:"西班牙",FI:"芬兰",FO:"法罗群岛",FR:"法国",GB:"英国",GE:"格鲁吉亚",GI:"直布罗陀",GL:"格陵兰岛",GR:"希腊",GT:"危地马拉",HR:"克罗地亚",HU:"匈牙利",IE:"爱尔兰",IL:"以色列",IR:"伊朗",IS:"冰岛",IT:"意大利",JO:"约旦",KW:"科威特",KZ:"哈萨克斯坦",LB:"黎巴嫩",LI:"列支敦士登",LT:"立陶宛",LU:"卢森堡",LV:"拉脱维亚",MC:"摩纳哥",MD:"摩尔多瓦",ME:"黑山",MG:"马达加斯加",MK:"马其顿",ML:"马里",MR:"毛里塔尼亚",MT:"马耳他",MU:"毛里求斯",MZ:"莫桑比克",NL:"荷兰",NO:"挪威",PK:"巴基斯坦",PL:"波兰",PS:"巴勒斯坦",PT:"葡萄牙",QA:"卡塔尔",RO:"罗马尼亚",RS:"塞尔维亚",SA:"沙特阿拉伯",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",SM:"圣马力诺",SN:"塞内加尔",TL:"东帝汶",TN:"突尼斯",TR:"土耳其",VG:"英属维尔京群岛",XK:"科索沃共和国"},country:"请输入有效的 %s 国家或地区的IBAN(国际银行账户)号码",default:"请输入有效的IBAN(国际银行账户)号码"},id:{countries:{BA:"波黑",BG:"保加利亚",BR:"巴西",CH:"瑞士",CL:"智利",CN:"中国",CZ:"捷克共和国",DK:"丹麦",EE:"爱沙尼亚",ES:"西班牙",FI:"芬兰",HR:"克罗地亚",IE:"爱尔兰",IS:"冰岛",LT:"立陶宛",LV:"拉脱维亚",ME:"黑山",MK:"马其顿",NL:"荷兰",PL:"波兰",RO:"罗马尼亚",RS:"塞尔维亚",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",SM:"圣马力诺",TH:"泰国",TR:"土耳其",ZA:"南非"},country:"请输入有效的 %s 国家或地区的身份证件号码",default:"请输入有效的身份证件号码"},identical:{default:"请输入相同的值"},imei:{default:"请输入有效的IMEI(手机串号)"},imo:{default:"请输入有效的国际海事组织(IMO)号码"},integer:{default:"请输入有效的整数值"},ip:{default:"请输入有效的IP地址",ipv4:"请输入有效的IPv4地址",ipv6:"请输入有效的IPv6地址"},isbn:{default:"请输入有效的ISBN(国际标准书号)"},isin:{default:"请输入有效的ISIN(国际证券编码)"},ismn:{default:"请输入有效的ISMN(印刷音乐作品编码)"},issn:{default:"请输入有效的ISSN(国际标准杂志书号)"},lessThan:{default:"请输入小于等于 %s 的数值",notInclusive:"请输入小于 %s 的数值"},mac:{default:"请输入有效的MAC物理地址"},meid:{default:"请输入有效的MEID(移动设备识别码)"},notEmpty:{default:"请填写必填项目"},numeric:{default:"请输入有效的数值,允许小数"},phone:{countries:{AE:"阿联酋",BG:"保加利亚",BR:"巴西",CN:"中国",CZ:"捷克共和国",DE:"德国",DK:"丹麦",ES:"西班牙",FR:"法国",GB:"英国",IN:"印度",MA:"摩洛哥",NL:"荷兰",PK:"巴基斯坦",RO:"罗马尼亚",RU:"俄罗斯",SK:"斯洛伐克",TH:"泰国",US:"美国",VE:"委内瑞拉"},country:"请输入有效的 %s 国家或地区的电话号码",default:"请输入有效的电话号码"},promise:{default:"请输入有效的值"},regexp:{default:"请输入符合正则表达式限制的值"},remote:{default:"请输入有效的值"},rtn:{default:"请输入有效的RTN号码"},sedol:{default:"请输入有效的SEDOL代码"},siren:{default:"请输入有效的SIREN号码"},siret:{default:"请输入有效的SIRET号码"},step:{default:"请输入在基础值上,增加 %s 的整数倍的数值"},stringCase:{default:"只能输入小写字母",upper:"只能输入大写字母"},stringLength:{between:"请输入 %s 至 %s 个字符",default:"请输入符合长度限制的值",less:"最多只能输入 %s 个字符",more:"需要输入至少 %s 个字符"},uri:{default:"请输入一个有效的URL地址"},uuid:{default:"请输入有效的UUID",version:"请输入版本 %s 的UUID"},vat:{countries:{AT:"奥地利",BE:"比利时",BG:"保加利亚",BR:"巴西",CH:"瑞士",CY:"塞浦路斯",CZ:"捷克共和国",DE:"德国",DK:"丹麦",EE:"爱沙尼亚",EL:"希腊",ES:"西班牙",FI:"芬兰",FR:"法语",GB:"英国",GR:"希腊",HR:"克罗地亚",HU:"匈牙利",IE:"爱尔兰",IS:"冰岛",IT:"意大利",LT:"立陶宛",LU:"卢森堡",LV:"拉脱维亚",MT:"马耳他",NL:"荷兰",NO:"挪威",PL:"波兰",PT:"葡萄牙",RO:"罗马尼亚",RS:"塞尔维亚",RU:"俄罗斯",SE:"瑞典",SI:"斯洛文尼亚",SK:"斯洛伐克",VE:"委内瑞拉",ZA:"南非"},country:"请输入有效的 %s 国家或地区的VAT(税号)",default:"请输入有效的VAT(税号)"},vin:{default:"请输入有效的VIN(美国车辆识别号码)"},zipCode:{countries:{AT:"奥地利",BG:"保加利亚",BR:"巴西",CA:"加拿大",CH:"瑞士",CZ:"捷克共和国",DE:"德国",DK:"丹麦",ES:"西班牙",FR:"法国",GB:"英国",IE:"爱尔兰",IN:"印度",IT:"意大利",MA:"摩洛哥",NL:"荷兰",PL:"波兰",PT:"葡萄牙",RO:"罗马尼亚",RU:"俄罗斯",SE:"瑞典",SG:"新加坡",SK:"斯洛伐克",US:"美国"},country:"请输入有效的 %s 国家或地区的邮政编码",default:"请输入有效的邮政编码"}};return zh_CN})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_TW.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_TW.js new file mode 100755 index 00000000..88f99e18 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_TW.js @@ -0,0 +1,389 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.FormValidation = global.FormValidation || {}, global.FormValidation.locales = global.FormValidation.locales || {}, global.FormValidation.locales.zh_TW = factory())); +})(this, (function () { 'use strict'; + + /** + * Traditional Chinese language package + * Translated by @tureki + */ + + var zh_TW = { + base64: { + default: '請輸入有效的Base64編碼', + }, + between: { + default: '請輸入不小於 %s 且不大於 %s 的值', + notInclusive: '請輸入不小於等於 %s 且不大於等於 %s 的值', + }, + bic: { + default: '請輸入有效的BIC商品編碼', + }, + callback: { + default: '請輸入有效的值', + }, + choice: { + between: '請選擇 %s 至 %s 個選項', + default: '請輸入有效的值', + less: '最少選擇 %s 個選項', + more: '最多選擇 %s 個選項', + }, + color: { + default: '請輸入有效的元色碼', + }, + creditCard: { + default: '請輸入有效的信用卡號碼', + }, + cusip: { + default: '請輸入有效的CUSIP(美國證券庫斯普)號碼', + }, + date: { + default: '請輸入有效的日期', + max: '請輸入 %s 或以前的日期', + min: '請輸入 %s 或之後的日期', + range: '請輸入 %s 至 %s 之間的日期', + }, + different: { + default: '請輸入不同的值', + }, + digits: { + default: '只能輸入數字', + }, + ean: { + default: '請輸入有效的EAN商品編碼', + }, + ein: { + default: '請輸入有效的EIN商品編碼', + }, + emailAddress: { + default: '請輸入有效的EMAIL', + }, + file: { + default: '請選擇有效的檔案', + }, + greaterThan: { + default: '請輸入大於等於 %s 的值', + notInclusive: '請輸入大於 %s 的值', + }, + grid: { + default: '請輸入有效的GRId編碼', + }, + hex: { + default: '請輸入有效的16位元碼', + }, + iban: { + countries: { + AD: '安道​​爾', + AE: '阿聯酋', + AL: '阿爾巴尼亞', + AO: '安哥拉', + AT: '奧地利', + AZ: '阿塞拜疆', + BA: '波斯尼亞和黑塞哥維那', + BE: '比利時', + BF: '布基納法索', + BG: '保加利亞', + BH: '巴林', + BI: '布隆迪', + BJ: '貝寧', + BR: '巴西', + CH: '瑞士', + CI: '象牙海岸', + CM: '喀麥隆', + CR: '哥斯達黎加', + CV: '佛得角', + CY: '塞浦路斯', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + DO: '多明尼加共和國', + DZ: '阿爾及利亞', + EE: '愛沙尼亞', + ES: '西班牙', + FI: '芬蘭', + FO: '法羅群島', + FR: '法國', + GB: '英國', + GE: '格魯吉亞', + GI: '直布羅陀', + GL: '格陵蘭島', + GR: '希臘', + GT: '危地馬拉', + HR: '克羅地亞', + HU: '匈牙利', + IE: '愛爾蘭', + IL: '以色列', + IR: '伊朗', + IS: '冰島', + IT: '意大利', + JO: '約旦', + KW: '科威特', + KZ: '哈薩克斯坦', + LB: '黎巴嫩', + LI: '列支敦士登', + LT: '立陶宛', + LU: '盧森堡', + LV: '拉脫維亞', + MC: '摩納哥', + MD: '摩爾多瓦', + ME: '蒙特內哥羅', + MG: '馬達加斯加', + MK: '馬其頓', + ML: '馬里', + MR: '毛里塔尼亞', + MT: '馬耳他', + MU: '毛里求斯', + MZ: '莫桑比克', + NL: '荷蘭', + NO: '挪威', + PK: '巴基斯坦', + PL: '波蘭', + PS: '巴勒斯坦', + PT: '葡萄牙', + QA: '卡塔爾', + RO: '羅馬尼亞', + RS: '塞爾維亞', + SA: '沙特阿拉伯', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + SM: '聖馬力諾', + SN: '塞內加爾', + TL: '東帝汶', + TN: '突尼斯', + TR: '土耳其', + VG: '英屬維爾京群島', + XK: '科索沃共和國', + }, + country: '請輸入有效的 %s 國家的IBAN(國際銀行賬戶)號碼', + default: '請輸入有效的IBAN(國際銀行賬戶)號碼', + }, + id: { + countries: { + BA: '波赫', + BG: '保加利亞', + BR: '巴西', + CH: '瑞士', + CL: '智利', + CN: '中國', + CZ: '捷克共和國', + DK: '丹麥', + EE: '愛沙尼亞', + ES: '西班牙', + FI: '芬蘭', + HR: '克羅地亞', + IE: '愛爾蘭', + IS: '冰島', + LT: '立陶宛', + LV: '拉脫維亞', + ME: '蒙特內哥羅', + MK: '馬其頓', + NL: '荷蘭', + PL: '波蘭', + RO: '羅馬尼亞', + RS: '塞爾維亞', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + SM: '聖馬力諾', + TH: '泰國', + TR: '土耳其', + ZA: '南非', + }, + country: '請輸入有效的 %s 身份證字號', + default: '請輸入有效的身份證字號', + }, + identical: { + default: '請輸入相同的值', + }, + imei: { + default: '請輸入有效的IMEI(手機序列號)', + }, + imo: { + default: '請輸入有效的國際海事組織(IMO)號碼', + }, + integer: { + default: '請輸入有效的整數', + }, + ip: { + default: '請輸入有效的IP位址', + ipv4: '請輸入有效的IPv4位址', + ipv6: '請輸入有效的IPv6位址', + }, + isbn: { + default: '請輸入有效的ISBN(國際標準書號)', + }, + isin: { + default: '請輸入有效的ISIN(國際證券號碼)', + }, + ismn: { + default: '請輸入有效的ISMN(國際標準音樂編號)', + }, + issn: { + default: '請輸入有效的ISSN(國際標準期刊號)', + }, + lessThan: { + default: '請輸入小於等於 %s 的值', + notInclusive: '請輸入小於 %s 的值', + }, + mac: { + default: '請輸入有效的MAC位址', + }, + meid: { + default: '請輸入有效的MEID(行動設備識別碼)', + }, + notEmpty: { + default: '請填寫必填欄位', + }, + numeric: { + default: '請輸入有效的數字(含浮點數)', + }, + phone: { + countries: { + AE: '阿聯酋', + BG: '保加利亞', + BR: '巴西', + CN: '中国', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + ES: '西班牙', + FR: '法國', + GB: '英國', + IN: '印度', + MA: '摩洛哥', + NL: '荷蘭', + PK: '巴基斯坦', + RO: '罗马尼亚', + RU: '俄羅斯', + SK: '斯洛伐克', + TH: '泰國', + US: '美國', + VE: '委内瑞拉', + }, + country: '請輸入有效的 %s 國家的電話號碼', + default: '請輸入有效的電話號碼', + }, + promise: { + default: '請輸入有效的值', + }, + regexp: { + default: '請輸入符合正規表示式所限制的值', + }, + remote: { + default: '請輸入有效的值', + }, + rtn: { + default: '請輸入有效的RTN號碼', + }, + sedol: { + default: '請輸入有效的SEDOL代碼', + }, + siren: { + default: '請輸入有效的SIREN號碼', + }, + siret: { + default: '請輸入有效的SIRET號碼', + }, + step: { + default: '請輸入 %s 的倍數', + }, + stringCase: { + default: '只能輸入小寫字母', + upper: '只能輸入大寫字母', + }, + stringLength: { + between: '請輸入 %s 至 %s 個字', + default: '請輸入符合長度限制的值', + less: '請輸入小於 %s 個字', + more: '請輸入大於 %s 個字', + }, + uri: { + default: '請輸入一個有效的鏈接', + }, + uuid: { + default: '請輸入有效的UUID', + version: '請輸入版本 %s 的UUID', + }, + vat: { + countries: { + AT: '奧地利', + BE: '比利時', + BG: '保加利亞', + BR: '巴西', + CH: '瑞士', + CY: '塞浦路斯', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + EE: '愛沙尼亞', + EL: '希臘', + ES: '西班牙', + FI: '芬蘭', + FR: '法語', + GB: '英國', + GR: '希臘', + HR: '克羅地亞', + HU: '匈牙利', + IE: '愛爾蘭', + IS: '冰島', + IT: '意大利', + LT: '立陶宛', + LU: '盧森堡', + LV: '拉脫維亞', + MT: '馬耳他', + NL: '荷蘭', + NO: '挪威', + PL: '波蘭', + PT: '葡萄牙', + RO: '羅馬尼亞', + RS: '塞爾維亞', + RU: '俄羅斯', + SE: '瑞典', + SI: '斯洛文尼亞', + SK: '斯洛伐克', + VE: '委内瑞拉', + ZA: '南非', + }, + country: '請輸入有效的 %s 國家的VAT(增值税)', + default: '請輸入有效的VAT(增值税)', + }, + vin: { + default: '請輸入有效的VIN(車輛識別號碼)', + }, + zipCode: { + countries: { + AT: '奧地利', + BG: '保加利亞', + BR: '巴西', + CA: '加拿大', + CH: '瑞士', + CZ: '捷克共和國', + DE: '德國', + DK: '丹麥', + ES: '西班牙', + FR: '法國', + GB: '英國', + IE: '愛爾蘭', + IN: '印度', + IT: '意大利', + MA: '摩洛哥', + NL: '荷蘭', + PL: '波蘭', + PT: '葡萄牙', + RO: '羅馬尼亞', + RU: '俄羅斯', + SE: '瑞典', + SG: '新加坡', + SK: '斯洛伐克', + US: '美國', + }, + country: '請輸入有效的 %s 國家的郵政編碼', + default: '請輸入有效的郵政編碼', + }, + }; + + return zh_TW; + +})); diff --git a/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_TW.min.js b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_TW.min.js new file mode 100755 index 00000000..7cf95b16 --- /dev/null +++ b/httpdocs/themes/vuexy/vendor/libs/formvalidation/dist/js/locales/zh_TW.min.js @@ -0,0 +1 @@ +(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,global.FormValidation=global.FormValidation||{},global.FormValidation.locales=global.FormValidation.locales||{},global.FormValidation.locales.zh_TW=factory())})(this,(function(){"use strict";var zh_TW={base64:{default:"請輸入有效的Base64編碼"},between:{default:"請輸入不小於 %s 且不大於 %s 的值",notInclusive:"請輸入不小於等於 %s 且不大於等於 %s 的值"},bic:{default:"請輸入有效的BIC商品編碼"},callback:{default:"請輸入有效的值"},choice:{between:"請選擇 %s 至 %s 個選項",default:"請輸入有效的值",less:"最少選擇 %s 個選項",more:"最多選擇 %s 個選項"},color:{default:"請輸入有效的元色碼"},creditCard:{default:"請輸入有效的信用卡號碼"},cusip:{default:"請輸入有效的CUSIP(美國證券庫斯普)號碼"},date:{default:"請輸入有效的日期",max:"請輸入 %s 或以前的日期",min:"請輸入 %s 或之後的日期",range:"請輸入 %s 至 %s 之間的日期"},different:{default:"請輸入不同的值"},digits:{default:"只能輸入數字"},ean:{default:"請輸入有效的EAN商品編碼"},ein:{default:"請輸入有效的EIN商品編碼"},emailAddress:{default:"請輸入有效的EMAIL"},file:{default:"請選擇有效的檔案"},greaterThan:{default:"請輸入大於等於 %s 的值",notInclusive:"請輸入大於 %s 的值"},grid:{default:"請輸入有效的GRId編碼"},hex:{default:"請輸入有效的16位元碼"},iban:{countries:{AD:"安道​​爾",AE:"阿聯酋",AL:"阿爾巴尼亞",AO:"安哥拉",AT:"奧地利",AZ:"阿塞拜疆",BA:"波斯尼亞和黑塞哥維那",BE:"比利時",BF:"布基納法索",BG:"保加利亞",BH:"巴林",BI:"布隆迪",BJ:"貝寧",BR:"巴西",CH:"瑞士",CI:"象牙海岸",CM:"喀麥隆",CR:"哥斯達黎加",CV:"佛得角",CY:"塞浦路斯",CZ:"捷克共和國",DE:"德國",DK:"丹麥",DO:"多明尼加共和國",DZ:"阿爾及利亞",EE:"愛沙尼亞",ES:"西班牙",FI:"芬蘭",FO:"法羅群島",FR:"法國",GB:"英國",GE:"格魯吉亞",GI:"直布羅陀",GL:"格陵蘭島",GR:"希臘",GT:"危地馬拉",HR:"克羅地亞",HU:"匈牙利",IE:"愛爾蘭",IL:"以色列",IR:"伊朗",IS:"冰島",IT:"意大利",JO:"約旦",KW:"科威特",KZ:"哈薩克斯坦",LB:"黎巴嫩",LI:"列支敦士登",LT:"立陶宛",LU:"盧森堡",LV:"拉脫維亞",MC:"摩納哥",MD:"摩爾多瓦",ME:"蒙特內哥羅",MG:"馬達加斯加",MK:"馬其頓",ML:"馬里",MR:"毛里塔尼亞",MT:"馬耳他",MU:"毛里求斯",MZ:"莫桑比克",NL:"荷蘭",NO:"挪威",PK:"巴基斯坦",PL:"波蘭",PS:"巴勒斯坦",PT:"葡萄牙",QA:"卡塔爾",RO:"羅馬尼亞",RS:"塞爾維亞",SA:"沙特阿拉伯",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",SM:"聖馬力諾",SN:"塞內加爾",TL:"東帝汶",TN:"突尼斯",TR:"土耳其",VG:"英屬維爾京群島",XK:"科索沃共和國"},country:"請輸入有效的 %s 國家的IBAN(國際銀行賬戶)號碼",default:"請輸入有效的IBAN(國際銀行賬戶)號碼"},id:{countries:{BA:"波赫",BG:"保加利亞",BR:"巴西",CH:"瑞士",CL:"智利",CN:"中國",CZ:"捷克共和國",DK:"丹麥",EE:"愛沙尼亞",ES:"西班牙",FI:"芬蘭",HR:"克羅地亞",IE:"愛爾蘭",IS:"冰島",LT:"立陶宛",LV:"拉脫維亞",ME:"蒙特內哥羅",MK:"馬其頓",NL:"荷蘭",PL:"波蘭",RO:"羅馬尼亞",RS:"塞爾維亞",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",SM:"聖馬力諾",TH:"泰國",TR:"土耳其",ZA:"南非"},country:"請輸入有效的 %s 身份證字號",default:"請輸入有效的身份證字號"},identical:{default:"請輸入相同的值"},imei:{default:"請輸入有效的IMEI(手機序列號)"},imo:{default:"請輸入有效的國際海事組織(IMO)號碼"},integer:{default:"請輸入有效的整數"},ip:{default:"請輸入有效的IP位址",ipv4:"請輸入有效的IPv4位址",ipv6:"請輸入有效的IPv6位址"},isbn:{default:"請輸入有效的ISBN(國際標準書號)"},isin:{default:"請輸入有效的ISIN(國際證券號碼)"},ismn:{default:"請輸入有效的ISMN(國際標準音樂編號)"},issn:{default:"請輸入有效的ISSN(國際標準期刊號)"},lessThan:{default:"請輸入小於等於 %s 的值",notInclusive:"請輸入小於 %s 的值"},mac:{default:"請輸入有效的MAC位址"},meid:{default:"請輸入有效的MEID(行動設備識別碼)"},notEmpty:{default:"請填寫必填欄位"},numeric:{default:"請輸入有效的數字(含浮點數)"},phone:{countries:{AE:"阿聯酋",BG:"保加利亞",BR:"巴西",CN:"中国",CZ:"捷克共和國",DE:"德國",DK:"丹麥",ES:"西班牙",FR:"法國",GB:"英國",IN:"印度",MA:"摩洛哥",NL:"荷蘭",PK:"巴基斯坦",RO:"罗马尼亚",RU:"俄羅斯",SK:"斯洛伐克",TH:"泰國",US:"美國",VE:"委内瑞拉"},country:"請輸入有效的 %s 國家的電話號碼",default:"請輸入有效的電話號碼"},promise:{default:"請輸入有效的值"},regexp:{default:"請輸入符合正規表示式所限制的值"},remote:{default:"請輸入有效的值"},rtn:{default:"請輸入有效的RTN號碼"},sedol:{default:"請輸入有效的SEDOL代碼"},siren:{default:"請輸入有效的SIREN號碼"},siret:{default:"請輸入有效的SIRET號碼"},step:{default:"請輸入 %s 的倍數"},stringCase:{default:"只能輸入小寫字母",upper:"只能輸入大寫字母"},stringLength:{between:"請輸入 %s 至 %s 個字",default:"請輸入符合長度限制的值",less:"請輸入小於 %s 個字",more:"請輸入大於 %s 個字"},uri:{default:"請輸入一個有效的鏈接"},uuid:{default:"請輸入有效的UUID",version:"請輸入版本 %s 的UUID"},vat:{countries:{AT:"奧地利",BE:"比利時",BG:"保加利亞",BR:"巴西",CH:"瑞士",CY:"塞浦路斯",CZ:"捷克共和國",DE:"德國",DK:"丹麥",EE:"愛沙尼亞",EL:"希臘",ES:"西班牙",FI:"芬蘭",FR:"法語",GB:"英國",GR:"希臘",HR:"克羅地亞",HU:"匈牙利",IE:"愛爾蘭",IS:"冰島",IT:"意大利",LT:"立陶宛",LU:"盧森堡",LV:"拉脫維亞",MT:"馬耳他",NL:"荷蘭",NO:"挪威",PL:"波蘭",PT:"葡萄牙",RO:"羅馬尼亞",RS:"塞爾維亞",RU:"俄羅斯",SE:"瑞典",SI:"斯洛文尼亞",SK:"斯洛伐克",VE:"委内瑞拉",ZA:"南非"},country:"請輸入有效的 %s 國家的VAT(增值税)",default:"請輸入有效的VAT(增值税)"},vin:{default:"請輸入有效的VIN(車輛識別號碼)"},zipCode:{countries:{AT:"奧地利",BG:"保加利亞",BR:"巴西",CA:"加拿大",CH:"瑞士",CZ:"捷克共和國",DE:"德國",DK:"丹麥",ES:"西班牙",FR:"法國",GB:"英國",IE:"愛爾蘭",IN:"印度",IT:"意大利",MA:"摩洛哥",NL:"荷蘭",PL:"波蘭",PT:"葡萄牙",RO:"羅馬尼亞",RU:"俄羅斯",SE:"瑞典",SG:"新加坡",SK:"斯洛伐克",US:"美國"},country:"請輸入有效的 %s 國家的郵政編碼",default:"請輸入有效的郵政編碼"}};return zh_TW})); \ No newline at end of file diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.ttf new file mode 100755 index 00000000..c6f9a5e7 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.woff new file mode 100755 index 00000000..b804d7b3 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.woff2 new file mode 100755 index 00000000..0acaaff0 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_AMS-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.ttf new file mode 100755 index 00000000..9ff4a5e0 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.woff new file mode 100755 index 00000000..9759710d Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.woff2 new file mode 100755 index 00000000..f390922e Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Bold.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.ttf new file mode 100755 index 00000000..f522294f Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.woff new file mode 100755 index 00000000..9bdd534f Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.woff2 new file mode 100755 index 00000000..75344a1f Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Caligraphic-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.ttf new file mode 100755 index 00000000..4e98259c Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.woff new file mode 100755 index 00000000..e7730f66 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.woff2 new file mode 100755 index 00000000..395f28be Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Bold.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.ttf new file mode 100755 index 00000000..b8461b27 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.woff new file mode 100755 index 00000000..acab069f Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.woff2 new file mode 100755 index 00000000..735f6948 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Fraktur-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.ttf new file mode 100755 index 00000000..4060e627 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.woff new file mode 100755 index 00000000..f38136ac Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.woff2 new file mode 100755 index 00000000..ab2ad21d Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Bold.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.ttf new file mode 100755 index 00000000..dc007977 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.woff new file mode 100755 index 00000000..67807b0b Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.woff2 new file mode 100755 index 00000000..5931794d Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-BoldItalic.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.ttf new file mode 100755 index 00000000..0e9b0f35 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.woff new file mode 100755 index 00000000..6f43b594 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.woff2 new file mode 100755 index 00000000..b50920e1 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Italic.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.ttf new file mode 100755 index 00000000..dd45e1ed Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.woff new file mode 100755 index 00000000..21f58129 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.woff2 new file mode 100755 index 00000000..eb24a7ba Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Main-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.ttf new file mode 100755 index 00000000..728ce7a1 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.woff new file mode 100755 index 00000000..0ae390d7 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.woff2 new file mode 100755 index 00000000..29657023 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-BoldItalic.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.ttf new file mode 100755 index 00000000..70d559b4 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.woff new file mode 100755 index 00000000..eb5159d4 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.woff2 new file mode 100755 index 00000000..215c143f Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Math-Italic.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.ttf new file mode 100755 index 00000000..2f65a8a3 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.woff new file mode 100755 index 00000000..8d47c02d Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.woff2 new file mode 100755 index 00000000..cfaa3bda Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Bold.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.ttf new file mode 100755 index 00000000..d5850df9 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.woff new file mode 100755 index 00000000..7e02df96 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.woff2 new file mode 100755 index 00000000..349c06dc Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Italic.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.ttf new file mode 100755 index 00000000..537279f6 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.woff new file mode 100755 index 00000000..31b84829 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.woff2 new file mode 100755 index 00000000..a90eea85 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_SansSerif-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.ttf new file mode 100755 index 00000000..fd679bf3 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.woff new file mode 100755 index 00000000..0e7da821 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.woff2 new file mode 100755 index 00000000..b3048fc1 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Script-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.ttf new file mode 100755 index 00000000..871fd7d1 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.woff new file mode 100755 index 00000000..7f292d91 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.woff2 new file mode 100755 index 00000000..c5a8462f Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size1-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.ttf new file mode 100755 index 00000000..7a212caf Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.woff new file mode 100755 index 00000000..d241d9be Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.woff2 new file mode 100755 index 00000000..e1bccfe2 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size2-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.ttf new file mode 100755 index 00000000..00bff349 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.woff new file mode 100755 index 00000000..e6e9b658 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.woff2 new file mode 100755 index 00000000..249a2866 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size3-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.ttf new file mode 100755 index 00000000..74f08921 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.woff new file mode 100755 index 00000000..e1ec5457 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.woff2 new file mode 100755 index 00000000..680c1308 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Size4-Regular.woff2 differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.ttf b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.ttf new file mode 100755 index 00000000..c83252c5 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.ttf differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.woff b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.woff new file mode 100755 index 00000000..2432419f Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.woff differ diff --git a/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.woff2 b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.woff2 new file mode 100755 index 00000000..771f1af7 Binary files /dev/null and b/httpdocs/themes/vuexy/vendor/libs/quill/fonts/KaTeX_Typewriter-Regular.woff2 differ