mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentral-ui-libs.git
synced 2025-10-29 18:02:21 +00:00
Package.json fix
This commit is contained in:
@@ -13,11 +13,12 @@
|
||||
"no-return-assign": ["off"],
|
||||
"react/jsx-props-no-spreading": ["off"],
|
||||
"react/destructuring-assignment": ["off"],
|
||||
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
|
||||
"no-restricted-syntax": ["error", "ForInStatement", "WithStatement"],
|
||||
"react/jsx-one-expression-per-line": "off",
|
||||
"react/jsx-wrap-multilines": "off",
|
||||
"react/jsx-curly-newline": "off",
|
||||
"no-underscore-dangle": "off"
|
||||
"no-underscore-dangle": "off",
|
||||
"no-labels": "off"
|
||||
},
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
|
||||
3045
package-lock.json
generated
3045
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ucentral-libs",
|
||||
"version": "0.9.73",
|
||||
"version": "0.9.74",
|
||||
"main": "dist/index.js",
|
||||
"source": "src/index.js",
|
||||
"engines": {
|
||||
@@ -33,7 +33,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"format": "prettier --write 'src/**/*{.js,.scss}'",
|
||||
"build": "NODE_ENV=production webpack --mode production",
|
||||
"build": "set NODE_ENV=production && webpack --mode production",
|
||||
"eslint": "eslint 'src/**/*.js'",
|
||||
"fix": "eslint --fix 'src/**/*.js'"
|
||||
},
|
||||
|
||||
@@ -369,7 +369,7 @@ AddContactForm.propTypes = {
|
||||
fields: PropTypes.instanceOf(Object).isRequired,
|
||||
updateField: PropTypes.func.isRequired,
|
||||
updateFieldWithKey: PropTypes.func.isRequired,
|
||||
entities: PropTypes.instanceOf(Array).isRequired,
|
||||
entities: PropTypes.instanceOf(Array),
|
||||
};
|
||||
|
||||
AddContactForm.defaultProps = {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import Select, { components } from 'react-select';
|
||||
import { checkIfJson } from '../../utils/formatting';
|
||||
import { checkIfJson } from 'utils/formatting';
|
||||
import _ from 'lodash';
|
||||
import formatGoogleAddress from 'utils/formatGoogleAddress';
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ const ContactTable = ({
|
||||
entity,
|
||||
filterOnEntity,
|
||||
contacts,
|
||||
unassign,
|
||||
assignToEntity,
|
||||
toggleEditModal,
|
||||
deleteContact,
|
||||
@@ -156,7 +155,6 @@ ContactTable.propTypes = {
|
||||
entity: PropTypes.instanceOf(Object),
|
||||
filterOnEntity: PropTypes.bool,
|
||||
contacts: PropTypes.instanceOf(Array).isRequired,
|
||||
unassign: PropTypes.func.isRequired,
|
||||
assignToEntity: PropTypes.func.isRequired,
|
||||
toggleEditModal: PropTypes.func.isRequired,
|
||||
deleteContact: PropTypes.func.isRequired,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
|
||||
@@ -124,7 +124,8 @@ const EditLocationForm = ({ t, disable, fields, updateField, updateFieldWithKey,
|
||||
disabled={disable}
|
||||
maxLength="50"
|
||||
/>
|
||||
</CCol><CLabel className="mb-3" sm="2" col htmlFor="phones">
|
||||
</CCol>
|
||||
<CLabel className="mb-3" sm="2" col htmlFor="phones">
|
||||
Landlines
|
||||
</CLabel>
|
||||
<CCol sm="4">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ const LocationTable = ({
|
||||
entity,
|
||||
filterOnEntity,
|
||||
locations,
|
||||
unassign,
|
||||
assignToEntity,
|
||||
toggleEditModal,
|
||||
deleteLocation,
|
||||
@@ -156,7 +155,6 @@ LocationTable.propTypes = {
|
||||
entity: PropTypes.instanceOf(Object),
|
||||
filterOnEntity: PropTypes.bool,
|
||||
locations: PropTypes.instanceOf(Array).isRequired,
|
||||
unassign: PropTypes.func.isRequired,
|
||||
assignToEntity: PropTypes.func.isRequired,
|
||||
toggleEditModal: PropTypes.func.isRequired,
|
||||
deleteLocation: PropTypes.func.isRequired,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
border-color: #321fdb !important;
|
||||
font-size: 0.875rem !important;
|
||||
font-weight: 400 !important;
|
||||
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user