indas-ui 0.1.7 → 0.1.9
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/dist/cjs/components/dashboard/charts/BoxPlot.js +5 -5
- package/dist/cjs/components/dashboard/charts/Gantt.js +30 -30
- package/dist/cjs/components/dashboard/charts/Pareto.js +2 -2
- package/dist/cjs/components/datagrid/DataGrid.js +10 -10
- package/dist/cjs/components/datagrid/controls/menu/view/CardView.js +6 -6
- package/dist/cjs/components/modals/Modal.js +53 -10
- package/dist/cjs/components/ui/chart.js +4 -4
- package/dist/cjs/contexts/ThemeContext.js +52 -52
- package/dist/cjs/lib/api/activity/email/templates.js +218 -218
- package/dist/cjs/lib/theme/utils.js +26 -26
- package/dist/cjs/lib/vision/dieline-extractor.js +76 -76
- package/dist/cjs/locales/de.json +78 -78
- package/dist/cjs/locales/en.json +2217 -2217
- package/dist/cjs/locales/es.json +78 -78
- package/dist/cjs/locales/fr.json +77 -77
- package/dist/cjs/locales/hi.json +1599 -1599
- package/dist/cjs/services/GlobalLoadingService.js +37 -37
- package/dist/cjs/styles/grid-themes.css +345 -345
- package/dist/cjs/styles/sidebar-scrollbar.css +45 -45
- package/dist/cjs/styles/tokens.css +712 -712
- package/dist/components/dashboard/charts/BoxPlot.js +5 -5
- package/dist/components/dashboard/charts/Gantt.js +30 -30
- package/dist/components/dashboard/charts/Pareto.js +2 -2
- package/dist/components/datagrid/DataGrid.js +10 -10
- package/dist/components/datagrid/controls/menu/view/CardView.js +6 -6
- package/dist/components/modals/Modal.js +53 -10
- package/dist/components/ui/chart.js +4 -4
- package/dist/contexts/ThemeContext.js +52 -52
- package/dist/lib/api/activity/email/templates.js +218 -218
- package/dist/lib/theme/utils.js +26 -26
- package/dist/lib/vision/dieline-extractor.js +76 -76
- package/dist/locales/de.json +78 -78
- package/dist/locales/en.json +2217 -2217
- package/dist/locales/es.json +78 -78
- package/dist/locales/fr.json +77 -77
- package/dist/locales/hi.json +1599 -1599
- package/dist/services/GlobalLoadingService.js +37 -37
- package/dist/styles/grid-themes.css +345 -345
- package/dist/styles/sidebar-scrollbar.css +45 -45
- package/dist/styles/tokens.css +712 -712
- package/package.json +196 -196
|
@@ -5,32 +5,32 @@ export const SYSTEM_EMAIL_TEMPLATES = [
|
|
|
5
5
|
id: 'quotation-send',
|
|
6
6
|
name: 'Quotation Submission',
|
|
7
7
|
subject: 'Quotation #{{quotationNumber}} - {{companyName}}',
|
|
8
|
-
body: `Dear {{clientName}},
|
|
9
|
-
|
|
10
|
-
Thank you for your inquiry. Please find attached our detailed quotation for your requirements.
|
|
11
|
-
|
|
12
|
-
**Quotation Details:**
|
|
13
|
-
- Quotation Number: {{quotationNumber}}
|
|
14
|
-
- Valid Until: {{validUntil}}
|
|
15
|
-
- Total Amount: {{totalAmount}}
|
|
16
|
-
|
|
17
|
-
**Key Deliverables:**
|
|
18
|
-
{{#each deliverables}}
|
|
19
|
-
- {{this.name}}: {{this.description}}
|
|
20
|
-
{{/each}}
|
|
21
|
-
|
|
22
|
-
**Terms & Conditions:**
|
|
23
|
-
1. Payment Terms: {{paymentTerms}}
|
|
24
|
-
2. Delivery Timeline: {{deliveryTimeline}}
|
|
25
|
-
3. Warranty: {{warrantyPeriod}}
|
|
26
|
-
|
|
27
|
-
Please feel free to contact us if you have any questions or need any clarifications.
|
|
28
|
-
|
|
29
|
-
Best regards,
|
|
30
|
-
{{senderName}}
|
|
31
|
-
{{senderTitle}}
|
|
32
|
-
{{companyName}}
|
|
33
|
-
{{contactNumber}}
|
|
8
|
+
body: `Dear {{clientName}},
|
|
9
|
+
|
|
10
|
+
Thank you for your inquiry. Please find attached our detailed quotation for your requirements.
|
|
11
|
+
|
|
12
|
+
**Quotation Details:**
|
|
13
|
+
- Quotation Number: {{quotationNumber}}
|
|
14
|
+
- Valid Until: {{validUntil}}
|
|
15
|
+
- Total Amount: {{totalAmount}}
|
|
16
|
+
|
|
17
|
+
**Key Deliverables:**
|
|
18
|
+
{{#each deliverables}}
|
|
19
|
+
- {{this.name}}: {{this.description}}
|
|
20
|
+
{{/each}}
|
|
21
|
+
|
|
22
|
+
**Terms & Conditions:**
|
|
23
|
+
1. Payment Terms: {{paymentTerms}}
|
|
24
|
+
2. Delivery Timeline: {{deliveryTimeline}}
|
|
25
|
+
3. Warranty: {{warrantyPeriod}}
|
|
26
|
+
|
|
27
|
+
Please feel free to contact us if you have any questions or need any clarifications.
|
|
28
|
+
|
|
29
|
+
Best regards,
|
|
30
|
+
{{senderName}}
|
|
31
|
+
{{senderTitle}}
|
|
32
|
+
{{companyName}}
|
|
33
|
+
{{contactNumber}}
|
|
34
34
|
{{emailAddress}}`,
|
|
35
35
|
variables: [
|
|
36
36
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -57,22 +57,22 @@ Best regards,
|
|
|
57
57
|
id: 'quotation-followup',
|
|
58
58
|
name: 'Quotation Follow-up',
|
|
59
59
|
subject: 'Follow-up: Quotation #{{quotationNumber}}',
|
|
60
|
-
body: `Dear {{clientName}},
|
|
61
|
-
|
|
62
|
-
I hope this email finds you well.
|
|
63
|
-
|
|
64
|
-
I'm following up on the quotation we sent you on {{quotationDate}} for {{projectDescription}}.
|
|
65
|
-
|
|
66
|
-
Just wanted to check if you've had a chance to review our proposal and if you have any questions or need any clarifications.
|
|
67
|
-
|
|
68
|
-
Our quotation #{{quotationNumber}} is valid until {{validUntil}}, and we'd be happy to discuss any adjustments to meet your specific requirements.
|
|
69
|
-
|
|
70
|
-
Would you be available for a quick call this week to discuss this further?
|
|
71
|
-
|
|
72
|
-
Best regards,
|
|
73
|
-
{{senderName}}
|
|
74
|
-
{{senderTitle}}
|
|
75
|
-
{{companyName}}
|
|
60
|
+
body: `Dear {{clientName}},
|
|
61
|
+
|
|
62
|
+
I hope this email finds you well.
|
|
63
|
+
|
|
64
|
+
I'm following up on the quotation we sent you on {{quotationDate}} for {{projectDescription}}.
|
|
65
|
+
|
|
66
|
+
Just wanted to check if you've had a chance to review our proposal and if you have any questions or need any clarifications.
|
|
67
|
+
|
|
68
|
+
Our quotation #{{quotationNumber}} is valid until {{validUntil}}, and we'd be happy to discuss any adjustments to meet your specific requirements.
|
|
69
|
+
|
|
70
|
+
Would you be available for a quick call this week to discuss this further?
|
|
71
|
+
|
|
72
|
+
Best regards,
|
|
73
|
+
{{senderName}}
|
|
74
|
+
{{senderTitle}}
|
|
75
|
+
{{companyName}}
|
|
76
76
|
{{contactNumber}}`,
|
|
77
77
|
variables: [
|
|
78
78
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -95,38 +95,38 @@ Best regards,
|
|
|
95
95
|
id: 'order-confirmation',
|
|
96
96
|
name: 'Order Confirmation',
|
|
97
97
|
subject: 'Order Confirmation #{{orderNumber}}',
|
|
98
|
-
body: `Dear {{clientName}},
|
|
99
|
-
|
|
100
|
-
We are pleased to confirm your order #{{orderNumber}} placed on {{orderDate}}.
|
|
101
|
-
|
|
102
|
-
**Order Details:**
|
|
103
|
-
- Order Number: {{orderNumber}}
|
|
104
|
-
- Order Date: {{orderDate}}
|
|
105
|
-
- Expected Delivery: {{deliveryDate}}
|
|
106
|
-
|
|
107
|
-
**Items Ordered:**
|
|
108
|
-
{{#each items}}
|
|
109
|
-
- {{this.name}} ({{this.quantity}} units) - {{this.price}}
|
|
110
|
-
{{/each}}
|
|
111
|
-
|
|
112
|
-
**Total Amount:** {{totalAmount}}
|
|
113
|
-
|
|
114
|
-
**Payment Information:**
|
|
115
|
-
- Payment Method: {{paymentMethod}}
|
|
116
|
-
- Payment Status: {{paymentStatus}}
|
|
117
|
-
|
|
118
|
-
**Delivery Information:**
|
|
119
|
-
- Delivery Address: {{deliveryAddress}}
|
|
120
|
-
- Contact Person: {{contactPerson}}
|
|
121
|
-
- Contact Number: {{contactNumber}}
|
|
122
|
-
|
|
123
|
-
We will notify you once your order is ready for dispatch.
|
|
124
|
-
|
|
125
|
-
Thank you for your business!
|
|
126
|
-
|
|
127
|
-
Best regards,
|
|
128
|
-
{{senderName}}
|
|
129
|
-
{{senderTitle}}
|
|
98
|
+
body: `Dear {{clientName}},
|
|
99
|
+
|
|
100
|
+
We are pleased to confirm your order #{{orderNumber}} placed on {{orderDate}}.
|
|
101
|
+
|
|
102
|
+
**Order Details:**
|
|
103
|
+
- Order Number: {{orderNumber}}
|
|
104
|
+
- Order Date: {{orderDate}}
|
|
105
|
+
- Expected Delivery: {{deliveryDate}}
|
|
106
|
+
|
|
107
|
+
**Items Ordered:**
|
|
108
|
+
{{#each items}}
|
|
109
|
+
- {{this.name}} ({{this.quantity}} units) - {{this.price}}
|
|
110
|
+
{{/each}}
|
|
111
|
+
|
|
112
|
+
**Total Amount:** {{totalAmount}}
|
|
113
|
+
|
|
114
|
+
**Payment Information:**
|
|
115
|
+
- Payment Method: {{paymentMethod}}
|
|
116
|
+
- Payment Status: {{paymentStatus}}
|
|
117
|
+
|
|
118
|
+
**Delivery Information:**
|
|
119
|
+
- Delivery Address: {{deliveryAddress}}
|
|
120
|
+
- Contact Person: {{contactPerson}}
|
|
121
|
+
- Contact Number: {{contactNumber}}
|
|
122
|
+
|
|
123
|
+
We will notify you once your order is ready for dispatch.
|
|
124
|
+
|
|
125
|
+
Thank you for your business!
|
|
126
|
+
|
|
127
|
+
Best regards,
|
|
128
|
+
{{senderName}}
|
|
129
|
+
{{senderTitle}}
|
|
130
130
|
{{companyName}}`,
|
|
131
131
|
variables: [
|
|
132
132
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -154,32 +154,32 @@ Best regards,
|
|
|
154
154
|
id: 'invoice-send',
|
|
155
155
|
name: 'Invoice',
|
|
156
156
|
subject: 'Invoice #{{invoiceNumber}}',
|
|
157
|
-
body: `Dear {{clientName}},
|
|
158
|
-
|
|
159
|
-
Please find attached our invoice #{{invoiceNumber}} for the services/products provided.
|
|
160
|
-
|
|
161
|
-
**Invoice Details:**
|
|
162
|
-
- Invoice Number: {{invoiceNumber}}
|
|
163
|
-
- Invoice Date: {{invoiceDate}}
|
|
164
|
-
- Due Date: {{dueDate}}
|
|
165
|
-
- Purchase Order: {{purchaseOrderNumber}}
|
|
166
|
-
|
|
167
|
-
**Amount Due:** {{totalAmount}}
|
|
168
|
-
|
|
169
|
-
**Payment Details:**
|
|
170
|
-
- Bank Name: {{bankName}}
|
|
171
|
-
- Account Number: {{accountNumber}}
|
|
172
|
-
- IFSC Code: {{ifscCode}}
|
|
173
|
-
- Account Holder: {{accountHolder}}
|
|
174
|
-
|
|
175
|
-
Please make the payment before the due date to avoid any late payment charges.
|
|
176
|
-
|
|
177
|
-
Thank you for your prompt payment.
|
|
178
|
-
|
|
179
|
-
Best regards,
|
|
180
|
-
{{senderName}}
|
|
181
|
-
{{senderTitle}}
|
|
182
|
-
{{companyName}}
|
|
157
|
+
body: `Dear {{clientName}},
|
|
158
|
+
|
|
159
|
+
Please find attached our invoice #{{invoiceNumber}} for the services/products provided.
|
|
160
|
+
|
|
161
|
+
**Invoice Details:**
|
|
162
|
+
- Invoice Number: {{invoiceNumber}}
|
|
163
|
+
- Invoice Date: {{invoiceDate}}
|
|
164
|
+
- Due Date: {{dueDate}}
|
|
165
|
+
- Purchase Order: {{purchaseOrderNumber}}
|
|
166
|
+
|
|
167
|
+
**Amount Due:** {{totalAmount}}
|
|
168
|
+
|
|
169
|
+
**Payment Details:**
|
|
170
|
+
- Bank Name: {{bankName}}
|
|
171
|
+
- Account Number: {{accountNumber}}
|
|
172
|
+
- IFSC Code: {{ifscCode}}
|
|
173
|
+
- Account Holder: {{accountHolder}}
|
|
174
|
+
|
|
175
|
+
Please make the payment before the due date to avoid any late payment charges.
|
|
176
|
+
|
|
177
|
+
Thank you for your prompt payment.
|
|
178
|
+
|
|
179
|
+
Best regards,
|
|
180
|
+
{{senderName}}
|
|
181
|
+
{{senderTitle}}
|
|
182
|
+
{{companyName}}
|
|
183
183
|
{{contactNumber}}`,
|
|
184
184
|
variables: [
|
|
185
185
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -207,31 +207,31 @@ Best regards,
|
|
|
207
207
|
id: 'payment-reminder',
|
|
208
208
|
name: 'Payment Reminder',
|
|
209
209
|
subject: 'Payment Reminder: Invoice #{{invoiceNumber}}',
|
|
210
|
-
body: `Dear {{clientName}},
|
|
211
|
-
|
|
212
|
-
This is a gentle reminder that your payment for invoice #{{invoiceNumber}} is due on {{dueDate}}.
|
|
213
|
-
|
|
214
|
-
**Invoice Details:**
|
|
215
|
-
- Invoice Number: {{invoiceNumber}}
|
|
216
|
-
- Invoice Date: {{invoiceDate}}
|
|
217
|
-
- Due Date: {{dueDate}}
|
|
218
|
-
- Amount Due: {{amountDue}}
|
|
219
|
-
|
|
220
|
-
If you have already made the payment, please disregard this email. If not, we request you to make the payment at your earliest convenience.
|
|
221
|
-
|
|
222
|
-
**Payment Details:**
|
|
223
|
-
- Bank Name: {{bankName}}
|
|
224
|
-
- Account Number: {{accountNumber}}
|
|
225
|
-
- IFSC Code: {{ifscCode}}
|
|
226
|
-
|
|
227
|
-
If you have any questions regarding the invoice or payment, please don't hesitate to contact us.
|
|
228
|
-
|
|
229
|
-
Thank you for your cooperation.
|
|
230
|
-
|
|
231
|
-
Best regards,
|
|
232
|
-
{{senderName}}
|
|
233
|
-
{{senderTitle}}
|
|
234
|
-
{{companyName}}
|
|
210
|
+
body: `Dear {{clientName}},
|
|
211
|
+
|
|
212
|
+
This is a gentle reminder that your payment for invoice #{{invoiceNumber}} is due on {{dueDate}}.
|
|
213
|
+
|
|
214
|
+
**Invoice Details:**
|
|
215
|
+
- Invoice Number: {{invoiceNumber}}
|
|
216
|
+
- Invoice Date: {{invoiceDate}}
|
|
217
|
+
- Due Date: {{dueDate}}
|
|
218
|
+
- Amount Due: {{amountDue}}
|
|
219
|
+
|
|
220
|
+
If you have already made the payment, please disregard this email. If not, we request you to make the payment at your earliest convenience.
|
|
221
|
+
|
|
222
|
+
**Payment Details:**
|
|
223
|
+
- Bank Name: {{bankName}}
|
|
224
|
+
- Account Number: {{accountNumber}}
|
|
225
|
+
- IFSC Code: {{ifscCode}}
|
|
226
|
+
|
|
227
|
+
If you have any questions regarding the invoice or payment, please don't hesitate to contact us.
|
|
228
|
+
|
|
229
|
+
Thank you for your cooperation.
|
|
230
|
+
|
|
231
|
+
Best regards,
|
|
232
|
+
{{senderName}}
|
|
233
|
+
{{senderTitle}}
|
|
234
|
+
{{companyName}}
|
|
235
235
|
{{contactNumber}}`,
|
|
236
236
|
variables: [
|
|
237
237
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -257,34 +257,34 @@ Best regards,
|
|
|
257
257
|
id: 'welcome-email',
|
|
258
258
|
name: 'Welcome Email',
|
|
259
259
|
subject: 'Welcome to {{companyName}}!',
|
|
260
|
-
body: `Dear {{clientName}},
|
|
261
|
-
|
|
262
|
-
Welcome to {{companyName}}! We're thrilled to have you as our valued client.
|
|
263
|
-
|
|
264
|
-
As a new client, you now have access to:
|
|
265
|
-
- Premium quality products/services
|
|
266
|
-
- Competitive pricing
|
|
267
|
-
- Excellent customer support
|
|
268
|
-
- Fast delivery services
|
|
269
|
-
|
|
270
|
-
**Your Account Information:**
|
|
271
|
-
- Client ID: {{clientId}}
|
|
272
|
-
- Email: {{email}}
|
|
273
|
-
- Phone: {{phone}}
|
|
274
|
-
|
|
275
|
-
**Next Steps:**
|
|
276
|
-
1. Browse our catalog of products/services
|
|
277
|
-
2. Request quotations for your requirements
|
|
278
|
-
3. Place orders and track deliveries
|
|
279
|
-
4. Manage your account online
|
|
280
|
-
|
|
281
|
-
Our team is here to help you with any questions or assistance you may need. Feel free to reach out to us at {{supportEmail}} or call {{supportPhone}}.
|
|
282
|
-
|
|
283
|
-
Thank you for choosing {{companyName}}!
|
|
284
|
-
|
|
285
|
-
Best regards,
|
|
286
|
-
{{senderName}}
|
|
287
|
-
{{senderTitle}}
|
|
260
|
+
body: `Dear {{clientName}},
|
|
261
|
+
|
|
262
|
+
Welcome to {{companyName}}! We're thrilled to have you as our valued client.
|
|
263
|
+
|
|
264
|
+
As a new client, you now have access to:
|
|
265
|
+
- Premium quality products/services
|
|
266
|
+
- Competitive pricing
|
|
267
|
+
- Excellent customer support
|
|
268
|
+
- Fast delivery services
|
|
269
|
+
|
|
270
|
+
**Your Account Information:**
|
|
271
|
+
- Client ID: {{clientId}}
|
|
272
|
+
- Email: {{email}}
|
|
273
|
+
- Phone: {{phone}}
|
|
274
|
+
|
|
275
|
+
**Next Steps:**
|
|
276
|
+
1. Browse our catalog of products/services
|
|
277
|
+
2. Request quotations for your requirements
|
|
278
|
+
3. Place orders and track deliveries
|
|
279
|
+
4. Manage your account online
|
|
280
|
+
|
|
281
|
+
Our team is here to help you with any questions or assistance you may need. Feel free to reach out to us at {{supportEmail}} or call {{supportPhone}}.
|
|
282
|
+
|
|
283
|
+
Thank you for choosing {{companyName}}!
|
|
284
|
+
|
|
285
|
+
Best regards,
|
|
286
|
+
{{senderName}}
|
|
287
|
+
{{senderTitle}}
|
|
288
288
|
{{companyName}}`,
|
|
289
289
|
variables: [
|
|
290
290
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -307,38 +307,38 @@ Best regards,
|
|
|
307
307
|
id: 'general-inquiry',
|
|
308
308
|
name: 'General Inquiry Response',
|
|
309
309
|
subject: 'Re: {{subject}}',
|
|
310
|
-
body: `Dear {{clientName}},
|
|
311
|
-
|
|
312
|
-
Thank you for your inquiry regarding {{inquirySubject}}.
|
|
313
|
-
|
|
314
|
-
{{#if hasAnswer}}
|
|
315
|
-
I'm pleased to provide you with the following information:
|
|
316
|
-
|
|
317
|
-
{{responseContent}}
|
|
318
|
-
|
|
319
|
-
{{/if}}
|
|
320
|
-
{{#unless hasAnswer}}
|
|
321
|
-
I've received your inquiry and I'm looking into the details. I'll get back to you with a comprehensive response within {{responseTime}}.
|
|
322
|
-
|
|
323
|
-
{{/unless}}
|
|
324
|
-
|
|
325
|
-
{{#if requiresFollowup}}
|
|
326
|
-
I may need some additional information to assist you better:
|
|
327
|
-
- {{additionalInfoNeeded}}
|
|
328
|
-
|
|
329
|
-
{{/if}}
|
|
330
|
-
{{#if nextSteps}}
|
|
331
|
-
**Next Steps:**
|
|
332
|
-
{{nextSteps}}
|
|
333
|
-
|
|
334
|
-
{{/if}}
|
|
335
|
-
If you have any immediate questions, please don't hesitate to contact me at {{contactNumber}} or reply to this email.
|
|
336
|
-
|
|
337
|
-
Best regards,
|
|
338
|
-
{{senderName}}
|
|
339
|
-
{{senderTitle}}
|
|
340
|
-
{{companyName}}
|
|
341
|
-
{{contactNumber}}
|
|
310
|
+
body: `Dear {{clientName}},
|
|
311
|
+
|
|
312
|
+
Thank you for your inquiry regarding {{inquirySubject}}.
|
|
313
|
+
|
|
314
|
+
{{#if hasAnswer}}
|
|
315
|
+
I'm pleased to provide you with the following information:
|
|
316
|
+
|
|
317
|
+
{{responseContent}}
|
|
318
|
+
|
|
319
|
+
{{/if}}
|
|
320
|
+
{{#unless hasAnswer}}
|
|
321
|
+
I've received your inquiry and I'm looking into the details. I'll get back to you with a comprehensive response within {{responseTime}}.
|
|
322
|
+
|
|
323
|
+
{{/unless}}
|
|
324
|
+
|
|
325
|
+
{{#if requiresFollowup}}
|
|
326
|
+
I may need some additional information to assist you better:
|
|
327
|
+
- {{additionalInfoNeeded}}
|
|
328
|
+
|
|
329
|
+
{{/if}}
|
|
330
|
+
{{#if nextSteps}}
|
|
331
|
+
**Next Steps:**
|
|
332
|
+
{{nextSteps}}
|
|
333
|
+
|
|
334
|
+
{{/if}}
|
|
335
|
+
If you have any immediate questions, please don't hesitate to contact me at {{contactNumber}} or reply to this email.
|
|
336
|
+
|
|
337
|
+
Best regards,
|
|
338
|
+
{{senderName}}
|
|
339
|
+
{{senderTitle}}
|
|
340
|
+
{{companyName}}
|
|
341
|
+
{{contactNumber}}
|
|
342
342
|
{{emailAddress}}`,
|
|
343
343
|
variables: [
|
|
344
344
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -366,24 +366,24 @@ Best regards,
|
|
|
366
366
|
id: 'password-reset',
|
|
367
367
|
name: 'Password Reset OTP',
|
|
368
368
|
subject: 'Password Reset - OTP Verification',
|
|
369
|
-
body: `Dear {{userName}},
|
|
370
|
-
|
|
371
|
-
You have requested to reset your password for {{companyName}}.
|
|
372
|
-
|
|
373
|
-
Your One-Time Password (OTP) for password reset is:
|
|
374
|
-
|
|
375
|
-
**{{otp}}**
|
|
376
|
-
|
|
377
|
-
This OTP is valid for {{validityMinutes}} minutes. Please do not share this OTP with anyone.
|
|
378
|
-
|
|
379
|
-
If you did not request a password reset, please ignore this email or contact support immediately.
|
|
380
|
-
|
|
381
|
-
For security purposes:
|
|
382
|
-
- This OTP can only be used once
|
|
383
|
-
- Never share your OTP with anyone
|
|
384
|
-
- Our team will never ask for your OTP
|
|
385
|
-
|
|
386
|
-
Best regards,
|
|
369
|
+
body: `Dear {{userName}},
|
|
370
|
+
|
|
371
|
+
You have requested to reset your password for {{companyName}}.
|
|
372
|
+
|
|
373
|
+
Your One-Time Password (OTP) for password reset is:
|
|
374
|
+
|
|
375
|
+
**{{otp}}**
|
|
376
|
+
|
|
377
|
+
This OTP is valid for {{validityMinutes}} minutes. Please do not share this OTP with anyone.
|
|
378
|
+
|
|
379
|
+
If you did not request a password reset, please ignore this email or contact support immediately.
|
|
380
|
+
|
|
381
|
+
For security purposes:
|
|
382
|
+
- This OTP can only be used once
|
|
383
|
+
- Never share your OTP with anyone
|
|
384
|
+
- Our team will never ask for your OTP
|
|
385
|
+
|
|
386
|
+
Best regards,
|
|
387
387
|
{{companyName}} Support Team`,
|
|
388
388
|
variables: [
|
|
389
389
|
{ name: 'userName', label: 'User Name', type: 'text', required: true },
|
|
@@ -401,21 +401,21 @@ Best regards,
|
|
|
401
401
|
id: 'password-reset-success',
|
|
402
402
|
name: 'Password Reset Confirmation',
|
|
403
403
|
subject: 'Password Successfully Reset',
|
|
404
|
-
body: `Dear {{userName}},
|
|
405
|
-
|
|
406
|
-
Your password has been successfully reset for your {{companyName}} account.
|
|
407
|
-
|
|
408
|
-
If you made this change, no further action is required.
|
|
409
|
-
|
|
410
|
-
If you did not reset your password, please contact our support team immediately at {{supportEmail}} or {{supportPhone}}.
|
|
411
|
-
|
|
412
|
-
For your security:
|
|
413
|
-
- Never share your password with anyone
|
|
414
|
-
- Use a strong, unique password
|
|
415
|
-
- Change your password regularly
|
|
416
|
-
- Enable two-factor authentication if available
|
|
417
|
-
|
|
418
|
-
Best regards,
|
|
404
|
+
body: `Dear {{userName}},
|
|
405
|
+
|
|
406
|
+
Your password has been successfully reset for your {{companyName}} account.
|
|
407
|
+
|
|
408
|
+
If you made this change, no further action is required.
|
|
409
|
+
|
|
410
|
+
If you did not reset your password, please contact our support team immediately at {{supportEmail}} or {{supportPhone}}.
|
|
411
|
+
|
|
412
|
+
For your security:
|
|
413
|
+
- Never share your password with anyone
|
|
414
|
+
- Use a strong, unique password
|
|
415
|
+
- Change your password regularly
|
|
416
|
+
- Enable two-factor authentication if available
|
|
417
|
+
|
|
418
|
+
Best regards,
|
|
419
419
|
{{companyName}} Support Team`,
|
|
420
420
|
variables: [
|
|
421
421
|
{ name: 'userName', label: 'User Name', type: 'text', required: true },
|
package/dist/lib/theme/utils.js
CHANGED
|
@@ -223,11 +223,11 @@ export function generateCustomPropertiesString(colors, mode) {
|
|
|
223
223
|
return color ? `${color.r} ${color.g} ${color.b}` : '59 130 246'; // fallback to blue
|
|
224
224
|
};
|
|
225
225
|
const prefix = mode === 'dark' ? '--custom-accent-dark' : '--custom-accent';
|
|
226
|
-
return `
|
|
227
|
-
${prefix}: ${rgb(colors.accent)};
|
|
228
|
-
${prefix}-hover: ${rgb(colors.accentHover)};
|
|
229
|
-
${prefix}-subtle: ${rgb(colors.accentSubtle)};
|
|
230
|
-
${prefix}-muted: ${rgb(colors.accentMuted)};
|
|
226
|
+
return `
|
|
227
|
+
${prefix}: ${rgb(colors.accent)};
|
|
228
|
+
${prefix}-hover: ${rgb(colors.accentHover)};
|
|
229
|
+
${prefix}-subtle: ${rgb(colors.accentSubtle)};
|
|
230
|
+
${prefix}-muted: ${rgb(colors.accentMuted)};
|
|
231
231
|
`.trim();
|
|
232
232
|
}
|
|
233
233
|
/**
|
|
@@ -285,27 +285,27 @@ export function applyCustomTheme(colors) {
|
|
|
285
285
|
document.head.appendChild(styleEl);
|
|
286
286
|
}
|
|
287
287
|
// Apply to both light and dark modes
|
|
288
|
-
styleEl.textContent = `
|
|
289
|
-
:root.theme-custom.light,
|
|
290
|
-
:root.theme-custom.dark {
|
|
291
|
-
--color-primary: ${rgb(primary)};
|
|
292
|
-
--color-primary-hover: ${rgb(primaryHover)};
|
|
293
|
-
--color-primary-subtle: ${rgb(colors.accentSubtle)};
|
|
294
|
-
--color-primary-muted: ${rgb(colors.accentMuted)};
|
|
295
|
-
|
|
296
|
-
--color-secondary: ${rgb(secondary)};
|
|
297
|
-
--color-secondary-hover: ${rgb(secondaryHover)};
|
|
298
|
-
--color-secondary-subtle: ${rgb(lightenColor(secondary, 40))};
|
|
299
|
-
--color-secondary-muted: ${rgb(lightenColor(secondary, 20))};
|
|
300
|
-
|
|
301
|
-
--color-tertiary: ${rgb(tertiary)};
|
|
302
|
-
--color-tertiary-hover: ${rgb(tertiaryHover)};
|
|
303
|
-
--color-tertiary-subtle: ${rgb(lightenColor(tertiary, 40))};
|
|
304
|
-
--color-tertiary-muted: ${rgb(lightenColor(tertiary, 20))};
|
|
305
|
-
|
|
306
|
-
--color-accent: ${rgb(primary)};
|
|
307
|
-
--bd-accent: ${rgb(primary)};
|
|
308
|
-
}
|
|
288
|
+
styleEl.textContent = `
|
|
289
|
+
:root.theme-custom.light,
|
|
290
|
+
:root.theme-custom.dark {
|
|
291
|
+
--color-primary: ${rgb(primary)};
|
|
292
|
+
--color-primary-hover: ${rgb(primaryHover)};
|
|
293
|
+
--color-primary-subtle: ${rgb(colors.accentSubtle)};
|
|
294
|
+
--color-primary-muted: ${rgb(colors.accentMuted)};
|
|
295
|
+
|
|
296
|
+
--color-secondary: ${rgb(secondary)};
|
|
297
|
+
--color-secondary-hover: ${rgb(secondaryHover)};
|
|
298
|
+
--color-secondary-subtle: ${rgb(lightenColor(secondary, 40))};
|
|
299
|
+
--color-secondary-muted: ${rgb(lightenColor(secondary, 20))};
|
|
300
|
+
|
|
301
|
+
--color-tertiary: ${rgb(tertiary)};
|
|
302
|
+
--color-tertiary-hover: ${rgb(tertiaryHover)};
|
|
303
|
+
--color-tertiary-subtle: ${rgb(lightenColor(tertiary, 40))};
|
|
304
|
+
--color-tertiary-muted: ${rgb(lightenColor(tertiary, 20))};
|
|
305
|
+
|
|
306
|
+
--color-accent: ${rgb(primary)};
|
|
307
|
+
--bd-accent: ${rgb(primary)};
|
|
308
|
+
}
|
|
309
309
|
`;
|
|
310
310
|
}
|
|
311
311
|
/**
|