indas-ui 0.1.8 → 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 +30 -6
- 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 +30 -6
- 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
|
@@ -11,32 +11,32 @@ exports.SYSTEM_EMAIL_TEMPLATES = [
|
|
|
11
11
|
id: 'quotation-send',
|
|
12
12
|
name: 'Quotation Submission',
|
|
13
13
|
subject: 'Quotation #{{quotationNumber}} - {{companyName}}',
|
|
14
|
-
body: `Dear {{clientName}},
|
|
15
|
-
|
|
16
|
-
Thank you for your inquiry. Please find attached our detailed quotation for your requirements.
|
|
17
|
-
|
|
18
|
-
**Quotation Details:**
|
|
19
|
-
- Quotation Number: {{quotationNumber}}
|
|
20
|
-
- Valid Until: {{validUntil}}
|
|
21
|
-
- Total Amount: {{totalAmount}}
|
|
22
|
-
|
|
23
|
-
**Key Deliverables:**
|
|
24
|
-
{{#each deliverables}}
|
|
25
|
-
- {{this.name}}: {{this.description}}
|
|
26
|
-
{{/each}}
|
|
27
|
-
|
|
28
|
-
**Terms & Conditions:**
|
|
29
|
-
1. Payment Terms: {{paymentTerms}}
|
|
30
|
-
2. Delivery Timeline: {{deliveryTimeline}}
|
|
31
|
-
3. Warranty: {{warrantyPeriod}}
|
|
32
|
-
|
|
33
|
-
Please feel free to contact us if you have any questions or need any clarifications.
|
|
34
|
-
|
|
35
|
-
Best regards,
|
|
36
|
-
{{senderName}}
|
|
37
|
-
{{senderTitle}}
|
|
38
|
-
{{companyName}}
|
|
39
|
-
{{contactNumber}}
|
|
14
|
+
body: `Dear {{clientName}},
|
|
15
|
+
|
|
16
|
+
Thank you for your inquiry. Please find attached our detailed quotation for your requirements.
|
|
17
|
+
|
|
18
|
+
**Quotation Details:**
|
|
19
|
+
- Quotation Number: {{quotationNumber}}
|
|
20
|
+
- Valid Until: {{validUntil}}
|
|
21
|
+
- Total Amount: {{totalAmount}}
|
|
22
|
+
|
|
23
|
+
**Key Deliverables:**
|
|
24
|
+
{{#each deliverables}}
|
|
25
|
+
- {{this.name}}: {{this.description}}
|
|
26
|
+
{{/each}}
|
|
27
|
+
|
|
28
|
+
**Terms & Conditions:**
|
|
29
|
+
1. Payment Terms: {{paymentTerms}}
|
|
30
|
+
2. Delivery Timeline: {{deliveryTimeline}}
|
|
31
|
+
3. Warranty: {{warrantyPeriod}}
|
|
32
|
+
|
|
33
|
+
Please feel free to contact us if you have any questions or need any clarifications.
|
|
34
|
+
|
|
35
|
+
Best regards,
|
|
36
|
+
{{senderName}}
|
|
37
|
+
{{senderTitle}}
|
|
38
|
+
{{companyName}}
|
|
39
|
+
{{contactNumber}}
|
|
40
40
|
{{emailAddress}}`,
|
|
41
41
|
variables: [
|
|
42
42
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -63,22 +63,22 @@ Best regards,
|
|
|
63
63
|
id: 'quotation-followup',
|
|
64
64
|
name: 'Quotation Follow-up',
|
|
65
65
|
subject: 'Follow-up: Quotation #{{quotationNumber}}',
|
|
66
|
-
body: `Dear {{clientName}},
|
|
67
|
-
|
|
68
|
-
I hope this email finds you well.
|
|
69
|
-
|
|
70
|
-
I'm following up on the quotation we sent you on {{quotationDate}} for {{projectDescription}}.
|
|
71
|
-
|
|
72
|
-
Just wanted to check if you've had a chance to review our proposal and if you have any questions or need any clarifications.
|
|
73
|
-
|
|
74
|
-
Our quotation #{{quotationNumber}} is valid until {{validUntil}}, and we'd be happy to discuss any adjustments to meet your specific requirements.
|
|
75
|
-
|
|
76
|
-
Would you be available for a quick call this week to discuss this further?
|
|
77
|
-
|
|
78
|
-
Best regards,
|
|
79
|
-
{{senderName}}
|
|
80
|
-
{{senderTitle}}
|
|
81
|
-
{{companyName}}
|
|
66
|
+
body: `Dear {{clientName}},
|
|
67
|
+
|
|
68
|
+
I hope this email finds you well.
|
|
69
|
+
|
|
70
|
+
I'm following up on the quotation we sent you on {{quotationDate}} for {{projectDescription}}.
|
|
71
|
+
|
|
72
|
+
Just wanted to check if you've had a chance to review our proposal and if you have any questions or need any clarifications.
|
|
73
|
+
|
|
74
|
+
Our quotation #{{quotationNumber}} is valid until {{validUntil}}, and we'd be happy to discuss any adjustments to meet your specific requirements.
|
|
75
|
+
|
|
76
|
+
Would you be available for a quick call this week to discuss this further?
|
|
77
|
+
|
|
78
|
+
Best regards,
|
|
79
|
+
{{senderName}}
|
|
80
|
+
{{senderTitle}}
|
|
81
|
+
{{companyName}}
|
|
82
82
|
{{contactNumber}}`,
|
|
83
83
|
variables: [
|
|
84
84
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -101,38 +101,38 @@ Best regards,
|
|
|
101
101
|
id: 'order-confirmation',
|
|
102
102
|
name: 'Order Confirmation',
|
|
103
103
|
subject: 'Order Confirmation #{{orderNumber}}',
|
|
104
|
-
body: `Dear {{clientName}},
|
|
105
|
-
|
|
106
|
-
We are pleased to confirm your order #{{orderNumber}} placed on {{orderDate}}.
|
|
107
|
-
|
|
108
|
-
**Order Details:**
|
|
109
|
-
- Order Number: {{orderNumber}}
|
|
110
|
-
- Order Date: {{orderDate}}
|
|
111
|
-
- Expected Delivery: {{deliveryDate}}
|
|
112
|
-
|
|
113
|
-
**Items Ordered:**
|
|
114
|
-
{{#each items}}
|
|
115
|
-
- {{this.name}} ({{this.quantity}} units) - {{this.price}}
|
|
116
|
-
{{/each}}
|
|
117
|
-
|
|
118
|
-
**Total Amount:** {{totalAmount}}
|
|
119
|
-
|
|
120
|
-
**Payment Information:**
|
|
121
|
-
- Payment Method: {{paymentMethod}}
|
|
122
|
-
- Payment Status: {{paymentStatus}}
|
|
123
|
-
|
|
124
|
-
**Delivery Information:**
|
|
125
|
-
- Delivery Address: {{deliveryAddress}}
|
|
126
|
-
- Contact Person: {{contactPerson}}
|
|
127
|
-
- Contact Number: {{contactNumber}}
|
|
128
|
-
|
|
129
|
-
We will notify you once your order is ready for dispatch.
|
|
130
|
-
|
|
131
|
-
Thank you for your business!
|
|
132
|
-
|
|
133
|
-
Best regards,
|
|
134
|
-
{{senderName}}
|
|
135
|
-
{{senderTitle}}
|
|
104
|
+
body: `Dear {{clientName}},
|
|
105
|
+
|
|
106
|
+
We are pleased to confirm your order #{{orderNumber}} placed on {{orderDate}}.
|
|
107
|
+
|
|
108
|
+
**Order Details:**
|
|
109
|
+
- Order Number: {{orderNumber}}
|
|
110
|
+
- Order Date: {{orderDate}}
|
|
111
|
+
- Expected Delivery: {{deliveryDate}}
|
|
112
|
+
|
|
113
|
+
**Items Ordered:**
|
|
114
|
+
{{#each items}}
|
|
115
|
+
- {{this.name}} ({{this.quantity}} units) - {{this.price}}
|
|
116
|
+
{{/each}}
|
|
117
|
+
|
|
118
|
+
**Total Amount:** {{totalAmount}}
|
|
119
|
+
|
|
120
|
+
**Payment Information:**
|
|
121
|
+
- Payment Method: {{paymentMethod}}
|
|
122
|
+
- Payment Status: {{paymentStatus}}
|
|
123
|
+
|
|
124
|
+
**Delivery Information:**
|
|
125
|
+
- Delivery Address: {{deliveryAddress}}
|
|
126
|
+
- Contact Person: {{contactPerson}}
|
|
127
|
+
- Contact Number: {{contactNumber}}
|
|
128
|
+
|
|
129
|
+
We will notify you once your order is ready for dispatch.
|
|
130
|
+
|
|
131
|
+
Thank you for your business!
|
|
132
|
+
|
|
133
|
+
Best regards,
|
|
134
|
+
{{senderName}}
|
|
135
|
+
{{senderTitle}}
|
|
136
136
|
{{companyName}}`,
|
|
137
137
|
variables: [
|
|
138
138
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -160,32 +160,32 @@ Best regards,
|
|
|
160
160
|
id: 'invoice-send',
|
|
161
161
|
name: 'Invoice',
|
|
162
162
|
subject: 'Invoice #{{invoiceNumber}}',
|
|
163
|
-
body: `Dear {{clientName}},
|
|
164
|
-
|
|
165
|
-
Please find attached our invoice #{{invoiceNumber}} for the services/products provided.
|
|
166
|
-
|
|
167
|
-
**Invoice Details:**
|
|
168
|
-
- Invoice Number: {{invoiceNumber}}
|
|
169
|
-
- Invoice Date: {{invoiceDate}}
|
|
170
|
-
- Due Date: {{dueDate}}
|
|
171
|
-
- Purchase Order: {{purchaseOrderNumber}}
|
|
172
|
-
|
|
173
|
-
**Amount Due:** {{totalAmount}}
|
|
174
|
-
|
|
175
|
-
**Payment Details:**
|
|
176
|
-
- Bank Name: {{bankName}}
|
|
177
|
-
- Account Number: {{accountNumber}}
|
|
178
|
-
- IFSC Code: {{ifscCode}}
|
|
179
|
-
- Account Holder: {{accountHolder}}
|
|
180
|
-
|
|
181
|
-
Please make the payment before the due date to avoid any late payment charges.
|
|
182
|
-
|
|
183
|
-
Thank you for your prompt payment.
|
|
184
|
-
|
|
185
|
-
Best regards,
|
|
186
|
-
{{senderName}}
|
|
187
|
-
{{senderTitle}}
|
|
188
|
-
{{companyName}}
|
|
163
|
+
body: `Dear {{clientName}},
|
|
164
|
+
|
|
165
|
+
Please find attached our invoice #{{invoiceNumber}} for the services/products provided.
|
|
166
|
+
|
|
167
|
+
**Invoice Details:**
|
|
168
|
+
- Invoice Number: {{invoiceNumber}}
|
|
169
|
+
- Invoice Date: {{invoiceDate}}
|
|
170
|
+
- Due Date: {{dueDate}}
|
|
171
|
+
- Purchase Order: {{purchaseOrderNumber}}
|
|
172
|
+
|
|
173
|
+
**Amount Due:** {{totalAmount}}
|
|
174
|
+
|
|
175
|
+
**Payment Details:**
|
|
176
|
+
- Bank Name: {{bankName}}
|
|
177
|
+
- Account Number: {{accountNumber}}
|
|
178
|
+
- IFSC Code: {{ifscCode}}
|
|
179
|
+
- Account Holder: {{accountHolder}}
|
|
180
|
+
|
|
181
|
+
Please make the payment before the due date to avoid any late payment charges.
|
|
182
|
+
|
|
183
|
+
Thank you for your prompt payment.
|
|
184
|
+
|
|
185
|
+
Best regards,
|
|
186
|
+
{{senderName}}
|
|
187
|
+
{{senderTitle}}
|
|
188
|
+
{{companyName}}
|
|
189
189
|
{{contactNumber}}`,
|
|
190
190
|
variables: [
|
|
191
191
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -213,31 +213,31 @@ Best regards,
|
|
|
213
213
|
id: 'payment-reminder',
|
|
214
214
|
name: 'Payment Reminder',
|
|
215
215
|
subject: 'Payment Reminder: Invoice #{{invoiceNumber}}',
|
|
216
|
-
body: `Dear {{clientName}},
|
|
217
|
-
|
|
218
|
-
This is a gentle reminder that your payment for invoice #{{invoiceNumber}} is due on {{dueDate}}.
|
|
219
|
-
|
|
220
|
-
**Invoice Details:**
|
|
221
|
-
- Invoice Number: {{invoiceNumber}}
|
|
222
|
-
- Invoice Date: {{invoiceDate}}
|
|
223
|
-
- Due Date: {{dueDate}}
|
|
224
|
-
- Amount Due: {{amountDue}}
|
|
225
|
-
|
|
226
|
-
If you have already made the payment, please disregard this email. If not, we request you to make the payment at your earliest convenience.
|
|
227
|
-
|
|
228
|
-
**Payment Details:**
|
|
229
|
-
- Bank Name: {{bankName}}
|
|
230
|
-
- Account Number: {{accountNumber}}
|
|
231
|
-
- IFSC Code: {{ifscCode}}
|
|
232
|
-
|
|
233
|
-
If you have any questions regarding the invoice or payment, please don't hesitate to contact us.
|
|
234
|
-
|
|
235
|
-
Thank you for your cooperation.
|
|
236
|
-
|
|
237
|
-
Best regards,
|
|
238
|
-
{{senderName}}
|
|
239
|
-
{{senderTitle}}
|
|
240
|
-
{{companyName}}
|
|
216
|
+
body: `Dear {{clientName}},
|
|
217
|
+
|
|
218
|
+
This is a gentle reminder that your payment for invoice #{{invoiceNumber}} is due on {{dueDate}}.
|
|
219
|
+
|
|
220
|
+
**Invoice Details:**
|
|
221
|
+
- Invoice Number: {{invoiceNumber}}
|
|
222
|
+
- Invoice Date: {{invoiceDate}}
|
|
223
|
+
- Due Date: {{dueDate}}
|
|
224
|
+
- Amount Due: {{amountDue}}
|
|
225
|
+
|
|
226
|
+
If you have already made the payment, please disregard this email. If not, we request you to make the payment at your earliest convenience.
|
|
227
|
+
|
|
228
|
+
**Payment Details:**
|
|
229
|
+
- Bank Name: {{bankName}}
|
|
230
|
+
- Account Number: {{accountNumber}}
|
|
231
|
+
- IFSC Code: {{ifscCode}}
|
|
232
|
+
|
|
233
|
+
If you have any questions regarding the invoice or payment, please don't hesitate to contact us.
|
|
234
|
+
|
|
235
|
+
Thank you for your cooperation.
|
|
236
|
+
|
|
237
|
+
Best regards,
|
|
238
|
+
{{senderName}}
|
|
239
|
+
{{senderTitle}}
|
|
240
|
+
{{companyName}}
|
|
241
241
|
{{contactNumber}}`,
|
|
242
242
|
variables: [
|
|
243
243
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -263,34 +263,34 @@ Best regards,
|
|
|
263
263
|
id: 'welcome-email',
|
|
264
264
|
name: 'Welcome Email',
|
|
265
265
|
subject: 'Welcome to {{companyName}}!',
|
|
266
|
-
body: `Dear {{clientName}},
|
|
267
|
-
|
|
268
|
-
Welcome to {{companyName}}! We're thrilled to have you as our valued client.
|
|
269
|
-
|
|
270
|
-
As a new client, you now have access to:
|
|
271
|
-
- Premium quality products/services
|
|
272
|
-
- Competitive pricing
|
|
273
|
-
- Excellent customer support
|
|
274
|
-
- Fast delivery services
|
|
275
|
-
|
|
276
|
-
**Your Account Information:**
|
|
277
|
-
- Client ID: {{clientId}}
|
|
278
|
-
- Email: {{email}}
|
|
279
|
-
- Phone: {{phone}}
|
|
280
|
-
|
|
281
|
-
**Next Steps:**
|
|
282
|
-
1. Browse our catalog of products/services
|
|
283
|
-
2. Request quotations for your requirements
|
|
284
|
-
3. Place orders and track deliveries
|
|
285
|
-
4. Manage your account online
|
|
286
|
-
|
|
287
|
-
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}}.
|
|
288
|
-
|
|
289
|
-
Thank you for choosing {{companyName}}!
|
|
290
|
-
|
|
291
|
-
Best regards,
|
|
292
|
-
{{senderName}}
|
|
293
|
-
{{senderTitle}}
|
|
266
|
+
body: `Dear {{clientName}},
|
|
267
|
+
|
|
268
|
+
Welcome to {{companyName}}! We're thrilled to have you as our valued client.
|
|
269
|
+
|
|
270
|
+
As a new client, you now have access to:
|
|
271
|
+
- Premium quality products/services
|
|
272
|
+
- Competitive pricing
|
|
273
|
+
- Excellent customer support
|
|
274
|
+
- Fast delivery services
|
|
275
|
+
|
|
276
|
+
**Your Account Information:**
|
|
277
|
+
- Client ID: {{clientId}}
|
|
278
|
+
- Email: {{email}}
|
|
279
|
+
- Phone: {{phone}}
|
|
280
|
+
|
|
281
|
+
**Next Steps:**
|
|
282
|
+
1. Browse our catalog of products/services
|
|
283
|
+
2. Request quotations for your requirements
|
|
284
|
+
3. Place orders and track deliveries
|
|
285
|
+
4. Manage your account online
|
|
286
|
+
|
|
287
|
+
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}}.
|
|
288
|
+
|
|
289
|
+
Thank you for choosing {{companyName}}!
|
|
290
|
+
|
|
291
|
+
Best regards,
|
|
292
|
+
{{senderName}}
|
|
293
|
+
{{senderTitle}}
|
|
294
294
|
{{companyName}}`,
|
|
295
295
|
variables: [
|
|
296
296
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -313,38 +313,38 @@ Best regards,
|
|
|
313
313
|
id: 'general-inquiry',
|
|
314
314
|
name: 'General Inquiry Response',
|
|
315
315
|
subject: 'Re: {{subject}}',
|
|
316
|
-
body: `Dear {{clientName}},
|
|
317
|
-
|
|
318
|
-
Thank you for your inquiry regarding {{inquirySubject}}.
|
|
319
|
-
|
|
320
|
-
{{#if hasAnswer}}
|
|
321
|
-
I'm pleased to provide you with the following information:
|
|
322
|
-
|
|
323
|
-
{{responseContent}}
|
|
324
|
-
|
|
325
|
-
{{/if}}
|
|
326
|
-
{{#unless hasAnswer}}
|
|
327
|
-
I've received your inquiry and I'm looking into the details. I'll get back to you with a comprehensive response within {{responseTime}}.
|
|
328
|
-
|
|
329
|
-
{{/unless}}
|
|
330
|
-
|
|
331
|
-
{{#if requiresFollowup}}
|
|
332
|
-
I may need some additional information to assist you better:
|
|
333
|
-
- {{additionalInfoNeeded}}
|
|
334
|
-
|
|
335
|
-
{{/if}}
|
|
336
|
-
{{#if nextSteps}}
|
|
337
|
-
**Next Steps:**
|
|
338
|
-
{{nextSteps}}
|
|
339
|
-
|
|
340
|
-
{{/if}}
|
|
341
|
-
If you have any immediate questions, please don't hesitate to contact me at {{contactNumber}} or reply to this email.
|
|
342
|
-
|
|
343
|
-
Best regards,
|
|
344
|
-
{{senderName}}
|
|
345
|
-
{{senderTitle}}
|
|
346
|
-
{{companyName}}
|
|
347
|
-
{{contactNumber}}
|
|
316
|
+
body: `Dear {{clientName}},
|
|
317
|
+
|
|
318
|
+
Thank you for your inquiry regarding {{inquirySubject}}.
|
|
319
|
+
|
|
320
|
+
{{#if hasAnswer}}
|
|
321
|
+
I'm pleased to provide you with the following information:
|
|
322
|
+
|
|
323
|
+
{{responseContent}}
|
|
324
|
+
|
|
325
|
+
{{/if}}
|
|
326
|
+
{{#unless hasAnswer}}
|
|
327
|
+
I've received your inquiry and I'm looking into the details. I'll get back to you with a comprehensive response within {{responseTime}}.
|
|
328
|
+
|
|
329
|
+
{{/unless}}
|
|
330
|
+
|
|
331
|
+
{{#if requiresFollowup}}
|
|
332
|
+
I may need some additional information to assist you better:
|
|
333
|
+
- {{additionalInfoNeeded}}
|
|
334
|
+
|
|
335
|
+
{{/if}}
|
|
336
|
+
{{#if nextSteps}}
|
|
337
|
+
**Next Steps:**
|
|
338
|
+
{{nextSteps}}
|
|
339
|
+
|
|
340
|
+
{{/if}}
|
|
341
|
+
If you have any immediate questions, please don't hesitate to contact me at {{contactNumber}} or reply to this email.
|
|
342
|
+
|
|
343
|
+
Best regards,
|
|
344
|
+
{{senderName}}
|
|
345
|
+
{{senderTitle}}
|
|
346
|
+
{{companyName}}
|
|
347
|
+
{{contactNumber}}
|
|
348
348
|
{{emailAddress}}`,
|
|
349
349
|
variables: [
|
|
350
350
|
{ name: 'clientName', label: 'Customer Name', type: 'text', required: true },
|
|
@@ -372,24 +372,24 @@ Best regards,
|
|
|
372
372
|
id: 'password-reset',
|
|
373
373
|
name: 'Password Reset OTP',
|
|
374
374
|
subject: 'Password Reset - OTP Verification',
|
|
375
|
-
body: `Dear {{userName}},
|
|
376
|
-
|
|
377
|
-
You have requested to reset your password for {{companyName}}.
|
|
378
|
-
|
|
379
|
-
Your One-Time Password (OTP) for password reset is:
|
|
380
|
-
|
|
381
|
-
**{{otp}}**
|
|
382
|
-
|
|
383
|
-
This OTP is valid for {{validityMinutes}} minutes. Please do not share this OTP with anyone.
|
|
384
|
-
|
|
385
|
-
If you did not request a password reset, please ignore this email or contact support immediately.
|
|
386
|
-
|
|
387
|
-
For security purposes:
|
|
388
|
-
- This OTP can only be used once
|
|
389
|
-
- Never share your OTP with anyone
|
|
390
|
-
- Our team will never ask for your OTP
|
|
391
|
-
|
|
392
|
-
Best regards,
|
|
375
|
+
body: `Dear {{userName}},
|
|
376
|
+
|
|
377
|
+
You have requested to reset your password for {{companyName}}.
|
|
378
|
+
|
|
379
|
+
Your One-Time Password (OTP) for password reset is:
|
|
380
|
+
|
|
381
|
+
**{{otp}}**
|
|
382
|
+
|
|
383
|
+
This OTP is valid for {{validityMinutes}} minutes. Please do not share this OTP with anyone.
|
|
384
|
+
|
|
385
|
+
If you did not request a password reset, please ignore this email or contact support immediately.
|
|
386
|
+
|
|
387
|
+
For security purposes:
|
|
388
|
+
- This OTP can only be used once
|
|
389
|
+
- Never share your OTP with anyone
|
|
390
|
+
- Our team will never ask for your OTP
|
|
391
|
+
|
|
392
|
+
Best regards,
|
|
393
393
|
{{companyName}} Support Team`,
|
|
394
394
|
variables: [
|
|
395
395
|
{ name: 'userName', label: 'User Name', type: 'text', required: true },
|
|
@@ -407,21 +407,21 @@ Best regards,
|
|
|
407
407
|
id: 'password-reset-success',
|
|
408
408
|
name: 'Password Reset Confirmation',
|
|
409
409
|
subject: 'Password Successfully Reset',
|
|
410
|
-
body: `Dear {{userName}},
|
|
411
|
-
|
|
412
|
-
Your password has been successfully reset for your {{companyName}} account.
|
|
413
|
-
|
|
414
|
-
If you made this change, no further action is required.
|
|
415
|
-
|
|
416
|
-
If you did not reset your password, please contact our support team immediately at {{supportEmail}} or {{supportPhone}}.
|
|
417
|
-
|
|
418
|
-
For your security:
|
|
419
|
-
- Never share your password with anyone
|
|
420
|
-
- Use a strong, unique password
|
|
421
|
-
- Change your password regularly
|
|
422
|
-
- Enable two-factor authentication if available
|
|
423
|
-
|
|
424
|
-
Best regards,
|
|
410
|
+
body: `Dear {{userName}},
|
|
411
|
+
|
|
412
|
+
Your password has been successfully reset for your {{companyName}} account.
|
|
413
|
+
|
|
414
|
+
If you made this change, no further action is required.
|
|
415
|
+
|
|
416
|
+
If you did not reset your password, please contact our support team immediately at {{supportEmail}} or {{supportPhone}}.
|
|
417
|
+
|
|
418
|
+
For your security:
|
|
419
|
+
- Never share your password with anyone
|
|
420
|
+
- Use a strong, unique password
|
|
421
|
+
- Change your password regularly
|
|
422
|
+
- Enable two-factor authentication if available
|
|
423
|
+
|
|
424
|
+
Best regards,
|
|
425
425
|
{{companyName}} Support Team`,
|
|
426
426
|
variables: [
|
|
427
427
|
{ name: 'userName', label: 'User Name', type: 'text', required: true },
|
|
@@ -243,11 +243,11 @@ function generateCustomPropertiesString(colors, mode) {
|
|
|
243
243
|
return color ? `${color.r} ${color.g} ${color.b}` : '59 130 246'; // fallback to blue
|
|
244
244
|
};
|
|
245
245
|
const prefix = mode === 'dark' ? '--custom-accent-dark' : '--custom-accent';
|
|
246
|
-
return `
|
|
247
|
-
${prefix}: ${rgb(colors.accent)};
|
|
248
|
-
${prefix}-hover: ${rgb(colors.accentHover)};
|
|
249
|
-
${prefix}-subtle: ${rgb(colors.accentSubtle)};
|
|
250
|
-
${prefix}-muted: ${rgb(colors.accentMuted)};
|
|
246
|
+
return `
|
|
247
|
+
${prefix}: ${rgb(colors.accent)};
|
|
248
|
+
${prefix}-hover: ${rgb(colors.accentHover)};
|
|
249
|
+
${prefix}-subtle: ${rgb(colors.accentSubtle)};
|
|
250
|
+
${prefix}-muted: ${rgb(colors.accentMuted)};
|
|
251
251
|
`.trim();
|
|
252
252
|
}
|
|
253
253
|
/**
|
|
@@ -305,27 +305,27 @@ function applyCustomTheme(colors) {
|
|
|
305
305
|
document.head.appendChild(styleEl);
|
|
306
306
|
}
|
|
307
307
|
// Apply to both light and dark modes
|
|
308
|
-
styleEl.textContent = `
|
|
309
|
-
:root.theme-custom.light,
|
|
310
|
-
:root.theme-custom.dark {
|
|
311
|
-
--color-primary: ${rgb(primary)};
|
|
312
|
-
--color-primary-hover: ${rgb(primaryHover)};
|
|
313
|
-
--color-primary-subtle: ${rgb(colors.accentSubtle)};
|
|
314
|
-
--color-primary-muted: ${rgb(colors.accentMuted)};
|
|
315
|
-
|
|
316
|
-
--color-secondary: ${rgb(secondary)};
|
|
317
|
-
--color-secondary-hover: ${rgb(secondaryHover)};
|
|
318
|
-
--color-secondary-subtle: ${rgb(lightenColor(secondary, 40))};
|
|
319
|
-
--color-secondary-muted: ${rgb(lightenColor(secondary, 20))};
|
|
320
|
-
|
|
321
|
-
--color-tertiary: ${rgb(tertiary)};
|
|
322
|
-
--color-tertiary-hover: ${rgb(tertiaryHover)};
|
|
323
|
-
--color-tertiary-subtle: ${rgb(lightenColor(tertiary, 40))};
|
|
324
|
-
--color-tertiary-muted: ${rgb(lightenColor(tertiary, 20))};
|
|
325
|
-
|
|
326
|
-
--color-accent: ${rgb(primary)};
|
|
327
|
-
--bd-accent: ${rgb(primary)};
|
|
328
|
-
}
|
|
308
|
+
styleEl.textContent = `
|
|
309
|
+
:root.theme-custom.light,
|
|
310
|
+
:root.theme-custom.dark {
|
|
311
|
+
--color-primary: ${rgb(primary)};
|
|
312
|
+
--color-primary-hover: ${rgb(primaryHover)};
|
|
313
|
+
--color-primary-subtle: ${rgb(colors.accentSubtle)};
|
|
314
|
+
--color-primary-muted: ${rgb(colors.accentMuted)};
|
|
315
|
+
|
|
316
|
+
--color-secondary: ${rgb(secondary)};
|
|
317
|
+
--color-secondary-hover: ${rgb(secondaryHover)};
|
|
318
|
+
--color-secondary-subtle: ${rgb(lightenColor(secondary, 40))};
|
|
319
|
+
--color-secondary-muted: ${rgb(lightenColor(secondary, 20))};
|
|
320
|
+
|
|
321
|
+
--color-tertiary: ${rgb(tertiary)};
|
|
322
|
+
--color-tertiary-hover: ${rgb(tertiaryHover)};
|
|
323
|
+
--color-tertiary-subtle: ${rgb(lightenColor(tertiary, 40))};
|
|
324
|
+
--color-tertiary-muted: ${rgb(lightenColor(tertiary, 20))};
|
|
325
|
+
|
|
326
|
+
--color-accent: ${rgb(primary)};
|
|
327
|
+
--bd-accent: ${rgb(primary)};
|
|
328
|
+
}
|
|
329
329
|
`;
|
|
330
330
|
}
|
|
331
331
|
/**
|