@stratametriq/id-card-designer 1.12.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -27
- package/dist/index.css +19 -0
- package/dist/index.es.js +21443 -20584
- package/dist/index.js +208 -203
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A universal, dynamic, and highly customizable **ID Card Designer & Batch Print Dashboard** for React, Vue, Angular, and Vanilla JS.
|
|
4
4
|
|
|
5
|
-
> **Current release:** 1.
|
|
5
|
+
> **Current release:** 1.13.0
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -10,9 +10,7 @@ A universal, dynamic, and highly customizable **ID Card Designer & Batch Print D
|
|
|
10
10
|
|
|
11
11
|
- [Overview](#overview)
|
|
12
12
|
- [Live Demo](#live-demo)
|
|
13
|
-
- [What's New in v1.
|
|
14
|
-
- [What's New in v1.11.0](#whats-new-in-v1110)
|
|
15
|
-
- [What's New in v1.10.0](#whats-new-in-v1100)
|
|
13
|
+
- [What's New in v1.13.0](#whats-new-in-v1130)
|
|
16
14
|
- [Features](#features)
|
|
17
15
|
- [ID Card Verification & Card Lifecycle](#id-card-verification--card-lifecycle)
|
|
18
16
|
- [How It Works](#how-it-works)
|
|
@@ -53,29 +51,15 @@ You can launch a complete ID card design studio and batch print dashboard with j
|
|
|
53
51
|
|
|
54
52
|
---
|
|
55
53
|
|
|
56
|
-
## What's New in v1.
|
|
57
|
-
- **
|
|
58
|
-
- **
|
|
59
|
-
- **
|
|
60
|
-
- **
|
|
61
|
-
- **
|
|
62
|
-
- **
|
|
63
|
-
- **
|
|
64
|
-
- **
|
|
65
|
-
- **Dynamic Sub-Group (Department / Class) Filter:** Auto-discovers unique sections, roles, or wards with live count badges (`Group: [All Groups (X) ▾]`).
|
|
66
|
-
- **Card Expiry Date & Renewal Tracking:** Dedicated `expiryDate` tracking with automatic `🟡 EXPIRED` flagging and filter chips.
|
|
67
|
-
- **Duplicate ID Collision Detection:** Real-time frequency analysis highlights duplicate badge IDs with `⚠️ DUPLICATE` warning pills.
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## What's New in v1.11.0
|
|
72
|
-
- **ID Card Digital Verification & Card Lifecycle Suite:** Upgrades `@stratametriq/id-card-designer` from a badge design canvas into a complete Enterprise Credential & Anti-Counterfeiting Platform.
|
|
73
|
-
- **Standalone `<IdCardVerificationModal />`:** Mobile-friendly digital verification certificate featuring real-time status banners (🟢 `Active`, 🟣 `Issued`, ⚪ `Draft`, 🟠 `Suspended`, 🔴 `Revoked`, 🚨 `Lost`), official database photo matching, and digital checksum verification.
|
|
74
|
-
- **Built-in HTML5 Camera Scanner:** Optical scanner using `getUserMedia` with targeting reticle overlay for instant badge scanning via laptop webcams or smartphone cameras.
|
|
75
|
-
- **Live Roster Lifecycle Controls:** Added interactive **Status Column** in `<IdCardManager />` with 1-click status switcher dropdowns, row-level **"Verify"** action buttons, and **Batch Action ▾** menu.
|
|
76
|
-
- **Smart Lifecycle Filter Tabs:** 1-Click filter toolbar (`All`, `Active`, `Issued`, `Draft`, `Suspended`, `Revoked`, `Selected`).
|
|
77
|
-
- **Automatic Print Issuance Promotion:** Batch PDF or ZIP export automatically promotes printed cards to **`Issued`** status with an ISO issuance timestamp (`issuedAt`).
|
|
78
|
-
- **Dynamic Verification QR Code Preset:** Dedicated "Verification QR" button and configuration in Property Editor with dynamic URL binding for live scanning.
|
|
54
|
+
## What's New in v1.13.0
|
|
55
|
+
- **Organization & Multi-Tenant Workspace Suite:** Added an enterprise organization profile and branch workspace system into `<IdCardManager />` for schools, universities, hospitals, corporate enterprises, and SaaS host applications.
|
|
56
|
+
- **Institutional Identity & Profile:** Configure Organization Name, Affiliation Code, Tagline, Official Website, Email, Phone, and Headquarters Address.
|
|
57
|
+
- **Top Master Header Organization Pill:** Displays live organization logo, organization name, and active branch workspace with one-click access to settings.
|
|
58
|
+
- **Brand Assets & Digital Signature Manager:** Local file uploaders (converts to base64 Data URL) and direct URL inputs for institutional logos and authorized signatory signatures with instant preview and fallback reset.
|
|
59
|
+
- **Multi-Tenant Workspaces & Campus Branches:** Built-in branch registry supporting multiple campuses or hospital units with 1-click branch switching (`Activate`) and new workspace provisioning.
|
|
60
|
+
- **Verification & Anti-Counterfeiting Security Domain:** Configure custom verification domain (`verificationBaseUrl`), automatically binding dynamic QR codes to `[verificationBaseUrl] + [Cardholder Identifier]` with live verification certificate integration.
|
|
61
|
+
- **Universal Asset Injection:** Dynamically injects `orgAssets: { logoUrl, signatureUrl, orgName, signatoryName, signatoryTitle }` across card previews, studio design canvas, batch PDF engine, and ZIP generator.
|
|
62
|
+
- **Full IndexedDB & .stmq Backup Sync:** Automatically persisted in IndexedDB and preserved in `.stmq` project backups.
|
|
79
63
|
|
|
80
64
|
---
|
|
81
65
|
|
|
@@ -323,6 +307,10 @@ Your application remains responsible for compliance with applicable privacy and
|
|
|
323
307
|
| `sampleRecords` | `object` | Default data | Records used to populate the dashboard |
|
|
324
308
|
| `categories` | `object` | Default config | Custom ID-card categories |
|
|
325
309
|
| `onBatchExportComplete` | `function` | `undefined` | Callback after batch PDF generation |
|
|
310
|
+
| `organization` | `object` | `DEFAULT_ORGANIZATION` | Institution profile (Name, Code, Logo, Signatory, Signature, Verification Base URL) |
|
|
311
|
+
| `onSaveOrganization` | `function` | `undefined` | Callback when organization profile or brand assets are updated |
|
|
312
|
+
| `workspaces` | `array` | `DEFAULT_WORKSPACES` | List of branch workspaces/campuses (`[{ id, name, code, location }]`) |
|
|
313
|
+
| `onSwitchWorkspace` | `function` | `undefined` | Callback when active branch workspace changes |
|
|
326
314
|
|
|
327
315
|
### Templates
|
|
328
316
|
Designs are represented as JSON-compatible template structures.
|
package/dist/index.css
CHANGED
|
@@ -1512,4 +1512,23 @@ body, button, input, select, textarea {
|
|
|
1512
1512
|
user-select: none !important;
|
|
1513
1513
|
overflow: hidden;
|
|
1514
1514
|
box-sizing: border-box;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
/* Modal Dialog Layer */
|
|
1518
|
+
.pg-modal-overlay {
|
|
1519
|
+
position: fixed !important;
|
|
1520
|
+
inset: 0 !important;
|
|
1521
|
+
background-color: rgba(11, 15, 25, 0.85) !important;
|
|
1522
|
+
backdrop-filter: blur(8px) !important;
|
|
1523
|
+
-webkit-backdrop-filter: blur(8px) !important;
|
|
1524
|
+
z-index: 99999 !important;
|
|
1525
|
+
display: flex !important;
|
|
1526
|
+
align-items: center !important;
|
|
1527
|
+
justify-content: center !important;
|
|
1528
|
+
padding: 1.25rem !important;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
.pg-modal-content,
|
|
1532
|
+
.pg-modal-container {
|
|
1533
|
+
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
|
|
1515
1534
|
}
|