littleshop/LittleShop/wwwroot/lib/handsontable/languages/fr-FR.js
sysadmin 76efba55bd feat: Phase 2.5 - Variant Collections Spreadsheet Editor
Replaces JSON textarea with professional Excel-like spreadsheet interface for managing product variant properties.

Features:
- Handsontable 14.6.1 spreadsheet component
- Property presets (Size, Color, Material, Storage, Custom)
- Inline cell editing with Tab/Enter navigation
- Context menu for add/remove rows and columns
- Keyboard shortcuts (Ctrl+D delete, Ctrl+Enter save, Ctrl+Z undo)
- Mobile touch gestures (swipe to delete rows)
- Automatic JSON serialization on form submit
- Form validation before saving
- Comprehensive user guide documentation

Files Changed:
- LittleShop/package.json: NPM package management setup
- LittleShop/wwwroot/js/variant-editor.js: 400-line spreadsheet editor module
- LittleShop/wwwroot/lib/handsontable/: Handsontable library (Community Edition)
- LittleShop/wwwroot/lib/hammerjs/: Hammer.js touch gesture library
- LittleShop/Areas/Admin/Views/VariantCollections/Edit.cshtml: Spreadsheet UI integration
- VARIANT_COLLECTIONS_USER_GUIDE.md: Complete user guide (18+ pages)

Technical Details:
- Excel-like editing experience (no more manual JSON editing)
- Mobile-first responsive design
- Browser compatibility: Chrome 90+, Firefox 88+, Edge 90+, Safari 14+
- Touch-optimized for mobile administration
- Automatic data validation and error handling
2025-11-13 19:40:06 +00:00

161 lines
6.8 KiB
JavaScript

