=== MEC Seat ===

Contributors: webnus
Tags: events, booking, seats, modern events calendar, mec
Requires at least: 6.2
Tested up to: 6.9
Stable tag: 2.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This plugin enables you to sell seats in any spot and create a layout plan for them with Modern Events Calendar.

== Description ==

MEC Seat provides a canvas seat map designer, booking flow integration, and optional migration from classic seat layouts.

== Development ==

1. composer install
2. npm install
3. npm run build
4. Activate from `mec-seat.php` (dev folder may still be named `mec-seat-plan` on disk).

== Release zip ==

* `npm run release` — builds assets, stages `dist/mec-seat/`, creates `../mec-seat.zip` (WordPress-ready).
* Zip root folder: **`mec-seat/`** with main file **`mec-seat.php`** — replaces the classic add-on in-place on customer sites.
* Optional env: `MEC_SB_RELEASE_SLUG`, `MEC_SB_RELEASE_NAME`.

Release contents: `mec-seat.php`, `build/`, `includes/`, `templates/`, `src/checkLicense/`, `languages/`, `vendor/`, `assets/`, `composer.json`, `readme.txt`.

== Changelog ==

= 2.0.0 - 5 July 2026 =
- Major: Canvas seat map builder replaces the classic grid editor.
- Migration: Manual "Seat legacy migration" tool imports classic layouts, bookings, and table areas.
- License: Existing purchase codes and auto-update channel unchanged (mec-seat slug).
- Shortcodes: Use [mec-seats] for map preview.

= 1.5.0 - 15 December 2025 =
- Fixed: Selection issue for seats adjacent to hidden seats.
- Fixed: Scrambled display and layout in Area Settings.

= 1.4.0 - 28 September 2024 =
- Added: Ability to edit the name of each seat.
- Fixed: Seat shortcode not displaying output on frontend.
- Fixed: Seat name changes not reflected in booking details and invoices.
- Fixed: Some minor issues.

= 1.3.0 - 23 June 2024 =
- Added: Display types for seat id
- Optimized: Loading styles and scripts
- Fixed: Some minor issues

= 1.2.0 - 25 October 2023 =
- Added: Mode to display seat
- Added: Different seat number mode
- Added: Seat pending time
- Added: Seat options for different area
- Added: Options to change the row and column names
- Added: mec-seat shortcode to display seats separately
- Improved: Seat icons
- Changed: Display seat number in ticket
- Fixed: Backend style
- Fixed: Some minor issues

= 1.1.5 - 16 August 2023 =
- Fixed: Some minor issues

= 1.1.3 - 11 June 2023 =
- Fixed: Some minor issues

= 1.1.2 - 13 February 2023 =
- Fixed: Some minor issues

= 1.1.1 - 9 December 2022 =
- Fixed: Activation

= 1.1.0 - 3 October 2022 =
- Fixed: Seat number in Booking

= 1.0.0 - 6 September 2022 =
- Initial Release.