Latest updates from IceHrmPro
This commit is contained in:
@@ -149,7 +149,7 @@ class AttendanceAdapter extends AdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
|
||||
showPunchImages(id) {
|
||||
@@ -190,12 +190,16 @@ class AttendanceAdapter extends AdapterBase {
|
||||
if (callBackData.image_in) {
|
||||
$('#attendancePhoto').show();
|
||||
const myCanvas = document.getElementById('attendnaceCanvasIn');
|
||||
const ctx = myCanvas.getContext('2d');
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
ctx.drawImage(img, 0, 0); // Or at whatever offset you like
|
||||
};
|
||||
img.src = callBackData.image_in;
|
||||
try {
|
||||
const ctx = myCanvas.getContext('2d');
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
ctx.drawImage(img, 0, 0); // Or at whatever offset you like
|
||||
};
|
||||
img.src = callBackData.image_in;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
|
||||
if (callBackData.out_time) {
|
||||
@@ -205,12 +209,16 @@ class AttendanceAdapter extends AdapterBase {
|
||||
if (callBackData.image_out) {
|
||||
$('#attendancePhoto').show();
|
||||
const myCanvas = document.getElementById('attendnaceCanvasOut');
|
||||
const ctx = myCanvas.getContext('2d');
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
ctx.drawImage(img, 0, 0); // Or at whatever offset you like
|
||||
};
|
||||
img.src = callBackData.image_out;
|
||||
try {
|
||||
const ctx = myCanvas.getContext('2d');
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
ctx.drawImage(img, 0, 0); // Or at whatever offset you like
|
||||
};
|
||||
img.src = callBackData.image_out;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
|
||||
if (callBackData.map_lat) {
|
||||
@@ -233,23 +241,31 @@ class AttendanceAdapter extends AdapterBase {
|
||||
if (callBackData.map_snapshot) {
|
||||
$('#attendanceMap').show();
|
||||
const myCanvas = document.getElementById('attendnaceMapCanvasIn');
|
||||
const ctx = myCanvas.getContext('2d');
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
ctx.drawImage(img, 0, 0); // Or at whatever offset you like
|
||||
};
|
||||
img.src = callBackData.map_snapshot;
|
||||
try {
|
||||
const ctx = myCanvas.getContext('2d');
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
ctx.drawImage(img, 0, 0); // Or at whatever offset you like
|
||||
};
|
||||
img.src = callBackData.map_snapshot;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
|
||||
if (callBackData.map_out_snapshot) {
|
||||
$('#attendanceMap').show();
|
||||
const myCanvas = document.getElementById('attendnaceMapCanvasOut');
|
||||
const ctx = myCanvas.getContext('2d');
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
ctx.drawImage(img, 0, 0); // Or at whatever offset you like
|
||||
};
|
||||
img.src = callBackData.map_out_snapshot;
|
||||
try {
|
||||
const ctx = myCanvas.getContext('2d');
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
ctx.drawImage(img, 0, 0); // Or at whatever offset you like
|
||||
};
|
||||
img.src = callBackData.map_out_snapshot;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -261,7 +277,7 @@ class AttendanceAdapter extends AdapterBase {
|
||||
getActionButtonsHtml(id, data) {
|
||||
const editButton = '<img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>';
|
||||
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
||||
const photoButton = '<img class="tableActionButton" src="_BASE_images/map.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Show Photo" onclick="modJs.showPunchImages(_id_);return false;"></img>';
|
||||
const photoButton = '<img class="tableActionButton" src="_BASE_images/map.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Show Location Details" onclick="modJs.showPunchImages(_id_);return false;"></img>';
|
||||
|
||||
let html;
|
||||
if (this.photoAttendance === 1) {
|
||||
@@ -288,6 +304,10 @@ class AttendanceAdapter extends AdapterBase {
|
||||
html = html.replace(/_BASE_/g, this.baseUrl);
|
||||
return html;
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'https://icehrm.gitbook.io/icehrm/time-and-attendance/attendance-time-management';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -342,7 +362,11 @@ class AttendanceStatusAdapter extends AdapterBase {
|
||||
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'https://icehrm.gitbook.io/icehrm/time-and-attendance/attendance-time-management';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,10 @@ class CompanyStructureAdapter extends AdapterBase {
|
||||
$tempDomObj.find('#field_heads').hide();
|
||||
}
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'https://icehrm.gitbook.io/icehrm/employees/employee-information-setup';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -304,7 +308,7 @@ class CompanyGraphAdapter extends CompanyStructureAdapter {
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'https://thilinah.gitbooks.io/icehrm-guide/content/employee-information-setup.html';
|
||||
return 'https://icehrm.gitbook.io/icehrm/employees/employee-information-setup';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+157
-13
@@ -2,7 +2,7 @@
|
||||
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||
*/
|
||||
/* global dependOnField */
|
||||
/* global dependOnField, window, modJs */
|
||||
import AdapterBase from '../../../api/AdapterBase';
|
||||
|
||||
/**
|
||||
@@ -32,33 +32,126 @@ class DataImportAdapter extends AdapterBase {
|
||||
return [
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['name', { label: 'Name', type: 'text', validation: '' }],
|
||||
['dataType', { label: 'Data Type', type: 'text', validation: '' }],
|
||||
['dataType', {
|
||||
label: 'Data Type',
|
||||
type: 'select',
|
||||
sort: 'none',
|
||||
source: [
|
||||
['EmployeeDataImporter', 'Employee Data'],
|
||||
['AttendanceDataImporter', 'Attendance Data'],
|
||||
['PayrollDataImporter', 'Payroll Data'],
|
||||
['UserDataImporter', 'User Data'],
|
||||
['CommonDataImporter', 'Common Data Importer'],
|
||||
],
|
||||
}],
|
||||
['objectType', {
|
||||
label: 'Object Type',
|
||||
type: 'select',
|
||||
sort: 'none',
|
||||
'allow-null': true,
|
||||
'null-label': 'None',
|
||||
source: [
|
||||
['LeaveStartingBalance', 'Leave Starting Balance'],
|
||||
['HoliDay', 'Holidays'],
|
||||
['EmployeeExpense', 'Employee Expenses'],
|
||||
['Project', 'Projects'],
|
||||
['EmployeeProject', 'Employee Projects'],
|
||||
['EmployeeSalary', 'Employee Salary'],
|
||||
['PayrollEmployee', 'Company Payroll'],
|
||||
['Client', 'Clients'],
|
||||
['Province', 'Provinces'],
|
||||
['Industry', 'Industry'],
|
||||
['Industry', 'Industry'],
|
||||
['EmergencyContact', 'Emergency Contacts'],
|
||||
['Ethnicity', 'Ethnicity'],
|
||||
['Nationality', 'Nationality'],
|
||||
['JobTitle', 'Job Titles'],
|
||||
['PayFrequency', 'Pay Frequency'],
|
||||
['PayrollEmployee', 'Payroll Employees'],
|
||||
['SalaryComponent', 'Salary Components'],
|
||||
['EmployeeSalary', 'Employee Salary'],
|
||||
['CompanyStructure', 'Company Structure'],
|
||||
],
|
||||
}],
|
||||
['details', { label: 'Details', type: 'textarea', validation: 'none' }],
|
||||
['columns', {
|
||||
label: 'Columns',
|
||||
type: 'datagroup',
|
||||
form: [
|
||||
['name', { label: 'Name', type: 'text', validation: '' }],
|
||||
['title', { label: 'Filed Title', type: 'text', validation: 'none' }],
|
||||
['name', { label: 'CSV Field Name', type: 'text', validation: '' }],
|
||||
['title', { label: 'Field Title', type: 'text', validation: 'none' }],
|
||||
['type', {
|
||||
label: 'Type', type: 'select', sort: 'none', source: [['Normal', 'Normal'], ['Reference', 'Reference'], ['Attached', 'Attached']],
|
||||
label: 'Type', type: 'select', sort: 'none', source: [['Normal', 'Normal'], ['Reference', 'Reference']],
|
||||
}],
|
||||
['dependOn', {
|
||||
label: 'Depends On',
|
||||
type: 'select',
|
||||
'allow-null': true,
|
||||
'null-label': 'N/A',
|
||||
source: [['EmergencyContact', 'Emergency Contacts'], ['Ethnicity', 'Ethnicity'], ['Nationality', 'Nationality'], ['JobTitle', 'JobTitle'], ['PayFrequency', 'PayFrequency'], ['PayGrade', 'PayGrade'], ['EmploymentStatus', 'EmploymentStatus'], ['CompanyStructure', 'CompanyStructure'], ['Employee', 'Employee']],
|
||||
source: [
|
||||
['EmergencyContact', 'Emergency Contacts'],
|
||||
['Ethnicity', 'Ethnicity'],
|
||||
['Nationality', 'Nationality'],
|
||||
['JobTitle', 'JobTitle'],
|
||||
['PayFrequency', 'Pay Frequency'],
|
||||
['PayGrade', 'Pay Grade'],
|
||||
['EmploymentStatus', 'Employment Status'],
|
||||
['CompanyStructure', 'Company Structure'],
|
||||
['Employee', 'Employee'],
|
||||
['ImmigrationStatus', 'Immigration Status'],
|
||||
['Industry', 'Industry'],
|
||||
['CurrencyType', 'CurrencyType'],
|
||||
['Document', 'Document'],
|
||||
['Education', 'Education'],
|
||||
['ExpensesCategory', 'Expenses Category'],
|
||||
['ExpensesPaymentMethod', 'Expenses Payment Method'],
|
||||
['ExperienceLevel', 'Experience Level'],
|
||||
['Form', 'Form'],
|
||||
['HiringPipeline', 'Hiring Pipeline'],
|
||||
['HoliDay', 'HoliDay'],
|
||||
['Language', 'Language'],
|
||||
['LeaveGroup', 'Leave Group'],
|
||||
['LeavePeriod', 'Leave Period'],
|
||||
['LeaveRule', 'Leave Rule'],
|
||||
['LeaveType', 'Leave Type'],
|
||||
['OvertimeCategory', 'Overtime Category'],
|
||||
['Project', 'Project'],
|
||||
['Client', 'Client'],
|
||||
['ReviewTemplate', 'Review Template'],
|
||||
['SalaryComponent', 'Salary Component'],
|
||||
['SalaryComponentType', 'Salary Component Type'],
|
||||
['Skill', 'Skill'],
|
||||
['Timezone', 'Timezone'],
|
||||
['AssetType', 'Asset Type'],
|
||||
['Benifit', 'Benifit'],
|
||||
['Certification', 'Certification'],
|
||||
['Country', 'Country'],
|
||||
['Province', 'Province'],
|
||||
['TrainingSession', 'TrainingSession'],
|
||||
['User', 'User'],
|
||||
],
|
||||
}],
|
||||
['dependOnField', { label: 'Depends On Field', type: 'text', validation: 'none' }],
|
||||
['isKeyField', {
|
||||
label: 'Is Key Field', type: 'select', validation: '', source: [['No', 'No'], ['Yes', 'Yes']],
|
||||
['dependOnField', {
|
||||
label: 'Depends On Field',
|
||||
type: 'select',
|
||||
'allow-null': true,
|
||||
'null-label': 'N/A',
|
||||
source: [
|
||||
['id', 'id'],
|
||||
['employee_id', 'employee_id'],
|
||||
['name', 'name'],
|
||||
['code', 'code'],
|
||||
['title', 'title'],
|
||||
['employee', 'employee'],
|
||||
],
|
||||
}],
|
||||
['idField', {
|
||||
label: 'Is ID Field', type: 'select', validation: '', source: [['No', 'No'], ['Yes', 'Yes']],
|
||||
}],
|
||||
['sampleValue', { label: 'Sample Value', type: 'text' }],
|
||||
['help', { label: 'Help Text', type: 'text' }],
|
||||
],
|
||||
html: '<div id="#_id_#" class="panel panel-default"><div class="panel-heading"><b>#_name_#</b> #_delete_##_edit_#</div><div class="panel-body"><b>Header Title: </b>#_title_#<br/><span style="color:#999;font-size:11px;font-weight:bold">Type: #_type_# </span><br/></div></div>',
|
||||
html: '<div id="#_id_#" class="panel panel-default"><div class="panel-heading"><b>#_name_#</b> #_delete_##_edit_#</div><div class="panel-body"><b>Title: </b>#_title_#<br/><span style="color:#999;font-size:11px;font-weight:bold">Type: #_type_# </span><br/><b>Sample: </b>#_sampleValue_#<br/><i class="fa fa-info-circle help-info" style="font-size: 11px;"/><span style="color:#999;font-size:11px;"> #_help_#</span><br/></div></div>',
|
||||
validation: 'none',
|
||||
'custom-validate-function': function (data) {
|
||||
const res = {};
|
||||
@@ -66,12 +159,20 @@ class DataImportAdapter extends AdapterBase {
|
||||
res.valid = true;
|
||||
if (data.type === 'Reference') {
|
||||
if (data.dependOn === 'NULL') {
|
||||
res.message = 'If the type is Reference this field should referring another table';
|
||||
res.message = 'If the type is Reference this field should referring another object';
|
||||
res.valid = false;
|
||||
} else if (dependOnField === null || dependOnField === undefined) {
|
||||
} else if (dependOnField == null || dependOnField === 'NULL') {
|
||||
res.message = "If the type is Reference then 'Depends On Field' can not be empty";
|
||||
res.valid = false;
|
||||
}
|
||||
} else if (data.type === 'Normal') {
|
||||
if (data.dependOn !== 'NULL') {
|
||||
res.message = 'If the type is Reference this field should not refer another object';
|
||||
res.valid = false;
|
||||
} else if (dependOnField == null || dependOnField === 'NULL') {
|
||||
res.message = "If the type is Reference then 'Depends On Field' should be empty";
|
||||
res.valid = false;
|
||||
}
|
||||
}
|
||||
|
||||
return res;
|
||||
@@ -80,6 +181,49 @@ class DataImportAdapter extends AdapterBase {
|
||||
}],
|
||||
];
|
||||
}
|
||||
|
||||
getActionButtonsHtml(id, data) {
|
||||
const editButton = '<img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>';
|
||||
const download = '<img class="tableActionButton" src="_BASE_images/download.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Download CSV Template" onclick="modJs.downloadTemplate(_id_);return false;"></img>';
|
||||
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
||||
const cloneButton = '<img class="tableActionButton" src="_BASE_images/clone.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Copy" onclick="modJs.copyRow(_id_);return false;"></img>';
|
||||
|
||||
let html = '<div style="width:120px;">_edit__download__clone__delete_</div>';
|
||||
|
||||
|
||||
if (this.showAddNew) {
|
||||
html = html.replace('_clone_', cloneButton);
|
||||
} else {
|
||||
html = html.replace('_clone_', '');
|
||||
}
|
||||
|
||||
if (this.showDelete) {
|
||||
html = html.replace('_delete_', deleteButton);
|
||||
} else {
|
||||
html = html.replace('_delete_', '');
|
||||
}
|
||||
|
||||
if (this.showEdit) {
|
||||
html = html.replace('_edit_', editButton);
|
||||
} else {
|
||||
html = html.replace('_edit_', '');
|
||||
}
|
||||
|
||||
html = html.replace('_download_', download);
|
||||
|
||||
html = html.replace(/_id_/g, id);
|
||||
html = html.replace(/_status_/g, data[6]);
|
||||
html = html.replace(/_BASE_/g, this.baseUrl);
|
||||
|
||||
return html;
|
||||
}
|
||||
|
||||
downloadTemplate(id) {
|
||||
const params = { t: this.table, sa: 'downloadTemplate', mod: 'admin=data' };
|
||||
params.req = JSON.stringify({ id });
|
||||
const downloadUrl = modJs.getCustomActionUrl('ca', params);
|
||||
window.open(downloadUrl, '_blank');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -160,7 +304,6 @@ class DataImportFileAdapter extends AdapterBase {
|
||||
|
||||
|
||||
process(id) {
|
||||
const that = this;
|
||||
const object = { id };
|
||||
const reqJson = JSON.stringify(object);
|
||||
|
||||
@@ -174,6 +317,7 @@ class DataImportFileAdapter extends AdapterBase {
|
||||
|
||||
processSuccessCallBack(callBackData) {
|
||||
this.showMessage('Success', 'File imported successfully.');
|
||||
this.get([]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import { DocumentAdapter, CompanyDocumentAdapter, EmployeeDocumentAdapter } from './lib';
|
||||
|
||||
window.DocumentAdapter = DocumentAdapter;
|
||||
window.CompanyDocumentAdapter = CompanyDocumentAdapter;
|
||||
window.EmployeeDocumentAdapter = EmployeeDocumentAdapter;
|
||||
@@ -0,0 +1,180 @@
|
||||
/*
|
||||
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||
*/
|
||||
|
||||
import AdapterBase from '../../../api/AdapterBase';
|
||||
|
||||
/**
|
||||
* DocumentAdapter
|
||||
*/
|
||||
|
||||
class DocumentAdapter extends AdapterBase {
|
||||
getDataMapping() {
|
||||
return [
|
||||
'id',
|
||||
'name',
|
||||
'details',
|
||||
];
|
||||
}
|
||||
|
||||
getHeaders() {
|
||||
return [
|
||||
{ sTitle: 'ID', bVisible: false },
|
||||
{ sTitle: 'Name' },
|
||||
{ sTitle: 'Details' },
|
||||
];
|
||||
}
|
||||
|
||||
getFormFields() {
|
||||
return [
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['name', { label: 'Name', type: 'text', validation: '' }],
|
||||
['expire_notification', { label: 'Notify Expiry', type: 'select', source: [['Yes', 'Yes'], ['No', 'No']] }],
|
||||
['expire_notification_month', { label: 'Notify Expiry Before One Month', type: 'select', source: [['Yes', 'Yes'], ['No', 'No']] }],
|
||||
['expire_notification_week', { label: 'Notify Expiry Before One Week', type: 'select', source: [['Yes', 'Yes'], ['No', 'No']] }],
|
||||
['expire_notification_day', { label: 'Notify Expiry Before One Day', type: 'select', source: [['Yes', 'Yes'], ['No', 'No']] }],
|
||||
// [ "sign", {"label":"Require Signature","type":"select","source":[["Yes","Yes"],["No","No"]]}],
|
||||
// [ "sign_label", {"label":"Signature Description","type":"textarea","validation":"none"}],
|
||||
['details', { label: 'Details', type: 'textarea', validation: 'none' }],
|
||||
];
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'https://icehrm.gitbook.io/icehrm/training-and-reviews/document-management';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* CompanyDocumentAdapter
|
||||
*/
|
||||
|
||||
class CompanyDocumentAdapter extends AdapterBase {
|
||||
getDataMapping() {
|
||||
return [
|
||||
'id',
|
||||
'name',
|
||||
'details',
|
||||
'status',
|
||||
];
|
||||
}
|
||||
|
||||
getHeaders() {
|
||||
return [
|
||||
{ sTitle: 'ID', bVisible: false },
|
||||
{ sTitle: 'Name' },
|
||||
{ sTitle: 'Details' },
|
||||
{ sTitle: 'Status' },
|
||||
];
|
||||
}
|
||||
|
||||
getFormFields() {
|
||||
return [
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['name', { label: 'Name', type: 'text', validation: '' }],
|
||||
['details', { label: 'Details', type: 'textarea', validation: 'none' }],
|
||||
['status', { label: 'Status', type: 'select', source: [['Active', 'Active'], ['Inactive', 'Inactive'], ['Draft', 'Draft']] }],
|
||||
['attachment', { label: 'Attachment', type: 'fileupload' }],
|
||||
[
|
||||
'share_departments',
|
||||
{
|
||||
label: 'Share Departments',
|
||||
type: 'select2multi',
|
||||
'allow-null': true,
|
||||
'null-label': 'All Departments',
|
||||
'remote-source': ['CompanyStructure', 'id', 'title'],
|
||||
help: 'This document will be visible to employees from selected department. If no department is selected only Admin users can see this',
|
||||
},
|
||||
],
|
||||
[
|
||||
'share_employees',
|
||||
{
|
||||
label: 'Share Employees',
|
||||
type: 'select2multi',
|
||||
'allow-null': true,
|
||||
'null-label': 'All Employees',
|
||||
'remote-source': ['Employee', 'id', 'first_name+last_name'],
|
||||
validation: 'none',
|
||||
help: 'Instead of sharing with all the employees in a department, you can share it only with specific employees',
|
||||
},
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* EmployeeDocumentAdapter
|
||||
*/
|
||||
|
||||
class EmployeeDocumentAdapter extends AdapterBase {
|
||||
getDataMapping() {
|
||||
return [
|
||||
'id',
|
||||
'employee',
|
||||
'document',
|
||||
'details',
|
||||
'date_added',
|
||||
'status',
|
||||
'attachment',
|
||||
];
|
||||
}
|
||||
|
||||
getHeaders() {
|
||||
return [
|
||||
{ sTitle: 'ID', bVisible: false },
|
||||
{ sTitle: 'Employee' },
|
||||
{ sTitle: 'Document' },
|
||||
{ sTitle: 'Details' },
|
||||
{ sTitle: 'Date Added' },
|
||||
{ sTitle: 'Status' },
|
||||
{ sTitle: 'Attachment', bVisible: false },
|
||||
];
|
||||
}
|
||||
|
||||
getFormFields() {
|
||||
return [
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['employee', {
|
||||
label: 'Employee',
|
||||
type: 'select2',
|
||||
sort: 'none',
|
||||
'allow-null': false,
|
||||
'remote-source': ['Employee', 'id', 'first_name+last_name', 'getActiveSubordinateEmployees'],
|
||||
}],
|
||||
['document', { label: 'Document', type: 'select2', 'remote-source': ['Document', 'id', 'name'] }],
|
||||
['date_added', { label: 'Date Added', type: 'date', validation: '' }],
|
||||
['valid_until', { label: 'Valid Until', type: 'date', validation: 'none' }],
|
||||
['status', { label: 'Status', type: 'select', source: [['Active', 'Active'], ['Inactive', 'Inactive'], ['Draft', 'Draft']] }],
|
||||
['details', { label: 'Details', type: 'textarea', validation: 'none' }],
|
||||
['attachment', { label: 'Attachment', type: 'fileupload', validation: '' }],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
getFilters() {
|
||||
return [
|
||||
['employee', { label: 'Employee', type: 'select2', 'remote-source': ['Employee', 'id', 'first_name+last_name'] }],
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
getActionButtonsHtml(id, data) {
|
||||
let html = '<div style="width:80px;">'
|
||||
+ '<img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>'
|
||||
+ '<img class="tableActionButton" src="_BASE_images/download.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Download Document" onclick="download(\'_attachment_\');return false;"></img>'
|
||||
+ '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>'
|
||||
+ '</div>';
|
||||
html = html.replace(/_id_/g, id);
|
||||
html = html.replace(/_attachment_/g, data[6]);
|
||||
html = html.replace(/_BASE_/g, this.baseUrl);
|
||||
return html;
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { DocumentAdapter, CompanyDocumentAdapter, EmployeeDocumentAdapter };
|
||||
@@ -296,7 +296,7 @@ class EmployeeSubLanguageAdapter extends SubAdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -504,16 +504,13 @@ class EmployeeSubDocumentAdapter extends SubAdapterBase {
|
||||
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
class SubProfileEnabledAdapterBase extends AdapterBase {
|
||||
isSubProfileTable() {
|
||||
if (this.user.user_level === 'Admin') {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -592,7 +589,7 @@ class EmployeeAdapter extends SubProfileEnabledAdapterBase {
|
||||
const newTableFields = [];
|
||||
for (let i = 0; i < tableFields.length; i++) {
|
||||
if ((this.hiddenFields[tableFields[i]] === undefined || this.hiddenFields[tableFields[i]] === null)
|
||||
&& (this.formOnlyFields[tableFields[i]] === undefined || this.formOnlyFields[tableFields[i]] === null)) {
|
||||
&& (this.formOnlyFields[tableFields[i]] === undefined || this.formOnlyFields[tableFields[i]] === null)) {
|
||||
newTableFields.push(tableFields[i]);
|
||||
}
|
||||
}
|
||||
@@ -610,7 +607,7 @@ class EmployeeAdapter extends SubProfileEnabledAdapterBase {
|
||||
|
||||
for (let i = 0; i < tableFields.length; i++) {
|
||||
if ((this.hiddenFields[tableFields[i]] === undefined || this.hiddenFields[tableFields[i]] === null)
|
||||
&& (this.formOnlyFields[tableFields[i]] === undefined || this.formOnlyFields[tableFields[i]] === null)) {
|
||||
&& (this.formOnlyFields[tableFields[i]] === undefined || this.formOnlyFields[tableFields[i]] === null)) {
|
||||
if (this.fieldNameMap[tableFields[i]] !== undefined && this.fieldNameMap[tableFields[i]] !== null) {
|
||||
title = this.fieldNameMap[tableFields[i]].textMapped;
|
||||
if (title === undefined || title === null || title === '') {
|
||||
@@ -639,7 +636,7 @@ class EmployeeAdapter extends SubProfileEnabledAdapterBase {
|
||||
['last_name', { label: 'Last Name', type: 'text', validation: '' }],
|
||||
['nationality', { label: 'Nationality', type: 'select2', 'remote-source': ['Nationality', 'id', 'name'] }],
|
||||
['birthday', { label: 'Date of Birth', type: 'date', validation: '' }],
|
||||
['gender', { label: 'Gender', type: 'select', source: [['Male', 'Male'], ['Female', 'Female']] }],
|
||||
['gender', { label: 'Gender', type: 'select', source: [['Male', 'Male'], ['Female', 'Female'], ['Divers', 'Divers']] }],
|
||||
['marital_status', { label: 'Marital Status', type: 'select', source: [['Married', 'Married'], ['Single', 'Single'], ['Divorced', 'Divorced'], ['Widowed', 'Widowed'], ['Other', 'Other']] }],
|
||||
['ethnicity', {
|
||||
label: 'Ethnicity', type: 'select2', 'allow-null': true, 'remote-source': ['Ethnicity', 'id', 'name'],
|
||||
@@ -752,7 +749,7 @@ class EmployeeAdapter extends SubProfileEnabledAdapterBase {
|
||||
deleteBtn = '';
|
||||
}
|
||||
// eslint-disable-next-line max-len
|
||||
let html = `<div style="width:110px;"><img class="tableActionButton" src="_BASE_images/user.png" style="cursor:pointer;" rel="tooltip" title="Login as this Employee" onclick="modJs.setAdminProfile(_id_);return false;"></img><img class="tableActionButton" src="_BASE_images/view.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="View" onclick="modJs.view(_id_);return false;"></img><img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img><img class="tableActionButton" src="_BASE_images/edit.png" style="display:none;cursor:pointer;margin-left:15px;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>${deleteBtn}</div>`;
|
||||
let html = `<div style="width:110px;"><img class="tableActionButton" src="_BASE_images/user.png" style="cursor:pointer;" rel="tooltip" title="Login as this Employee" onclick="modJs.setAdminProfile(_id_);return false;"></img><img class="tableActionButton" src="_BASE_images/view.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="View" onclick="modJs.view(_id_);return false;"></img><img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;margin-left:15px;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>${deleteBtn}</div>`;
|
||||
html = html.replace(/_id_/g, id);
|
||||
html = html.replace(/_BASE_/g, this.baseUrl);
|
||||
return html;
|
||||
@@ -1141,7 +1138,7 @@ class TerminatedEmployeeAdapter extends EmployeeAdapter {
|
||||
['last_name', { label: 'Last Name', type: 'text', validation: '' }],
|
||||
['nationality', { label: 'Nationality', type: 'select2', 'remote-source': ['Nationality', 'id', 'name'] }],
|
||||
['birthday', { label: 'Date of Birth', type: 'date', validation: '' }],
|
||||
['gender', { label: 'Gender', type: 'select', source: [['Male', 'Male'], ['Female', 'Female']] }],
|
||||
['gender', { label: 'Gender', type: 'select', source: [['Male', 'Male'], ['Female', 'Female'], ['Divers', 'Divers']] }],
|
||||
['marital_status', { label: 'Marital Status', type: 'select', source: [['Married', 'Married'], ['Single', 'Single'], ['Divorced', 'Divorced'], ['Widowed', 'Widowed'], ['Other', 'Other']] }],
|
||||
['ssn_num', { label: 'SSN/NRIC', type: 'text', validation: 'none' }],
|
||||
['nic_num', { label: 'NIC', type: 'text', validation: 'none' }],
|
||||
@@ -1269,7 +1266,7 @@ class ArchivedEmployeeAdapter extends SubProfileEnabledAdapterBase {
|
||||
['first_name', { label: 'First Name', type: 'text', validation: '' }],
|
||||
['middle_name', { label: 'Middle Name', type: 'text', validation: 'none' }],
|
||||
['last_name', { label: 'Last Name', type: 'text', validation: '' }],
|
||||
['gender', { label: 'Gender', type: 'select', source: [['Male', 'Male'], ['Female', 'Female']] }],
|
||||
['gender', { label: 'Gender', type: 'select', source: [['Male', 'Male'], ['Female', 'Female'], ['Divers', 'Divers']] }],
|
||||
['ssn_num', { label: 'SSN/NRIC', type: 'text', validation: 'none' }],
|
||||
['nic_num', { label: 'NIC', type: 'text', validation: 'none' }],
|
||||
['other_id', { label: 'Other ID', type: 'text', validation: 'none' }],
|
||||
@@ -1371,7 +1368,7 @@ class EmployeeSkillAdapter extends SubProfileEnabledAdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1440,7 +1437,7 @@ class EmployeeEducationAdapter extends SubProfileEnabledAdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1510,7 +1507,7 @@ class EmployeeCertificationAdapter extends SubProfileEnabledAdapterBase {
|
||||
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1588,7 +1585,7 @@ class EmployeeLanguageAdapter extends SubProfileEnabledAdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1651,7 +1648,7 @@ class EmployeeDependentAdapter extends SubProfileEnabledAdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1717,7 +1714,7 @@ class EmergencyContactAdapter extends SubProfileEnabledAdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1780,7 +1777,7 @@ class EmployeeImmigrationAdapter extends SubProfileEnabledAdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1850,7 +1847,7 @@ class EmployeeDocumentAdapter extends AdapterBase {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
return this.user.user_level !== 'Admin';
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -39,13 +39,14 @@ class ModuleAdapter extends AdapterBase {
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['label', { label: 'Label', type: 'text', validation: '' }],
|
||||
['status', { label: 'Status', type: 'select', source: [['Enabled', 'Enabled'], ['Disabled', 'Disabled']] }],
|
||||
['user_levels', { label: 'User Levels', type: 'select2multi', source: [['Admin', 'Admin'], ['Manager', 'Manager'], ['Employee', 'Employee'], ['Other', 'Other']] }],
|
||||
['user_levels', { label: 'User Levels', type: 'select2multi', source: [['Admin', 'Admin'], ['Manager', 'Manager'], ['Employee', 'Employee']] }],
|
||||
['user_roles', { label: 'User Roles', type: 'select2multi', 'remote-source': ['UserRole', 'id', 'name'] }],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
getActionButtonsHtml(id, data) {
|
||||
/*
|
||||
const nonEditableFields = {};
|
||||
nonEditableFields['admin_Company Structure'] = 1;
|
||||
nonEditableFields.admin_Employees = 1;
|
||||
@@ -65,6 +66,7 @@ class ModuleAdapter extends AdapterBase {
|
||||
if (nonEditableFields[`${data[3]}_${data[1]}`] === 1) {
|
||||
return '';
|
||||
}
|
||||
*/
|
||||
let html = '<div style="width:80px;"><img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"/></div>';
|
||||
html = html.replace(/_id_/g, id);
|
||||
html = html.replace(/_BASE_/g, this.baseUrl);
|
||||
|
||||
@@ -6,6 +6,12 @@
|
||||
import AdapterBase from '../../../api/AdapterBase';
|
||||
import TableEditAdapter from '../../../api/TableEditAdapter';
|
||||
|
||||
require('codemirror/mode/javascript/javascript');
|
||||
require('codemirror/addon/edit/closebrackets');
|
||||
require('codemirror/addon/display/autorefresh');
|
||||
const CodeMirror = require('codemirror');
|
||||
|
||||
|
||||
/**
|
||||
* PaydayAdapter
|
||||
*/
|
||||
@@ -102,7 +108,7 @@ class PayrollAdapter extends AdapterBase {
|
||||
label: 'Pay Frequency', type: 'select', 'remote-source': ['PayFrequency', 'id', 'name'], sort: 'none',
|
||||
}],
|
||||
['deduction_group', {
|
||||
label: 'Calculation Group', type: 'select', 'remote-source': ['DeductionGroup', 'id', 'name'], sort: 'none',
|
||||
label: 'Payroll Group', type: 'select', 'remote-source': ['DeductionGroup', 'id', 'name'], sort: 'none',
|
||||
}],
|
||||
['payslipTemplate', { label: 'Payslip Template', type: 'select', 'remote-source': ['PayslipTemplate', 'id', 'name'] }],
|
||||
['department', {
|
||||
@@ -192,6 +198,10 @@ class PayrollAdapter extends AdapterBase {
|
||||
modJsList.tabPayrollData.setCurrentPayroll(null);
|
||||
super.get(callBackData);
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'https://icehrm.gitbook.io/icehrm/payroll-and-expenses/payroll-management';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -258,6 +268,10 @@ class PayrollDataAdapter extends TableEditAdapter {
|
||||
|
||||
document.body.removeChild(element);
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'https://icehrm.gitbook.io/icehrm/payroll-and-expenses/payroll-management';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -266,6 +280,11 @@ class PayrollDataAdapter extends TableEditAdapter {
|
||||
*/
|
||||
|
||||
class PayrollColumnAdapter extends AdapterBase {
|
||||
constructor(endPoint, tab, filter, orderBy) {
|
||||
super(endPoint, tab, filter, orderBy);
|
||||
this.codeMirror = CodeMirror;
|
||||
}
|
||||
|
||||
getDataMapping() {
|
||||
return [
|
||||
'id',
|
||||
@@ -284,7 +303,7 @@ class PayrollColumnAdapter extends AdapterBase {
|
||||
{ sTitle: 'Name' },
|
||||
{ sTitle: 'Column Order' },
|
||||
{ sTitle: 'Calculation Method' },
|
||||
{ sTitle: 'Calculation Group' },
|
||||
{ sTitle: 'Payroll Group' },
|
||||
{ sTitle: 'Editable' },
|
||||
{ sTitle: 'Enabled' },
|
||||
];
|
||||
@@ -314,7 +333,7 @@ class PayrollColumnAdapter extends AdapterBase {
|
||||
label: 'Predefined Calculations', type: 'select2', 'allow-null': true, 'null-label': 'None', 'remote-source': ['CalculationHook', 'code', 'name'],
|
||||
}],
|
||||
['deduction_group', {
|
||||
label: 'Calculation Group', type: 'select2', 'allow-null': true, 'null-label': 'Common', 'remote-source': ['DeductionGroup', 'id', 'name'],
|
||||
label: 'Payroll Group', type: 'select2', 'allow-null': true, 'null-label': 'Common', 'remote-source': ['DeductionGroup', 'id', 'name'],
|
||||
}],
|
||||
['salary_components', { label: 'Salary Components', type: 'select2multi', 'remote-source': ['SalaryComponent', 'id', 'name'] }],
|
||||
['deductions', { label: 'Calculation Method', type: 'select2multi', 'remote-source': ['Deduction', 'id', 'name'] }],
|
||||
@@ -325,17 +344,22 @@ class PayrollColumnAdapter extends AdapterBase {
|
||||
['enabled', { label: 'Enabled', type: 'select', source: [['Yes', 'Yes'], ['No', 'No']] }],
|
||||
['default_value', { label: 'Default Value', type: 'text', validation: '' }],
|
||||
fucntionColumnList,
|
||||
['calculation_function', { label: 'Function', type: 'text', validation: 'none' }],
|
||||
['function_type', { label: 'Function Type', type: 'select', source: [['Advanced', 'Advanced'], ['Simple', 'Simple']] }],
|
||||
['calculation_function', { label: 'Function', type: 'code', validation: 'none' }],
|
||||
];
|
||||
}
|
||||
|
||||
getFilters() {
|
||||
return [
|
||||
['deduction_group', {
|
||||
label: 'Calculation Group', type: 'select2', 'allow-null': true, 'null-label': 'Any', 'remote-source': ['DeductionGroup', 'id', 'name'],
|
||||
label: 'Payroll Group', type: 'select2', 'allow-null': false, 'remote-source': ['DeductionGroup', 'id', 'name'],
|
||||
}],
|
||||
];
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'https://icehrm.gitbook.io/icehrm/payroll-and-expenses/payroll-management';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -388,7 +412,7 @@ class PayrollEmployeeAdapter extends AdapterBase {
|
||||
{ sTitle: 'ID', bVisible: false },
|
||||
{ sTitle: 'Employee' },
|
||||
{ sTitle: 'Pay Frequency' },
|
||||
{ sTitle: 'Calculation Group' },
|
||||
{ sTitle: 'Payroll Group' },
|
||||
{ sTitle: 'Currency' },
|
||||
];
|
||||
}
|
||||
@@ -400,7 +424,7 @@ class PayrollEmployeeAdapter extends AdapterBase {
|
||||
['pay_frequency', { label: 'Pay Frequency', type: 'select2', 'remote-source': ['PayFrequency', 'id', 'name'] }],
|
||||
['currency', { label: 'Currency', type: 'select2', 'remote-source': ['CurrencyType', 'id', 'code'] }],
|
||||
['deduction_group', {
|
||||
label: 'Calculation Group', type: 'select2', 'allow-null': true, 'null-label': 'None', 'remote-source': ['DeductionGroup', 'id', 'name'],
|
||||
label: 'Payroll Group', type: 'select2', 'allow-null': true, 'null-label': 'None', 'remote-source': ['DeductionGroup', 'id', 'name'],
|
||||
}],
|
||||
['deduction_exemptions', {
|
||||
label: 'Calculation Exemptions', type: 'select2multi', 'remote-source': ['Deduction', 'id', 'name'], validation: 'none',
|
||||
@@ -436,7 +460,7 @@ class DeductionAdapter extends AdapterBase {
|
||||
return [
|
||||
{ sTitle: 'ID', bVisible: false },
|
||||
{ sTitle: 'Name' },
|
||||
{ sTitle: 'Calculation Group' },
|
||||
{ sTitle: 'Payroll Group' },
|
||||
];
|
||||
}
|
||||
|
||||
@@ -507,7 +531,7 @@ class DeductionAdapter extends AdapterBase {
|
||||
}],
|
||||
rangeAmounts,
|
||||
['deduction_group', {
|
||||
label: 'Calculation Group', type: 'select2', 'allow-null': true, 'null-label': 'None', 'remote-source': ['DeductionGroup', 'id', 'name'],
|
||||
label: 'Payroll Group', type: 'select2', 'allow-null': false, 'remote-source': ['DeductionGroup', 'id', 'name'],
|
||||
}],
|
||||
|
||||
];
|
||||
@@ -543,6 +567,46 @@ class DeductionGroupAdapter extends AdapterBase {
|
||||
['description', { label: 'Details', type: 'textarea', validation: 'none' }],
|
||||
];
|
||||
}
|
||||
|
||||
getActionButtonsHtml(id) {
|
||||
|
||||
let html = '<div style="width:150px;">'
|
||||
+ '<img class="tableActionButton" src="_BASE_images/edit.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>'
|
||||
+ '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deletePayrollGroup(_id_);return false;"></img>'
|
||||
+ '<img class="tableActionButton" src="_BASE_images/clone.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Duplicate" onclick="modJs.copyRow(_id_);return false;"></img>'
|
||||
+ '</div>';
|
||||
html = html.replace(/_id_/g, id);
|
||||
html = html.replace(/_BASE_/g, this.baseUrl);
|
||||
return html;
|
||||
}
|
||||
|
||||
deletePayrollGroup(id) {
|
||||
if (confirm('Are you sure you want to delete this payroll group? Deleting the payroll group will delete all the Payroll columns and Saved calculations attached to this Payroll Group')) {
|
||||
// Terminate
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
const params = {};
|
||||
params.id = id;
|
||||
const reqJson = JSON.stringify(params);
|
||||
const callBackData = [];
|
||||
callBackData.callBackData = [];
|
||||
callBackData.callBackSuccess = 'deletePayrollGroupSuccessCallback';
|
||||
callBackData.callBackFail = 'deletePayrollGroupFailCallback';
|
||||
|
||||
this.customAction('deletePayrollGroup', 'admin=payroll', reqJson, callBackData);
|
||||
}
|
||||
|
||||
deletePayrollGroupSuccessCallback(callBackData) {
|
||||
this.showMessage('Success', 'Payroll Group Deleted ');
|
||||
this.get([]);
|
||||
}
|
||||
|
||||
|
||||
deletePayrollGroupFailCallback(callBackData) {
|
||||
this.showMessage('Error occured while deleting Payroll Group', callBackData);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import {
|
||||
ClientAdapter,
|
||||
ProjectAdapter,
|
||||
EmployeeProjectAdapter,
|
||||
} from './lib';
|
||||
|
||||
window.ClientAdapter = ClientAdapter;
|
||||
window.ProjectAdapter = ProjectAdapter;
|
||||
window.EmployeeProjectAdapter = EmployeeProjectAdapter;
|
||||
|
||||
@@ -5,64 +5,6 @@
|
||||
|
||||
import AdapterBase from '../../../api/AdapterBase';
|
||||
|
||||
/**
|
||||
* ClientAdapter
|
||||
*/
|
||||
|
||||
class ClientAdapter extends AdapterBase {
|
||||
getDataMapping() {
|
||||
return [
|
||||
'id',
|
||||
'name',
|
||||
'details',
|
||||
'address',
|
||||
'contact_number',
|
||||
];
|
||||
}
|
||||
|
||||
getHeaders() {
|
||||
return [
|
||||
{ sTitle: 'ID', bVisible: false },
|
||||
{ sTitle: 'Name' },
|
||||
{ sTitle: 'Details' },
|
||||
{ sTitle: 'Address' },
|
||||
{ sTitle: 'Contact Number' },
|
||||
];
|
||||
}
|
||||
|
||||
getFormFields() {
|
||||
if (this.showSave) {
|
||||
return [
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['name', { label: 'Name', type: 'text' }],
|
||||
['details', { label: 'Details', type: 'textarea', validation: 'none' }],
|
||||
['address', { label: 'Address', type: 'textarea', validation: 'none' }],
|
||||
['contact_number', { label: 'Contact Number', type: 'text', validation: 'none' }],
|
||||
['contact_email', { label: 'Contact Email', type: 'text', validation: 'none' }],
|
||||
['company_url', { label: 'Company Url', type: 'text', validation: 'none' }],
|
||||
['status', { label: 'Status', type: 'select', source: [['Active', 'Active'], ['Inactive', 'Inactive']] }],
|
||||
['first_contact_date', { label: 'First Contact Date', type: 'date', validation: 'none' }],
|
||||
];
|
||||
}
|
||||
return [
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['name', { label: 'Name', type: 'placeholder' }],
|
||||
['details', { label: 'Details', type: 'placeholder', validation: 'none' }],
|
||||
['address', { label: 'Address', type: 'placeholder', validation: 'none' }],
|
||||
['contact_number', { label: 'Contact Number', type: 'placeholder', validation: 'none' }],
|
||||
['contact_email', { label: 'Contact Email', type: 'placeholder', validation: 'none' }],
|
||||
['company_url', { label: 'Company Url', type: 'placeholder', validation: 'none' }],
|
||||
['status', { label: 'Status', type: 'placeholder', source: [['Active', 'Active'], ['Inactive', 'Inactive']] }],
|
||||
['first_contact_date', { label: 'First Contact Date', type: 'placeholder', validation: 'none' }],
|
||||
];
|
||||
}
|
||||
|
||||
getHelpLink() {
|
||||
return 'http://blog.icehrm.com/docs/projects/';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ProjectAdapter
|
||||
*/
|
||||
@@ -157,7 +99,6 @@ class EmployeeProjectAdapter extends AdapterBase {
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
ClientAdapter,
|
||||
ProjectAdapter,
|
||||
EmployeeProjectAdapter,
|
||||
};
|
||||
|
||||
+30
-12
@@ -36,10 +36,27 @@ class UserAdapter extends AdapterBase {
|
||||
['employee', {
|
||||
label: 'Employee', type: 'select2', 'allow-null': true, 'remote-source': ['Employee', 'id', 'first_name+last_name'],
|
||||
}],
|
||||
['user_level', { label: 'User Level', type: 'select', source: [['Admin', 'Admin'], ['Manager', 'Manager'], ['Employee', 'Employee'], ['Other', 'Other']] }],
|
||||
['user_level',
|
||||
{
|
||||
label: 'User Level',
|
||||
type: 'select',
|
||||
source: [
|
||||
['Admin', 'Admin'],
|
||||
['Manager', 'Manager'],
|
||||
['Employee', 'Employee'],
|
||||
['Restricted Admin', 'Restricted Admin'],
|
||||
['Restricted Manager', 'Restricted Manager'],
|
||||
['Restricted Employee', 'Restricted Employee'],
|
||||
],
|
||||
},
|
||||
],
|
||||
['user_roles', { label: 'User Roles', type: 'select2multi', 'remote-source': ['UserRole', 'id', 'name'] }],
|
||||
['lang', {
|
||||
label: 'Language', type: 'select2', 'allow-null': true, 'remote-source': ['SupportedLanguage', 'id', 'description'],
|
||||
}],
|
||||
['default_module', {
|
||||
label: 'Default Module', type: 'select2', 'null-label': 'No Default Module', 'allow-null': true, 'remote-source': ['Module', 'id', 'name', 'getUserModules'],
|
||||
}],
|
||||
];
|
||||
}
|
||||
|
||||
@@ -53,6 +70,7 @@ class UserAdapter extends AdapterBase {
|
||||
$('#adminUsersModel').modal('show');
|
||||
$('#adminUsersChangePwd #newpwd').val('');
|
||||
$('#adminUsersChangePwd #conpwd').val('');
|
||||
$('#adminUsersChangePwd_error').hide();
|
||||
}
|
||||
|
||||
saveUserSuccessCallBack(callBackData, serverData) {
|
||||
@@ -71,7 +89,7 @@ class UserAdapter extends AdapterBase {
|
||||
|
||||
doCustomValidation(params) {
|
||||
let msg = null;
|
||||
if ((params.user_level !== 'Admin' && params.user_level !== 'Other') && params.employee === 'NULL') {
|
||||
if ((params.user_level !== 'Admin' && params.user_level !== 'Restricted Admin') && params.employee === 'NULL') {
|
||||
msg = 'For this user type, you have to assign an employee when adding or editing the user.<br/>';
|
||||
msg += " You may create a new employee through 'Admin'->'Employees' menu";
|
||||
}
|
||||
@@ -112,23 +130,23 @@ class UserAdapter extends AdapterBase {
|
||||
changePasswordConfirm() {
|
||||
$('#adminUsersChangePwd_error').hide();
|
||||
|
||||
const passwordValidation = function (str) {
|
||||
return str.length > 7;
|
||||
};
|
||||
|
||||
const password = $('#adminUsersChangePwd #newpwd').val();
|
||||
|
||||
if (!passwordValidation(password)) {
|
||||
$('#adminUsersChangePwd_error').html('Password should be longer than 7 characters');
|
||||
$('#adminUsersChangePwd_error').show();
|
||||
return;
|
||||
}
|
||||
|
||||
const conPassword = $('#adminUsersChangePwd #conpwd').val();
|
||||
|
||||
if (conPassword !== password) {
|
||||
$('#adminUsersChangePwd_error').html("Passwords don't match");
|
||||
$('#adminUsersChangePwd_error').show();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
const validatePasswordResult = this.validatePassword(password);
|
||||
|
||||
if (validatePasswordResult != null) {
|
||||
$('#adminUsersChangePwd_error').html(validatePasswordResult);
|
||||
$('#adminUsersChangePwd_error').show();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable no-restricted-globals */
|
||||
/*
|
||||
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||
*/
|
||||
const SocialShare = {
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Test Api Common</title>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script src="bundle.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script type="application/javascript">
|
||||
|
||||
window.onload = function () {
|
||||
document.querySelector('#time').innerHTML
|
||||
= new Date().toISOString().slice(0, 19).replace('T', ' ');
|
||||
timeUtils = setupTimeUtils(5.5);
|
||||
timeUtils.convertToRelativeTime($('#time'));
|
||||
};
|
||||
|
||||
var requestCache = new RequestCache();
|
||||
requestCache.setData('123', {'abc':123});
|
||||
console.log(requestCache.getData('123'));
|
||||
|
||||
|
||||
</script>
|
||||
<span id="time"></span>
|
||||
</body>
|
||||
</html>
|
||||
@@ -99,10 +99,7 @@ class ApproveAdminAdapter extends LogViewAdapter {
|
||||
}
|
||||
|
||||
isSubProfileTable() {
|
||||
if (this.user.user_level == 'Admin') {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return this.user.user_level !== 'Admin' && this.user.user_level !== 'Restricted Admin';
|
||||
}
|
||||
|
||||
getStatusOptionsData(currentStatus) {
|
||||
|
||||
@@ -180,6 +180,8 @@ class FormValidation {
|
||||
}
|
||||
} else if (inputObject.hasClass('simplemde')) {
|
||||
inputValue = $(`#${that.formId} #${id}`).data('simplemde').value();
|
||||
} else if (inputObject.hasClass('code')) {
|
||||
inputValue = $(`#${that.formId} #${id}`).data('codemirror').getValue();
|
||||
} else if (inputObject.hasClass('tinymce')) {
|
||||
inputValue = tinyMCE.get(id).getContent({ format: 'raw' });
|
||||
} else {
|
||||
|
||||
+58
-5
@@ -1010,8 +1010,41 @@ class ModuleBase {
|
||||
return params;
|
||||
}
|
||||
|
||||
validatePassword(password) {
|
||||
if (password.length < 8) {
|
||||
return this.gt('Password too short');
|
||||
}
|
||||
|
||||
if (password.length > 20) {
|
||||
return this.gt('Password too long');
|
||||
}
|
||||
|
||||
const numberTester = /.*[0-9]+.*$/;
|
||||
if (!password.match(numberTester)) {
|
||||
return this.gt('Password must include at least one number');
|
||||
}
|
||||
|
||||
const lowerTester = /.*[a-z]+.*$/;
|
||||
if (!password.match(lowerTester)) {
|
||||
return this.gt('Password must include at least one lowercase letter');
|
||||
}
|
||||
|
||||
const upperTester = /.*[A-Z]+.*$/;
|
||||
if (!password.match(upperTester)) {
|
||||
return this.gt('Password must include at least one uppercase letter');
|
||||
}
|
||||
|
||||
const symbolTester = /.*[\W]+.*$/;
|
||||
if (!password.match(symbolTester)) {
|
||||
return this.gt('Password must include at least one symbol');
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Override this method to inject attitional parameters or modify existing parameters retrived from add/edit form before sending to the server
|
||||
* Override this method to inject attitional parameters or modify existing parameters retrived from
|
||||
* add/edit form before sending to the server
|
||||
* @method forceInjectValuesBeforeSave
|
||||
* @param params {Array} keys and values in form
|
||||
* @returns {Array} modified parameters
|
||||
@@ -1345,6 +1378,20 @@ class ModuleBase {
|
||||
// simplemde.value($(this).val());
|
||||
});
|
||||
|
||||
const codeMirror = this.codeMirror;
|
||||
if (codeMirror) {
|
||||
$tempDomObj.find('.code').each(function () {
|
||||
const editor = codeMirror.fromTextArea($(this)[0], {
|
||||
lineNumbers: false,
|
||||
matchBrackets: true,
|
||||
continueComments: 'Enter',
|
||||
extraKeys: { 'Ctrl-Q': 'toggleComment' },
|
||||
});
|
||||
$(this).data('codemirror', editor);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// $tempDomObj.find('.select2Field').select2();
|
||||
$tempDomObj.find('.select2Field').each(function () {
|
||||
$(this).select2().select2('val', $(this).find('option:eq(0)').val());
|
||||
@@ -2050,6 +2097,11 @@ class ModuleBase {
|
||||
}
|
||||
} else if (fields[i][1].type === 'simplemde') {
|
||||
$(`${formId} #${fields[i][0]}`).data('simplemde').value(object[fields[i][0]]);
|
||||
} else if (fields[i][1].type === 'code') {
|
||||
const cm = $(`${formId} #${fields[i][0]}`).data('codemirror');
|
||||
if (cm) {
|
||||
cm.getDoc().setValue(object[fields[i][0]]);
|
||||
}
|
||||
} else {
|
||||
$(`${formId} #${fields[i][0]}`).val(object[fields[i][0]]);
|
||||
}
|
||||
@@ -2079,10 +2131,8 @@ class ModuleBase {
|
||||
field[1].label = `${field[1].label}<font class="redFont">*</font>`;
|
||||
}
|
||||
}
|
||||
if (field[1].type === 'text' || field[1].type === 'textarea' || field[1].type === 'hidden' || field[1].type === 'label' || field[1].type === 'placeholder') {
|
||||
t = t.replace(/_id_/g, field[0]);
|
||||
t = t.replace(/_label_/g, field[1].label);
|
||||
} else if (field[1].type === 'select' || field[1].type === 'select2' || field[1].type === 'select2multi') {
|
||||
|
||||
if (field[1].type === 'select' || field[1].type === 'select2' || field[1].type === 'select2multi') {
|
||||
t = t.replace(/_id_/g, field[0]);
|
||||
t = t.replace(/_label_/g, field[1].label);
|
||||
if (field[1].source !== undefined && field[1].source != null) {
|
||||
@@ -2131,6 +2181,9 @@ class ModuleBase {
|
||||
} else if (field[1].type === 'tinymce' || field[1].type === 'simplemde') {
|
||||
t = t.replace(/_id_/g, field[0]);
|
||||
t = t.replace(/_label_/g, field[1].label);
|
||||
} else {
|
||||
t = t.replace(/_id_/g, field[0]);
|
||||
t = t.replace(/_label_/g, field[1].label);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -337,6 +337,10 @@ a {
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
.dropdown-menu > li > a> h5 {
|
||||
margin-top: 0.7em;
|
||||
}
|
||||
|
||||
.lightface .lightfaceContent .lightfaceTitle {
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
@@ -394,6 +398,7 @@ table.dataTable{
|
||||
|
||||
.nav-tabs>li>a{
|
||||
border-radius:0px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.nav > li > a:hover {
|
||||
@@ -654,6 +659,10 @@ table.dataTable{
|
||||
background: #fff !important;
|
||||
}
|
||||
|
||||
.right-side > .content-header > h1 {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.right-side > .content-header > h1 > small {
|
||||
color: #FFF;
|
||||
}
|
||||
@@ -716,6 +725,10 @@ table.dataTable{
|
||||
box-shadow: 0 2px 5px 0 rgba(0,0,0,.12), 0 2px 10px 0 rgba(0,0,0,.09);
|
||||
}
|
||||
|
||||
.small-box > .inner > h3{
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.help-info{
|
||||
font-size: 25px;
|
||||
color: #367fa9;
|
||||
@@ -880,3 +893,20 @@ table.dataTable{
|
||||
width: 100%;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) {
|
||||
#delegationDiv {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.right-side > .content-header {
|
||||
float: left;
|
||||
clear: both;
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Vendored
+23893
File diff suppressed because it is too large
Load Diff
Vendored
+19
-9183
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
import {
|
||||
EmployeeDocumentAdapter,
|
||||
EmployeeCompanyDocumentAdapter,
|
||||
} from './lib';
|
||||
|
||||
window.EmployeeDocumentAdapter = EmployeeDocumentAdapter;
|
||||
window.EmployeeCompanyDocumentAdapter = EmployeeCompanyDocumentAdapter;
|
||||
@@ -0,0 +1,130 @@
|
||||
/*
|
||||
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||
*/
|
||||
import AdapterBase from '../../../api/AdapterBase';
|
||||
import ObjectAdapter from '../../../api/ObjectAdapter';
|
||||
|
||||
class EmployeeDocumentAdapter extends AdapterBase {
|
||||
getDataMapping() {
|
||||
return [
|
||||
'id',
|
||||
'document',
|
||||
'details',
|
||||
'date_added',
|
||||
'status',
|
||||
'attachment',
|
||||
];
|
||||
}
|
||||
|
||||
getHeaders() {
|
||||
return [
|
||||
{ sTitle: 'ID', bVisible: false },
|
||||
{ sTitle: 'Document' },
|
||||
{ sTitle: 'Details' },
|
||||
{ sTitle: 'Date Added' },
|
||||
{ sTitle: 'Status' },
|
||||
{ sTitle: 'Attachment', bVisible: false },
|
||||
];
|
||||
}
|
||||
|
||||
getFormFields() {
|
||||
return [
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['document', { label: 'Document', type: 'select2', 'remote-source': ['Document', 'id', 'name'] }],
|
||||
// [ "date_added", {"label":"Date Added","type":"date","validation":""}],
|
||||
['valid_until', { label: 'Valid Until', type: 'date', validation: 'none' }],
|
||||
['status', { label: 'Status', type: 'select', source: [['Active', 'Active'], ['Inactive', 'Inactive'], ['Draft', 'Draft']] }],
|
||||
['details', { label: 'Details', type: 'textarea', validation: 'none' }],
|
||||
['attachment', { label: 'Attachment', type: 'fileupload', validation: '' }],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
getActionButtonsHtml(id, data) {
|
||||
const downloadButton = '<img class="tableActionButton" src="_BASE_images/download.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Download Document" onclick="download(\'_attachment_\');return false;"></img>';
|
||||
const editButton = '<img class="tableActionButton" src="_BASE_images/edit.png" style="cursor:pointer;" rel="tooltip" title="Edit" onclick="modJs.edit(_id_);return false;"></img>';
|
||||
const deleteButton = '<img class="tableActionButton" src="_BASE_images/delete.png" style="margin-left:15px;cursor:pointer;" rel="tooltip" title="Delete" onclick="modJs.deleteRow(_id_);return false;"></img>';
|
||||
let html = '<div style="width:80px;">_edit__download__delete_</div>';
|
||||
|
||||
html = html.replace('_download_', downloadButton);
|
||||
|
||||
if (this.showDelete) {
|
||||
html = html.replace('_delete_', deleteButton);
|
||||
} else {
|
||||
html = html.replace('_delete_', '');
|
||||
}
|
||||
|
||||
if (this.showEdit) {
|
||||
html = html.replace('_edit_', editButton);
|
||||
} else {
|
||||
html = html.replace('_edit_', '');
|
||||
}
|
||||
|
||||
html = html.replace(/_id_/g, id);
|
||||
html = html.replace(/_attachment_/g, data[5]);
|
||||
html = html.replace(/_BASE_/g, this.baseUrl);
|
||||
return html;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* EmployeeCompanyDocumentAdapter
|
||||
*/
|
||||
|
||||
class EmployeeCompanyDocumentAdapter extends ObjectAdapter {
|
||||
getDataMapping() {
|
||||
return [
|
||||
'id',
|
||||
'name',
|
||||
'details',
|
||||
];
|
||||
}
|
||||
|
||||
getHeaders() {
|
||||
return [
|
||||
{ sTitle: 'ID', bVisible: false },
|
||||
{ sTitle: 'Name' },
|
||||
{ sTitle: 'Details' },
|
||||
];
|
||||
}
|
||||
|
||||
getFormFields() {
|
||||
return [
|
||||
['id', { label: 'ID', type: 'hidden' }],
|
||||
['name', { label: 'Name', type: 'placeholder', validation: '' }],
|
||||
['details', { label: 'Details', type: 'placeholder', validation: 'none' }],
|
||||
['attachment', { label: 'Attachment', type: 'placeholder', validation: 'none' }],
|
||||
];
|
||||
}
|
||||
|
||||
addDomEvents(object) {
|
||||
|
||||
}
|
||||
|
||||
getTemplateName() {
|
||||
return 'file.html';
|
||||
}
|
||||
|
||||
preProcessTableData(row) {
|
||||
row.color = this.getColorByFileType(row.type);
|
||||
row.icon = this.getIconByFileType(row.type);
|
||||
row.details_long = this.nl2br(row.details);
|
||||
|
||||
if (row.details.length > 30) {
|
||||
row.details = row.details.substring(0, 30);
|
||||
}
|
||||
|
||||
if (row.size === undefined || row.size == null) {
|
||||
row.size = '';
|
||||
}
|
||||
return row;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = {
|
||||
EmployeeDocumentAdapter,
|
||||
EmployeeCompanyDocumentAdapter,
|
||||
};
|
||||
@@ -133,7 +133,7 @@ class EmployeeAdapter extends AdapterBase {
|
||||
['last_name', { label: 'Last Name', type: 'text', validation: '' }],
|
||||
['nationality', { label: 'Nationality', type: 'select2', 'remote-source': ['Nationality', 'id', 'name'] }],
|
||||
['birthday', { label: 'Date of Birth', type: 'date', validation: '' }],
|
||||
['gender', { label: 'Gender', type: 'select', source: [['Male', 'Male'], ['Female', 'Female']] }],
|
||||
['gender', { label: 'Gender', type: 'select', source: [['Male', 'Male'], ['Female', 'Female'], ['Divers', 'Divers']] }],
|
||||
['marital_status', { label: 'Marital Status', type: 'select', source: [['Married', 'Married'], ['Single', 'Single'], ['Divorced', 'Divorced'], ['Widowed', 'Widowed'], ['Other', 'Other']] }],
|
||||
ssn_num,
|
||||
['nic_num', { label: 'NIC', type: 'text', validation: 'none' }],
|
||||
@@ -334,28 +334,28 @@ class EmployeeAdapter extends AdapterBase {
|
||||
$('#adminUsersModel').modal('show');
|
||||
$('#adminUsersChangePwd #newpwd').val('');
|
||||
$('#adminUsersChangePwd #conpwd').val('');
|
||||
$('#adminUsersChangePwd_error').hide();
|
||||
}
|
||||
|
||||
changePasswordConfirm() {
|
||||
$('#adminUsersChangePwd_error').hide();
|
||||
|
||||
const passwordValidation = function (str) {
|
||||
return str.length > 7;
|
||||
};
|
||||
|
||||
const password = $('#adminUsersChangePwd #newpwd').val();
|
||||
|
||||
if (!passwordValidation(password)) {
|
||||
$('#adminUsersChangePwd_error').html('Password should be longer than 7 characters');
|
||||
$('#adminUsersChangePwd_error').show();
|
||||
return;
|
||||
}
|
||||
|
||||
const conPassword = $('#adminUsersChangePwd #conpwd').val();
|
||||
|
||||
if (conPassword !== password) {
|
||||
$('#adminUsersChangePwd_error').html("Passwords don't match");
|
||||
$('#adminUsersChangePwd_error').show();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
const validatePasswordResult = this.validatePassword(password);
|
||||
|
||||
if (validatePasswordResult != null) {
|
||||
$('#adminUsersChangePwd_error').html(validatePasswordResult);
|
||||
$('#adminUsersChangePwd_error').show();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -502,7 +502,7 @@ class CompanyGraphAdapter extends CompanyStructureAdapter {
|
||||
.size([h, w]);
|
||||
|
||||
this.diagonal = d3.svg.diagonal()
|
||||
.projection(d => [d.y, d.x]);
|
||||
.projection((d) => [d.y, d.x]);
|
||||
|
||||
this.vis = d3.select('#tabPageCompanyGraph').append('svg:svg')
|
||||
.attr('width', w + m[1] + m[3])
|
||||
@@ -537,34 +537,34 @@ class CompanyGraphAdapter extends CompanyStructureAdapter {
|
||||
// Update the nodes�
|
||||
const node = that.vis.selectAll('g.node')
|
||||
// eslint-disable-next-line no-return-assign
|
||||
.data(nodes, d => d.id || (d.id = ++that.nodeIdCounter));
|
||||
.data(nodes, (d) => d.id || (d.id = ++that.nodeIdCounter));
|
||||
|
||||
// Enter any new nodes at the parent's previous position.
|
||||
const nodeEnter = node.enter().append('svg:g')
|
||||
.attr('class', 'node')
|
||||
.attr('transform', d => `translate(${source.y0},${source.x0})`)
|
||||
.attr('transform', (d) => `translate(${source.y0},${source.x0})`)
|
||||
.on('click', (d) => { that.toggle(d); that.update(d, tree, root); });
|
||||
|
||||
nodeEnter.append('svg:circle')
|
||||
.attr('r', 1e-6)
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
.style('fill', d => (d._children ? 'lightsteelblue' : '#fff'));
|
||||
.style('fill', (d) => (d._children ? 'lightsteelblue' : '#fff'));
|
||||
|
||||
nodeEnter.append('svg:text')
|
||||
.attr('x', d => (d.children || d._children ? -10 : 10))
|
||||
.attr('x', (d) => (d.children || d._children ? -10 : 10))
|
||||
.attr('dy', '.35em')
|
||||
.attr('text-anchor', d => (d.children || d._children ? 'end' : 'start'))
|
||||
.text(d => d.name)
|
||||
.attr('text-anchor', (d) => (d.children || d._children ? 'end' : 'start'))
|
||||
.text((d) => d.name)
|
||||
.style('fill-opacity', 1e-6);
|
||||
|
||||
// Transition nodes to their new position.
|
||||
const nodeUpdate = node.transition()
|
||||
.duration(duration)
|
||||
.attr('transform', d => `translate(${d.y},${d.x})`);
|
||||
.attr('transform', (d) => `translate(${d.y},${d.x})`);
|
||||
|
||||
nodeUpdate.select('circle')
|
||||
.attr('r', 4.5)
|
||||
.style('fill', d => (d._children ? 'lightsteelblue' : '#fff'));
|
||||
.style('fill', (d) => (d._children ? 'lightsteelblue' : '#fff'));
|
||||
|
||||
nodeUpdate.select('text')
|
||||
.style('fill-opacity', 1);
|
||||
@@ -572,7 +572,7 @@ class CompanyGraphAdapter extends CompanyStructureAdapter {
|
||||
// Transition exiting nodes to the parent's new position.
|
||||
const nodeExit = node.exit().transition()
|
||||
.duration(duration)
|
||||
.attr('transform', d => `translate(${source.y},${source.x})`)
|
||||
.attr('transform', (d) => `translate(${source.y},${source.x})`)
|
||||
.remove();
|
||||
|
||||
nodeExit.select('circle')
|
||||
@@ -583,7 +583,7 @@ class CompanyGraphAdapter extends CompanyStructureAdapter {
|
||||
|
||||
// Update the links�
|
||||
const link = that.vis.selectAll('path.link')
|
||||
.data(tree.links(nodes), d => d.target.id);
|
||||
.data(tree.links(nodes), (d) => d.target.id);
|
||||
|
||||
// Enter any new links at the parent's previous position.
|
||||
link.enter().insert('svg:path', 'g')
|
||||
@@ -695,7 +695,7 @@ class ApiAccessAdapter extends AdapterBase {
|
||||
}
|
||||
|
||||
setApiUrl(apiUrl) {
|
||||
this.apiUrl = apiUrl;``
|
||||
this.apiUrl = apiUrl; '';
|
||||
}
|
||||
|
||||
setToken(token) {
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
../loose-envify/cli.js
|
||||
+1
@@ -0,0 +1 @@
|
||||
../typescript/bin/tsc
|
||||
+1
@@ -0,0 +1 @@
|
||||
../typescript/bin/tsserver
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
MIT LICENSE
|
||||
|
||||
Copyright (c) 2018-present Ant UED, https://xtech.antfin.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
<h1 align="center">Ant Design Colors</h1>
|
||||
|
||||
<div align="center">
|
||||
|
||||
:art: Color palettes calculator of [Ant Design](https://ant.design/docs/spec/colors).
|
||||
|
||||
[](https://travis-ci.org/ant-design/ant-design-colors)
|
||||
[](https://coveralls.io/r/ant-design/ant-design-colors?branch=master)
|
||||
[](https://www.npmjs.org/package/@ant-design/colors)
|
||||
[](http://npmjs.com/@ant-design/colors)
|
||||
|
||||
[](https://david-dm.org/ant-design/ant-design-colors)
|
||||
[](https://david-dm.org/ant-design/ant-design-colors?type=dev) [](https://greenkeeper.io/)
|
||||
</div>
|
||||
|
||||

|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
$ npm install @ant-design/colors
|
||||
// or
|
||||
$ yarn add @ant-design/colors
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
$ npm install @ant-design/colors --save
|
||||
```
|
||||
|
||||
```js
|
||||
import { red, volcano, gold, yellow, lime, green, cyan, blue, geekblue, purple, magenta, grey } from '@ant-design/colors';
|
||||
|
||||
console.log(blue); // ['#E6F7FF', '#BAE7FF', '#91D5FF', ''#69C0FF', '#40A9FF', '#1890FF', '#096DD9', '#0050B3', '#003A8C', '#002766']
|
||||
console.log(blue.primary); // '#1890FF'
|
||||
```
|
||||
|
||||
```js
|
||||
import { generate, presetPalettes } from '@ant-design/colors';
|
||||
|
||||
// Generate color palettes by a given color
|
||||
const colors = generate('#1890ff');
|
||||
console.log(colors); // ['#E6F7FF', '#BAE7FF', '#91D5FF', ''#69C0FF', '#40A9FF', '#1890FF', '#096DD9', '#0050B3', '#003A8C', '#002766']
|
||||
console.log(presetPalettes);
|
||||
/*
|
||||
{
|
||||
red: [...],
|
||||
volcano: [...],
|
||||
orange: [...],
|
||||
gold: [...],
|
||||
yellow: [...],
|
||||
lime: [...],
|
||||
green: [...],
|
||||
cyan: [...],
|
||||
blue: [...],
|
||||
geekblue: [...],
|
||||
purple: [...],
|
||||
magenta: [...],
|
||||
}
|
||||
*/
|
||||
```
|
||||
|
||||
## Articles
|
||||
|
||||
- [Ant Design Colors](https://ant.design/docs/spec/colors)
|
||||
- [Ant Design 色板生成算法演进之路](https://zhuanlan.zhihu.com/p/32422584)
|
||||
+1
@@ -0,0 +1 @@
|
||||
export default function generate(color: string): string[];
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var tinycolor2_1 = __importDefault(require("tinycolor2"));
|
||||
var hueStep = 2; // 色相阶梯
|
||||
var saturationStep = 16; // 饱和度阶梯,浅色部分
|
||||
var saturationStep2 = 5; // 饱和度阶梯,深色部分
|
||||
var brightnessStep1 = 5; // 亮度阶梯,浅色部分
|
||||
var brightnessStep2 = 15; // 亮度阶梯,深色部分
|
||||
var lightColorCount = 5; // 浅色数量,主色上
|
||||
var darkColorCount = 4; // 深色数量,主色下
|
||||
function getHue(hsv, i, light) {
|
||||
var hue;
|
||||
// 根据色相不同,色相转向不同
|
||||
if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) {
|
||||
hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i;
|
||||
}
|
||||
else {
|
||||
hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i;
|
||||
}
|
||||
if (hue < 0) {
|
||||
hue += 360;
|
||||
}
|
||||
else if (hue >= 360) {
|
||||
hue -= 360;
|
||||
}
|
||||
return hue;
|
||||
}
|
||||
function getSaturation(hsv, i, light) {
|
||||
// grey color don't change saturation
|
||||
if (hsv.h === 0 && hsv.s === 0) {
|
||||
return hsv.s;
|
||||
}
|
||||
var saturation;
|
||||
if (light) {
|
||||
saturation = Math.round(hsv.s * 100) - saturationStep * i;
|
||||
}
|
||||
else if (i === darkColorCount) {
|
||||
saturation = Math.round(hsv.s * 100) + saturationStep;
|
||||
}
|
||||
else {
|
||||
saturation = Math.round(hsv.s * 100) + saturationStep2 * i;
|
||||
}
|
||||
// 边界值修正
|
||||
if (saturation > 100) {
|
||||
saturation = 100;
|
||||
}
|
||||
// 第一格的 s 限制在 6-10 之间
|
||||
if (light && i === lightColorCount && saturation > 10) {
|
||||
saturation = 10;
|
||||
}
|
||||
if (saturation < 6) {
|
||||
saturation = 6;
|
||||
}
|
||||
return saturation;
|
||||
}
|
||||
function getValue(hsv, i, light) {
|
||||
if (light) {
|
||||
return Math.round(hsv.v * 100) + brightnessStep1 * i;
|
||||
}
|
||||
return Math.round(hsv.v * 100) - brightnessStep2 * i;
|
||||
}
|
||||
function generate(color) {
|
||||
var patterns = [];
|
||||
var pColor = tinycolor2_1.default(color);
|
||||
for (var i = lightColorCount; i > 0; i -= 1) {
|
||||
var hsv = pColor.toHsv();
|
||||
var colorString = tinycolor2_1.default({
|
||||
h: getHue(hsv, i, true),
|
||||
s: getSaturation(hsv, i, true),
|
||||
v: getValue(hsv, i, true),
|
||||
}).toHexString();
|
||||
patterns.push(colorString);
|
||||
}
|
||||
patterns.push(pColor.toHexString());
|
||||
for (var i = 1; i <= darkColorCount; i += 1) {
|
||||
var hsv = pColor.toHsv();
|
||||
var colorString = tinycolor2_1.default({
|
||||
h: getHue(hsv, i),
|
||||
s: getSaturation(hsv, i),
|
||||
v: getValue(hsv, i),
|
||||
}).toHexString();
|
||||
patterns.push(colorString);
|
||||
}
|
||||
return patterns;
|
||||
}
|
||||
exports.default = generate;
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
import generate from './generate';
|
||||
export interface PalettesProps {
|
||||
[key: string]: string[] & {
|
||||
primary?: string;
|
||||
};
|
||||
}
|
||||
declare const presetPrimaryColors: {
|
||||
[key: string]: string;
|
||||
};
|
||||
declare const presetPalettes: PalettesProps;
|
||||
declare const red: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const volcano: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const gold: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const orange: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const yellow: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const lime: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const green: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const cyan: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const blue: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const geekblue: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const purple: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const magenta: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
declare const grey: string[] & {
|
||||
primary?: string | undefined;
|
||||
};
|
||||
export { generate, presetPalettes, presetPrimaryColors, red, volcano, orange, gold, yellow, lime, green, cyan, blue, geekblue, purple, magenta, grey, };
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var generate_1 = __importDefault(require("./generate"));
|
||||
exports.generate = generate_1.default;
|
||||
var presetPrimaryColors = {
|
||||
red: '#F5222D',
|
||||
volcano: '#FA541C',
|
||||
orange: '#FA8C16',
|
||||
gold: '#FAAD14',
|
||||
yellow: '#FADB14',
|
||||
lime: '#A0D911',
|
||||
green: '#52C41A',
|
||||
cyan: '#13C2C2',
|
||||
blue: '#1890FF',
|
||||
geekblue: '#2F54EB',
|
||||
purple: '#722ED1',
|
||||
magenta: '#EB2F96',
|
||||
grey: '#666666',
|
||||
};
|
||||
exports.presetPrimaryColors = presetPrimaryColors;
|
||||
var presetPalettes = {};
|
||||
exports.presetPalettes = presetPalettes;
|
||||
Object.keys(presetPrimaryColors).forEach(function (key) {
|
||||
presetPalettes[key] = generate_1.default(presetPrimaryColors[key]);
|
||||
presetPalettes[key].primary = presetPalettes[key][5];
|
||||
});
|
||||
var red = presetPalettes.red;
|
||||
exports.red = red;
|
||||
var volcano = presetPalettes.volcano;
|
||||
exports.volcano = volcano;
|
||||
var gold = presetPalettes.gold;
|
||||
exports.gold = gold;
|
||||
var orange = presetPalettes.orange;
|
||||
exports.orange = orange;
|
||||
var yellow = presetPalettes.yellow;
|
||||
exports.yellow = yellow;
|
||||
var lime = presetPalettes.lime;
|
||||
exports.lime = lime;
|
||||
var green = presetPalettes.green;
|
||||
exports.green = green;
|
||||
var cyan = presetPalettes.cyan;
|
||||
exports.cyan = cyan;
|
||||
var blue = presetPalettes.blue;
|
||||
exports.blue = blue;
|
||||
var geekblue = presetPalettes.geekblue;
|
||||
exports.geekblue = geekblue;
|
||||
var purple = presetPalettes.purple;
|
||||
exports.purple = purple;
|
||||
var magenta = presetPalettes.magenta;
|
||||
exports.magenta = magenta;
|
||||
var grey = presetPalettes.grey;
|
||||
exports.grey = grey;
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"_from": "@ant-design/colors@^3.1.0",
|
||||
"_id": "@ant-design/colors@3.2.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-YKgNbG2dlzqMhA9NtI3/pbY16m3Yl/EeWBRa+lB1X1YaYxHrxNexiQYCLTWO/uDvAjLFMEDU+zR901waBtMtjQ==",
|
||||
"_location": "/@ant-design/colors",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "@ant-design/colors@^3.1.0",
|
||||
"name": "@ant-design/colors",
|
||||
"escapedName": "@ant-design%2fcolors",
|
||||
"scope": "@ant-design",
|
||||
"rawSpec": "^3.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^3.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@ant-design/icons"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-3.2.2.tgz",
|
||||
"_shasum": "5ad43d619e911f3488ebac303d606e66a8423903",
|
||||
"_spec": "@ant-design/colors@^3.1.0",
|
||||
"_where": "/Users/thilina/TestProjects/icehrm-pro/web/node_modules/@ant-design/icons",
|
||||
"author": {
|
||||
"name": "afc163",
|
||||
"email": "afc163@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/ant-design/ant-design-colors/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"tinycolor2": "^1.4.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Color palettes calculator of Ant Design",
|
||||
"devDependencies": {
|
||||
"@types/jest": "^24.0.11",
|
||||
"@types/tinycolor2": "^1.4.1",
|
||||
"@typescript-eslint/eslint-plugin": "^2.0.0",
|
||||
"@typescript-eslint/parser": "^2.0.0",
|
||||
"coveralls": "^3.0.3",
|
||||
"eslint": "^6.0.0",
|
||||
"eslint-config-prettier": "^6.0.0",
|
||||
"eslint-plugin-prettier": "^3.0.1",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-typescript": "^5.0.1",
|
||||
"jest": "^24.7.1",
|
||||
"prettier": "^1.16.4",
|
||||
"ts-jest": "^24.0.2",
|
||||
"typescript": "^3.4.2"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
"homepage": "https://github.com/ant-design/ant-design-colors#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/index.js",
|
||||
"name": "@ant-design/colors",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ant-design/ant-design-colors.git"
|
||||
},
|
||||
"scripts": {
|
||||
"compile": "gulp",
|
||||
"jest": "jest --coverage && cat ./coverage/lcov.info | coveralls",
|
||||
"lint": "eslint src --ext .ts",
|
||||
"lint:fix": "prettier --write '{src,tests}/**/*.ts'",
|
||||
"prepublishOnly": "npm run compile",
|
||||
"test": "npm run tsc && npm run lint && npm run jest",
|
||||
"tsc": "tsc"
|
||||
},
|
||||
"version": "3.2.2"
|
||||
}
|
||||
+123
@@ -0,0 +1,123 @@
|
||||
<h1 align="center">
|
||||
Ant Design Icons
|
||||
</h1>
|
||||
|
||||
<p align="center">
|
||||
⭐ The abstract node of the Ant Design SVG icons.
|
||||
</p>
|
||||
|
||||
<div align="center">
|
||||
|
||||
[](https://npmjs.org/package/@ant-design/icons-svg)
|
||||
[](https://npmjs.org/package/@ant-design/icons-svg)
|
||||
|
||||
</div>
|
||||
|
||||
Check [all icons list](./docs/list.md).
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
yarn add @ant-design/icons-svg
|
||||
|
||||
# or use npm
|
||||
npm install @ant-design/icons --save
|
||||
```
|
||||
|
||||
## Use Library Adapter
|
||||
|
||||
- React: See [@ant-design/icons](../icons-react) to learn about detail usage.
|
||||
|
||||
## Basic Usage
|
||||
|
||||
```ts
|
||||
import { AccountBookOutline } from '@ant-design/icons-svg';
|
||||
// or
|
||||
// import AccountBookOutline from '@ant-design/icons-svg/es/AccountBookOutline';
|
||||
|
||||
console.log(AccountBookOutline);
|
||||
// ==>
|
||||
// {
|
||||
// name: 'account-book',
|
||||
// theme: 'outline',
|
||||
// icon: {
|
||||
// tag: 'svg',
|
||||
// attrs: {
|
||||
// viewBox: '64 64 896 896',
|
||||
// focusable: 'false'
|
||||
// },
|
||||
// children: [
|
||||
// {
|
||||
// tag: 'path',
|
||||
// attrs: {
|
||||
// d:
|
||||
// 'M880 184H712v-64c0-4.4-3.6-8-8-8h- ...'
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
// };
|
||||
```
|
||||
|
||||
- Interfaces
|
||||
|
||||
This library export all SVG files as `IconDefinition`.
|
||||
|
||||
```ts
|
||||
// types.d.ts
|
||||
export type ThemeType = 'fill' | 'outline' | 'twotone';
|
||||
|
||||
export interface IconDefinition {
|
||||
name: string; // kebab-case-style
|
||||
theme: ThemeType;
|
||||
icon:
|
||||
| ((primaryColor: string, secondaryColor: string) => AbstractNode)
|
||||
| AbstractNode;
|
||||
}
|
||||
|
||||
export interface AbstractNode {
|
||||
tag: string;
|
||||
attrs: {
|
||||
[key: string]: string;
|
||||
};
|
||||
children?: AbstractNode[];
|
||||
}
|
||||
```
|
||||
|
||||
## Render Helpers
|
||||
```ts
|
||||
import { AccountBookFill } from '@ant-design/icons-svg';
|
||||
import { renderIconDefinitionToSVGElement } from '@ant-design/icons-svg/es/helpers';
|
||||
|
||||
const svgHTMLString = renderIconDefinitionToSVGElement(
|
||||
AccountBookFill,
|
||||
{ extraSVGAttrs: { width: '1em', height: '1em', fill: 'currentColor' } }
|
||||
);
|
||||
|
||||
console.log(svgHTMLString);
|
||||
// ==>
|
||||
// '<svg viewBox="64 64 896 896" width="1em" height="1em" fill="currentColor"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 0 1 8.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z" /></svg>'
|
||||
```
|
||||
|
||||
- Interfaces
|
||||
|
||||
```ts
|
||||
declare function renderIconDefinitionToSVGElement(icon: IconDefinition, options?: HelperRenderOptions): string;
|
||||
|
||||
interface HelperRenderOptions {
|
||||
placeholders?: {
|
||||
primaryColor?: string; // default #333
|
||||
secondaryColor?: string; // default #E6E6E6
|
||||
};
|
||||
extraSVGAttrs?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Build Project
|
||||
```bash
|
||||
npm run generate # Generate files to ./src
|
||||
npm run build # Build library
|
||||
npm run test # Runing Test
|
||||
```
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AccountBookFilled: IconDefinition;
|
||||
export default AccountBookFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AccountBookFilled = { "name": "account-book", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z" } }] } };
|
||||
export default AccountBookFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AccountBookOutlined: IconDefinition;
|
||||
export default AccountBookOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AccountBookOutlined = { "name": "account-book", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z" } }] } };
|
||||
export default AccountBookOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AccountBookTwoTone: IconDefinition;
|
||||
export default AccountBookTwoTone;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AccountBookTwoTone = { "name": "account-book", "theme": "twotone", "icon": function (primaryColor, secondaryColor) {
|
||||
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 017.1 4.4l73.4 145.4h2.8l73.4-145.4c1.3-2.7 4.1-4.4 7.1-4.4h45c4.5 0 8 3.6 7.9 8 0 1.3-.4 2.6-1 3.8z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z", "fill": primaryColor } }, { "tag": "path", "attrs": { "d": "M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z", "fill": primaryColor } }] };
|
||||
} };
|
||||
export default AccountBookTwoTone;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AimOutlined: IconDefinition;
|
||||
export default AimOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AimOutlined = { "name": "aim", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z" } }, { "tag": "path", "attrs": { "d": "M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z" } }] } };
|
||||
export default AimOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlertFilled: IconDefinition;
|
||||
export default AlertFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlertFilled = { "name": "alert", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 244c176.18 0 319 142.82 319 319v233a32 32 0 01-32 32H225a32 32 0 01-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 018 8v96a8 8 0 01-8 8h-56a8 8 0 01-8-8V76a8 8 0 018-8zM177.25 191.66a8 8 0 0111.32 0l67.88 67.88a8 8 0 010 11.31l-39.6 39.6a8 8 0 01-11.31 0l-67.88-67.88a8 8 0 010-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 010 11.3l-67.88 67.9a8 8 0 01-11.32 0l-39.6-39.6a8 8 0 010-11.32l67.89-67.88a8 8 0 0111.31 0zM192 892h640a32 32 0 0132 32v24a8 8 0 01-8 8H168a8 8 0 01-8-8v-24a32 32 0 0132-32zm148-317v253h64V575h-64z" } }] } };
|
||||
export default AlertFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlertOutlined: IconDefinition;
|
||||
export default AlertOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlertOutlined = { "name": "alert", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z" } }] } };
|
||||
export default AlertOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlertTwoTone: IconDefinition;
|
||||
export default AlertTwoTone;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlertTwoTone = { "name": "alert", "theme": "twotone", "icon": function (primaryColor, secondaryColor) {
|
||||
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z", "fill": primaryColor } }] };
|
||||
} };
|
||||
export default AlertTwoTone;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlibabaOutlined: IconDefinition;
|
||||
export default AlibabaOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlibabaOutlined = { "name": "alibaba", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M602.9 669.8c-37.2 2.6-33.6-17.3-11.5-46.2 50.4-67.2 143.7-158.5 147.9-225.2 5.8-86.6-81.3-113.4-171-113.4-62.4 1.6-127 18.9-171 34.6-151.6 53.5-246.6 137.5-306.9 232-62.4 93.4-43 183.2 91.8 185.8 101.8-4.2 170.5-32.5 239.7-68.2.5 0-192.5 55.1-263.9 14.7-7.9-4.2-15.7-10-17.8-26.2 0-33.1 54.6-67.7 86.6-78.7v-56.7c64.5 22.6 140.6 16.3 205.7-32 2.1 5.8 4.2 13.1 3.7 21h11c2.6-22.6-12.6-44.6-37.8-46.2 7.3 5.8 12.6 10.5 15.2 14.7l-1 1-.5.5c-83.9 58.8-165.3 31.5-173.1 29.9l46.7-45.7-13.1-33.1c92.9-32.5 169.5-56.2 296.9-78.7l-28.5-23 14.7-8.9c75.5 21 126.4 36.7 123.8 76.6-1 6.8-3.7 14.7-7.9 23.1C660.1 466.1 594 538 567.2 569c-17.3 20.5-34.6 39.4-46.7 58.3-13.6 19.4-20.5 37.3-21 53.5 2.6 131.8 391.4-61.9 468-112.9-111.7 47.8-232.9 93.5-364.6 101.9zm85-302.9c2.8 5.2 4.1 11.6 4.1 19.1-.1-6.8-1.4-13.3-4.1-19.1z" } }] } };
|
||||
export default AlibabaOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlignCenterOutlined: IconDefinition;
|
||||
export default AlignCenterOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlignCenterOutlined = { "name": "align-center", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" } }] } };
|
||||
export default AlignCenterOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlignLeftOutlined: IconDefinition;
|
||||
export default AlignLeftOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlignLeftOutlined = { "name": "align-left", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" } }] } };
|
||||
export default AlignLeftOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlignRightOutlined: IconDefinition;
|
||||
export default AlignRightOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlignRightOutlined = { "name": "align-right", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" } }] } };
|
||||
export default AlignRightOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlipayCircleFilled: IconDefinition;
|
||||
export default AlipayCircleFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlipayCircleFilled = { "name": "alipay-circle", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zm460.5 67c100.1 33.4 154.7 43 166.7 44.8A445.9 445.9 0 00960 512c0-247.4-200.6-448-448-448S64 264.6 64 512s200.6 448 448 448c155.9 0 293.2-79.7 373.5-200.5-75.6-29.8-213.6-85-286.8-120.1-69.9 85.7-160.1 137.8-253.7 137.8-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9z" } }] } };
|
||||
export default AlipayCircleFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlipayCircleOutlined: IconDefinition;
|
||||
export default AlipayCircleOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlipayCircleOutlined = { "name": "alipay-circle", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zm460.5 67c100.1 33.4 154.7 43 166.7 44.8A445.9 445.9 0 00960 512c0-247.4-200.6-448-448-448S64 264.6 64 512s200.6 448 448 448c155.9 0 293.2-79.7 373.5-200.5-75.6-29.8-213.6-85-286.8-120.1-69.9 85.7-160.1 137.8-253.7 137.8-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9z" } }] } };
|
||||
export default AlipayCircleOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlipayOutlined: IconDefinition;
|
||||
export default AlipayOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlipayOutlined = { "name": "alipay", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M789 610.3c-38.7-12.9-90.7-32.7-148.5-53.6 34.8-60.3 62.5-129 80.7-203.6H530.5v-68.6h233.6v-38.3H530.5V132h-95.4c-16.7 0-16.7 16.5-16.7 16.5v97.8H182.2v38.3h236.3v68.6H223.4v38.3h378.4a667.18 667.18 0 01-54.5 132.9c-122.8-40.4-253.8-73.2-336.1-53-52.6 13-86.5 36.1-106.5 60.3-91.4 111-25.9 279.6 167.2 279.6C386 811.2 496 747.6 581.2 643 708.3 704 960 808.7 960 808.7V659.4s-31.6-2.5-171-49.1zM253.9 746.6c-150.5 0-195-118.3-120.6-183.1 24.8-21.9 70.2-32.6 94.4-35 89.4-8.8 172.2 25.2 269.9 72.8-68.8 89.5-156.3 145.3-243.7 145.3z" } }] } };
|
||||
export default AlipayOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AlipaySquareFilled: IconDefinition;
|
||||
export default AlipaySquareFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AlipaySquareFilled = { "name": "alipay-square", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm29.4 663.2S703 689.4 598.7 639.5C528.8 725.2 438.6 777.3 345 777.3c-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9 114.3 38.2 140.2 40.2 140.2 40.2v122.3z" } }] } };
|
||||
export default AlipaySquareFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AliwangwangFilled: IconDefinition;
|
||||
export default AliwangwangFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AliwangwangFilled = { "name": "aliwangwang", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-325.2 79c0 20.4-16.6 37.1-37.1 37.1-20.4 0-37.1-16.7-37.1-37.1v-55.1c0-20.4 16.6-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1zm175.2 0c0 20.4-16.6 37.1-37.1 37.1S644 476.8 644 456.4v-55.1c0-20.4 16.7-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1z" } }] } };
|
||||
export default AliwangwangFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AliwangwangOutlined: IconDefinition;
|
||||
export default AliwangwangOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AliwangwangOutlined = { "name": "aliwangwang", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z" } }] } };
|
||||
export default AliwangwangOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AliyunOutlined: IconDefinition;
|
||||
export default AliyunOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AliyunOutlined = { "name": "aliyun", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M959.2 383.9c-.3-82.1-66.9-148.6-149.1-148.6H575.9l21.6 85.2 201 43.7a42.58 42.58 0 0132.9 39.7c.1.5.1 216.1 0 216.6a42.58 42.58 0 01-32.9 39.7l-201 43.7-21.6 85.3h234.2c82.1 0 148.8-66.5 149.1-148.6V383.9zM225.5 660.4a42.58 42.58 0 01-32.9-39.7c-.1-.6-.1-216.1 0-216.6.8-19.4 14.6-35.5 32.9-39.7l201-43.7 21.6-85.2H213.8c-82.1 0-148.8 66.4-149.1 148.6V641c.3 82.1 67 148.6 149.1 148.6H448l-21.6-85.3-200.9-43.9zm200.9-158.8h171v21.3h-171z" } }] } };
|
||||
export default AliyunOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AmazonCircleFilled: IconDefinition;
|
||||
export default AmazonCircleFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AmazonCircleFilled = { "name": "amazon-circle", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm35.8 262.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9 4.7-12.2 11.8-23.9 21.4-35 9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7z" } }] } };
|
||||
export default AmazonCircleFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AmazonOutlined: IconDefinition;
|
||||
export default AmazonOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AmazonOutlined = { "name": "amazon", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385.2 842.6 266 790.3c-33.1-14.6-79.1-39.2-138-74a9.36 9.36 0 00-5.3-2c-2-.1-3.7.1-5.3.9-1.6.8-2.8 1.8-3.7 3.1-.9 1.3-1.1 3.1-.4 5.4.6 2.2 2.1 4.7 4.6 7.4 10.4 12.2 23.3 25.2 38.6 39s35.6 29.4 60.9 46.8c25.3 17.4 51.8 32.9 79.3 46.4 27.6 13.5 59.6 24.9 96.1 34.1s73 13.8 109.4 13.8c36.2 0 71.4-3.7 105.5-10.9 34.2-7.3 63-15.9 86.5-25.9 23.4-9.9 45-21 64.8-33 19.8-12 34.4-22.2 43.9-30.3 9.5-8.2 16.3-14.6 20.2-19.4 4.6-5.7 6.9-10.6 6.9-14.9.1-4.5-1.7-7.1-5-7.9zM527.4 348.1c-15.2 1.3-33.5 4.1-55 8.3-21.5 4.1-41.4 9.3-59.8 15.4s-37.2 14.6-56.3 25.4c-19.2 10.8-35.5 23.2-49 37s-24.5 31.1-33.1 52c-8.6 20.8-12.9 43.7-12.9 68.7 0 27.1 4.7 51.2 14.3 72.5 9.5 21.3 22.2 38 38.2 50.4 15.9 12.4 34 22.1 54 29.2 20 7.1 41.2 10.3 63.2 9.4 22-.9 43.5-4.3 64.4-10.3 20.8-5.9 40.4-15.4 58.6-28.3 18.2-12.9 33.1-28.2 44.8-45.7 4.3 6.6 8.1 11.5 11.5 14.7l8.7 8.9c5.8 5.9 14.7 14.6 26.7 26.1 11.9 11.5 24.1 22.7 36.3 33.7l104.4-99.9-6-4.9c-4.3-3.3-9.4-8-15.2-14.3-5.8-6.2-11.6-13.1-17.2-20.5-5.7-7.4-10.6-16.1-14.7-25.9-4.1-9.8-6.2-19.3-6.2-28.5V258.7c0-10.1-1.9-21-5.7-32.8-3.9-11.7-10.7-24.5-20.7-38.3-10-13.8-22.4-26.2-37.2-37-14.9-10.8-34.7-20-59.6-27.4-24.8-7.4-52.6-11.1-83.2-11.1-31.3 0-60.4 3.7-87.6 10.9-27.1 7.3-50.3 17-69.7 29.2-19.3 12.2-35.9 26.3-49.7 42.4-13.8 16.1-24.1 32.9-30.8 50.4-6.7 17.5-10.1 35.2-10.1 53.1L408 310c5.5-16.4 12.9-30.6 22-42.8 9.2-12.2 17.9-21 25.8-26.5 8-5.5 16.6-9.9 25.7-13.2 9.2-3.3 15.4-5 18.6-5.4 3.2-.3 5.7-.4 7.6-.4 26.7 0 45.2 7.9 55.6 23.6 6.5 9.5 9.7 23.9 9.7 43.3v56.6c-15.2.6-30.4 1.6-45.6 2.9zM573.1 500c0 16.6-2.2 31.7-6.5 45-9.2 29.1-26.7 47.4-52.4 54.8-22.4 6.6-43.7 3.3-63.9-9.8-21.5-14-32.2-33.8-32.2-59.3 0-19.9 5-36.9 15-51.1 10-14.1 23.3-24.7 40-31.7s33-12 49-14.9c15.9-3 33-4.8 51-5.4V500zm335.2 218.9c-4.3-5.4-15.9-8.9-34.9-10.7-19-1.8-35.5-1.7-49.7.4-15.3 1.8-31.1 6.2-47.3 13.4-16.3 7.1-23.4 13.1-21.6 17.8l.7 1.3.9.7 1.4.2h4.6c.8 0 1.8-.1 3.2-.2 1.4-.1 2.7-.3 3.9-.4 1.2-.1 2.9-.3 5.1-.4 2.1-.1 4.1-.4 6-.7.3 0 3.7-.3 10.3-.9 6.6-.6 11.4-1 14.3-1.3 2.9-.3 7.8-.6 14.5-.9 6.7-.3 12.1-.3 16.1 0 4 .3 8.5.7 13.6 1.1 5.1.4 9.2 1.3 12.4 2.7 3.2 1.3 5.6 3 7.1 5.1 5.2 6.6 4.2 21.2-3 43.9s-14 40.8-20.4 54.2c-2.8 5.7-2.8 9.2 0 10.7s6.7.1 11.9-4c15.6-12.2 28.6-30.6 39.1-55.3 6.1-14.6 10.5-29.8 13.1-45.7 2.4-15.9 2-26.2-1.3-31z" } }] } };
|
||||
export default AmazonOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AmazonSquareFilled: IconDefinition;
|
||||
export default AmazonSquareFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AmazonSquareFilled = { "name": "amazon-square", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM547.8 326.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9s11.8-23.9 21.4-35c9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7zM485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4z" } }] } };
|
||||
export default AmazonSquareFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AndroidFilled: IconDefinition;
|
||||
export default AndroidFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AndroidFilled = { "name": "android", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm208.4 0a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z" } }] } };
|
||||
export default AndroidFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AndroidOutlined: IconDefinition;
|
||||
export default AndroidOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AndroidOutlined = { "name": "android", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z" } }] } };
|
||||
export default AndroidOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AntCloudOutlined: IconDefinition;
|
||||
export default AntCloudOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AntCloudOutlined = { "name": "ant-cloud", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M378.9 738c-3.1 0-6.1-.5-8.8-1.5l4.4 30.7h26.3l-15.5-29.9c-2.1.5-4.2.7-6.4.7zm421-291.2c-12.6 0-24.8 1.5-36.5 4.2-21.4-38.4-62.3-64.3-109.3-64.3-6.9 0-13.6.6-20.2 1.6-35.4-77.4-113.4-131.1-203.9-131.1-112.3 0-205.3 82.6-221.6 190.4C127.3 455.5 64 523.8 64 607c0 88.4 71.6 160.1 160 160.2h50l13.2-27.6c-26.2-8.3-43.3-29-39.1-48.8 4.6-21.6 32.8-33.9 63.1-27.5 22.9 4.9 40.4 19.1 45.5 35.1a26.1 26.1 0 0122.1-12.4h.2c-.8-3.2-1.2-6.5-1.2-9.9 0-20.1 14.8-36.7 34.1-39.6v-25.4c0-4.4 3.6-8 8-8s8 3.6 8 8v26.3c4.6 1.2 8.8 3.2 12.6 5.8l19.5-21.4c3-3.3 8-3.5 11.3-.5 3.3 3 3.5 8 .5 11.3l-20 22-.2.2a40 40 0 01-46.9 59.2c-.4 5.6-2.6 10.7-6 14.8l20 38.4H804v-.1c86.5-2.2 156-73 156-160.1 0-88.5-71.7-160.2-160.1-160.2zM338.2 737.2l-4.3 30h24.4l-5.9-41.5c-3.5 4.6-8.3 8.5-14.2 11.5zM797.5 305a48 48 0 1096 0 48 48 0 10-96 0zm-65.7 61.3a24 24 0 1048 0 24 24 0 10-48 0zM303.4 742.9l-11.6 24.3h26l3.5-24.7c-5.7.8-11.7 1-17.9.4z" } }] } };
|
||||
export default AntCloudOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AntDesignOutlined: IconDefinition;
|
||||
export default AntDesignOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AntDesignOutlined = { "name": "ant-design", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z" } }] } };
|
||||
export default AntDesignOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const ApartmentOutlined: IconDefinition;
|
||||
export default ApartmentOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var ApartmentOutlined = { "name": "apartment", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z" } }] } };
|
||||
export default ApartmentOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const ApiFilled: IconDefinition;
|
||||
export default ApiFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var ApiFilled = { "name": "api", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z" } }] } };
|
||||
export default ApiFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const ApiOutlined: IconDefinition;
|
||||
export default ApiOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var ApiOutlined = { "name": "api", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z" } }] } };
|
||||
export default ApiOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const ApiTwoTone: IconDefinition;
|
||||
export default ApiTwoTone;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var ApiTwoTone = { "name": "api", "theme": "twotone", "icon": function (primaryColor, secondaryColor) {
|
||||
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z", "fill": primaryColor } }] };
|
||||
} };
|
||||
export default ApiTwoTone;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AppleFilled: IconDefinition;
|
||||
export default AppleFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AppleFilled = { "name": "apple", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z" } }] } };
|
||||
export default AppleFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AppleOutlined: IconDefinition;
|
||||
export default AppleOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AppleOutlined = { "name": "apple", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z" } }] } };
|
||||
export default AppleOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AppstoreAddOutlined: IconDefinition;
|
||||
export default AppstoreAddOutlined;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AppstoreAddOutlined = { "name": "appstore-add", "theme": "outlined", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }] } };
|
||||
export default AppstoreAddOutlined;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AppstoreFilled: IconDefinition;
|
||||
export default AppstoreFilled;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// This icon file is generated automatically.
|
||||
// tslint:disable
|
||||
var AppstoreFilled = { "name": "appstore", "theme": "filled", "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z" } }] } };
|
||||
export default AppstoreFilled;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { IconDefinition } from '../types';
|
||||
declare const AppstoreOutlined: IconDefinition;
|
||||
export default AppstoreOutlined;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user