(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("handsontable"));
else if(typeof define === 'function' && define.amd)
define(["handsontable"], factory);
else {
var a = typeof exports === 'object' ? factory(require("handsontable")) : factory(root["Handsontable"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(typeof self !== 'undefined' ? self : this, (__WEBPACK_EXTERNAL_MODULE__2__) => {
return /******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ([
/* 0 */,
/* 1 */
/***/ ((module) => {
function _interopRequireDefault(e) {
return e && e.__esModule ? e : {
"default": e
};
}
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/* 2 */
/***/ ((module) => {
"use strict";
module.exports = __WEBPACK_EXTERNAL_MODULE__2__;
/***/ })
/******/ ]);
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
(() => {
"use strict";
var exports = __webpack_exports__;
var _interopRequireDefault = __webpack_require__(1);
exports.__esModule = true;
var _handsontable = _interopRequireDefault(__webpack_require__(2));
/**
* @preserve
* Authors: Stefan Salzl, Thomas Senn
* Last updated: Feb 05, 2018
*
* Description: Definition file for French - France language-country.
*/
const C = _handsontable.default.languages.dictionaryKeys;
const dictionary = {
languageCode: 'fr-FR',
[C.CONTEXTMENU_ITEMS_ROW_ABOVE]: 'Insérer une ligne en haut',
[C.CONTEXTMENU_ITEMS_ROW_BELOW]: 'Insérer une ligne en bas',
[C.CONTEXTMENU_ITEMS_INSERT_LEFT]: 'Insérer une colonne à gauche',
[C.CONTEXTMENU_ITEMS_INSERT_RIGHT]: 'Insérer une colonne à droite',
[C.CONTEXTMENU_ITEMS_REMOVE_ROW]: ['Supprimer une ligne', 'Supprimer les lignes'],
[C.CONTEXTMENU_ITEMS_REMOVE_COLUMN]: ['Supprimer une colonne', 'Supprimer les colonnes'],
[C.CONTEXTMENU_ITEMS_UNDO]: 'Annuler',
[C.CONTEXTMENU_ITEMS_REDO]: 'Rétablir',
[C.CONTEXTMENU_ITEMS_READ_ONLY]: 'Lecture seule',
[C.CONTEXTMENU_ITEMS_CLEAR_COLUMN]: 'Effacer la colonne',
[C.CONTEXTMENU_ITEMS_ALIGNMENT]: 'Alignement',
[C.CONTEXTMENU_ITEMS_ALIGNMENT_LEFT]: 'Gauche',
[C.CONTEXTMENU_ITEMS_ALIGNMENT_CENTER]: 'Centre',
[C.CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT]: 'Droite',
[C.CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY]: 'Justifié',
[C.CONTEXTMENU_ITEMS_ALIGNMENT_TOP]: 'En haut',
[C.CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE]: 'Au milieu',
[C.CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM]: 'En bas',
[C.CONTEXTMENU_ITEMS_FREEZE_COLUMN]: 'Figer la colonne',
[C.CONTEXTMENU_ITEMS_UNFREEZE_COLUMN]: 'Libérer la colonne',
[C.CONTEXTMENU_ITEMS_BORDERS]: 'Bordures',
[C.CONTEXTMENU_ITEMS_BORDERS_TOP]: 'Supérieure',
[C.CONTEXTMENU_ITEMS_BORDERS_RIGHT]: 'Droite',
[C.CONTEXTMENU_ITEMS_BORDERS_BOTTOM]: 'Inférieure',
[C.CONTEXTMENU_ITEMS_BORDERS_LEFT]: 'Gauche',
[C.CONTEXTMENU_ITEMS_REMOVE_BORDERS]: 'Pas de bordure',
[C.CONTEXTMENU_ITEMS_ADD_COMMENT]: 'Ajouter commentaire',
[C.CONTEXTMENU_ITEMS_EDIT_COMMENT]: 'Modifier commentaire',
[C.CONTEXTMENU_ITEMS_REMOVE_COMMENT]: 'Supprimer commentaire',
[C.CONTEXTMENU_ITEMS_READ_ONLY_COMMENT]: 'Commentaire en lecture seule',
[C.CONTEXTMENU_ITEMS_MERGE_CELLS]: 'Fusionner les cellules',
[C.CONTEXTMENU_ITEMS_UNMERGE_CELLS]: 'Séparer les cellules',
[C.CONTEXTMENU_ITEMS_COPY]: 'Copier',
[C.CONTEXTMENU_ITEMS_CUT]: 'Couper',
[C.CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD]: 'Insérer une sous-ligne',
[C.CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD]: 'Détacher de la ligne précédente',
[C.CONTEXTMENU_ITEMS_HIDE_COLUMN]: ['Masquer colonne', 'Masquer les colonnes'],
[C.CONTEXTMENU_ITEMS_SHOW_COLUMN]: ['Afficher colonne', 'Afficher les colonnes'],
[C.CONTEXTMENU_ITEMS_HIDE_ROW]: ['Masquer ligne', 'Masquer les lignes'],
[C.CONTEXTMENU_ITEMS_SHOW_ROW]: ['Afficher ligne', 'Afficher les lignes'],
[C.FILTERS_CONDITIONS_NONE]: 'Aucun',
[C.FILTERS_CONDITIONS_EMPTY]: 'Est vide',
[C.FILTERS_CONDITIONS_NOT_EMPTY]: 'N\'est pas vide',
[C.FILTERS_CONDITIONS_EQUAL]: 'Egal à',
[C.FILTERS_CONDITIONS_NOT_EQUAL]: 'Est différent de',
[C.FILTERS_CONDITIONS_BEGINS_WITH]: 'Commence par',
[C.FILTERS_CONDITIONS_ENDS_WITH]: 'Finit par',
[C.FILTERS_CONDITIONS_CONTAINS]: 'Contient',
[C.FILTERS_CONDITIONS_NOT_CONTAIN]: 'Ne contient pas',
[C.FILTERS_CONDITIONS_GREATER_THAN]: 'Supérieur à',
[C.FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL]: 'Supérieur ou égal à',
[C.FILTERS_CONDITIONS_LESS_THAN]: 'Inférieur à',
[C.FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL]: 'Inférieur ou égal à',
[C.FILTERS_CONDITIONS_BETWEEN]: 'Est compris entre',
[C.FILTERS_CONDITIONS_NOT_BETWEEN]: 'N\'est pas compris entre',
[C.FILTERS_CONDITIONS_AFTER]: 'Après le',
[C.FILTERS_CONDITIONS_BEFORE]: 'Avant le',
[C.FILTERS_CONDITIONS_TODAY]: 'Aujourd\'hui',
[C.FILTERS_CONDITIONS_TOMORROW]: 'Demain',
[C.FILTERS_CONDITIONS_YESTERDAY]: 'Hier',
[C.FILTERS_VALUES_BLANK_CELLS]: 'Cellules vides',
[C.FILTERS_DIVS_FILTER_BY_CONDITION]: 'Filtrer par conditions',
[C.FILTERS_DIVS_FILTER_BY_VALUE]: 'Filtrer par valeurs',
[C.FILTERS_LABELS_CONJUNCTION]: 'Et',
[C.FILTERS_LABELS_DISJUNCTION]: 'Ou',
[C.FILTERS_BUTTONS_SELECT_ALL]: 'Tout sélectionner',
[C.FILTERS_BUTTONS_CLEAR]: 'Effacer la sélection',
[C.FILTERS_BUTTONS_OK]: 'OK',
[C.FILTERS_BUTTONS_CANCEL]: 'Annuler',
[C.FILTERS_BUTTONS_PLACEHOLDER_SEARCH]: 'Chercher',
[C.FILTERS_BUTTONS_PLACEHOLDER_VALUE]: 'Valeur',
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: 'Valeur de remplacement'
};
_handsontable.default.languages.registerLanguageDictionary(dictionary);
var _default = exports["default"] = dictionary;
})();
__webpack_exports__ = __webpack_exports__.___;
/******/ return __webpack_exports__;
/******/ })()
;
});